QUDA
1.0.0
lib
copy_gauge_half.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
copyGenericGaugeHalfOut
(
GaugeField
&
out
,
const
GaugeField
&
in
,
QudaFieldLocation
location,
void
*Out,
void
*In,
6
void
**ghostOut,
void
**ghostIn,
int
type)
7
{
8
#if QUDA_PRECISION & 2
9
copyGenericGauge<short>(
out
,
in
, location, Out, In, ghostOut, ghostIn, type);
10
#else
11
errorQuda
(
"QUDA_PRECISION=%d does not enable half 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
quda::copyGenericGaugeHalfOut
void copyGenericGaugeHalfOut(GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out, void *In, void **ghostOut, void **ghostIn, int type)
Definition:
copy_gauge_half.cu: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::GaugeField
Definition:
gauge_field.h:164
Generated by
1.8.13