QUDA
1.0.0
lib
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
copy_gauge_inc.cu
errorQuda
#define errorQuda(...)
Definition:
util_quda.h:121
quda
Definition:
blas_cublas.h:5
in
cpuColorSpinorField * in
Definition:
staggered_invert_test.cpp:98
QudaFieldLocation
enum QudaFieldLocation_s QudaFieldLocation
out
cpuColorSpinorField * out
Definition:
staggered_invert_test.cpp:99
quda::copyGenericGaugeSingleOut
void copyGenericGaugeSingleOut(GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out, void *In, void **ghostOut, void **ghostIn, int type)
Definition:
copy_gauge_single.cu:5
quda::GaugeField
Definition:
gauge_field.h:164
Generated by
1.8.13