QUDA  v1.1.0
A library for QCD on GPUs
copy_color_spinor_sh.cu
Go to the documentation of this file.
1 #include <copy_color_spinor.cuh>
2 
3 namespace quda {
4 
5  void copyGenericColorSpinorSH(ColorSpinorField &dst, const ColorSpinorField &src,
6  QudaFieldLocation location, void *Dst, void *Src,
7  void *dstNorm, void *srcNorm) {
8 #if (QUDA_PRECISION & 4) && (QUDA_PRECISION & 2)
9  CopyGenericColorSpinor<3>(dst, src, location, (float*)Dst, (short*)Src, 0, (float*)srcNorm);
10 #else
11  errorQuda("QUDA_PRECISION=%d does not enable precision combination %d %d", QUDA_PRECISION, dst.Precision(), src.Precision());
12 #endif
13  }
14 
15 } // namespace quda