QUDA  v1.1.0
A library for QCD on GPUs
copy_color_spinor_mg_qh.cu
Go to the documentation of this file.
1 #include <copy_color_spinor_mg.cuh>
2 
3 namespace quda {
4 
5  void copyGenericColorSpinorMGQH(ColorSpinorField &dst, const ColorSpinorField &src,
6  QudaFieldLocation location, void *Dst, void *Src,
7  void *dstNorm, void *srcNorm) {
8 
9 #if defined(GPU_MULTIGRID) && (QUDA_PRECISION & 2) && (QUDA_PRECISION & 1)
10  auto *dst_ptr = static_cast<int8_t*>(Dst);
11  auto *src_ptr = static_cast<short*>(Src);
12 
13  INSTANTIATE_COLOR;
14 #else
15  errorQuda("Half and quarter precision have not been enabled");
16 #endif
17 
18  }
19 
20 } // namespace quda