QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
copy_gauge_single.cu
Go to the documentation of this file.
1 #include "copy_gauge_inc.cu"
2 namespace quda {
3 
4  // this is the function that is actually called, from here on down we instantiate all required templates
5  void copyGenericGaugeSingleOut(GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out, void *In,
6  void **ghostOut, void **ghostIn, int type)
7  {
8 #if QUDA_PRECISION & 4
9  copyGenericGauge<float>(out, in, location, Out, In, ghostOut, ghostIn, type);
10 #else
11  errorQuda("QUDA_PRECISION=%d does not enable single precision", QUDA_PRECISION);
12 #endif
13  }
14 
15 } // namespace quda
#define errorQuda(...)
Definition: util_quda.h:121
cpuColorSpinorField * in
enum QudaFieldLocation_s QudaFieldLocation
cpuColorSpinorField * out
void copyGenericGaugeSingleOut(GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out, void *In, void **ghostOut, void **ghostIn, int type)