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