QUDA  v1.1.0
A library for QCD on GPUs
copy_color_spinor_qh.cu
Go to the documentation of this file.
1 #include <copy_color_spinor.cuh>
2 
3 namespace quda {
4 
5  void copyGenericColorSpinorQH(ColorSpinorField &dst, const ColorSpinorField &src,
6  QudaFieldLocation location, void *Dst, void *Src,
7  void *dstNorm, void *srcNorm) {
8 #if (QUDA_PRECISION & 2) && (QUDA_PRECISION & 1)
9  CopyGenericColorSpinor<3>(dst, src, location, (int8_t*)Dst, (short*)Src, (float*)dstNorm, (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