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