6 #define gaugeSiteSize 18 // real numbers per link
7 #define spinorSiteSize 24 // real numbers per spinor
8 #define cloverSiteSize 72 // real numbers per block-diagonal clover matrix
9 #define momSiteSize 10 // real numbers per momentum
10 #define hwSiteSize 12 // real numbers per half wilson
32 void initComms(
int argc,
char **argv,
const int *commDims);
102 #endif // _TEST_UTIL_H
QudaDslashType dslash_type
void construct_clover_field(void *clover, double norm, double diag, QudaPrecision precision)
void dw_setDims(int *X, const int L5)
void createHwCPU(void *hw, QudaPrecision precision)
int strong_check_mom(void *momA, void *momB, int len, QudaPrecision prec)
enum QudaPrecision_s QudaPrecision
__host__ __device__ ValueType norm(const complex< ValueType > &z)
Returns the magnitude of z squared.
void createSiteLinkCPU(void **link, QudaPrecision precision, int phase)
void strong_check(void *spinor, void *spinorGPU, int len, QudaPrecision precision)
void mat(void *out, void **fatlink, void **longlink, void *in, double kappa, int dagger_bit, QudaPrecision sPrecision, QudaPrecision gPrecision)
void printGaugeElement(void *gauge, int X, QudaPrecision precision)
void construct_fat_long_gauge_field(void **fatlink, void **longlink, int type, QudaPrecision precision, QudaGaugeParam *, QudaDslashType dslash_type)
int strong_check_link(void **linkA, const char *msgA, void **linkB, const char *msgB, int len, QudaPrecision prec)
cpuColorSpinorField * spinor
void printSpinorElement(void *spinor, int X, QudaPrecision precision)
int neighborIndex(int i, int oddBit, int dx4, int dx3, int dx2, int dx1)
void check_gauge(void **, void **, double epsilon, QudaPrecision precision)
void initComms(int argc, char **argv, const int *commDims)
void su3_reconstruct(void *mat, int dir, int ga_idx, QudaReconstructType reconstruct, QudaPrecision precision, QudaGaugeParam *param)
int fullLatticeIndex_5d(int i, int oddBit)
int x4_from_full_index(int i)
void construct_spinor_field(void *spinor, int type, int i0, int s0, int c0, QudaPrecision precision)
void construct_gauge_field(void **gauge, int type, QudaPrecision precision, QudaGaugeParam *param)
void compare_spinor(void *spinor_cpu, void *spinor_gpu, int len, QudaPrecision precision)
int fullLatticeIndex_4d(int i, int oddBit)
int neighborIndexFullLattice_mg(int i, int dx4, int dx3, int dx2, int dx1)
int neighborIndexFullLattice(int i, int dx4, int dx3, int dx2, int dx1)
int fullLatticeIndex_5d_4dpc(int i, int oddBit)
double stopwatchReadSeconds()
int neighborIndex_mg(int i, int oddBit, int dx4, int dx3, int dx2, int dx1)
enum QudaReconstructType_s QudaReconstructType
Main header file for the QUDA library.
void createMomCPU(void *mom, QudaPrecision precision)
int fullLatticeIndex(int i, int oddBit)
int process_command_line_option(int argc, char **argv, int *idx)
enum QudaDslashType_s QudaDslashType
int compare_floats(void *a, void *b, int len, double epsilon, QudaPrecision precision)
void su3_construct(void *mat, QudaReconstructType reconstruct, QudaPrecision precision)
void setSpinorSiteSize(int n)
int dimPartitioned(int dim)