QUDA
v0.7.0
A library for QCD on GPUs
|
#include <quda.h>
Go to the source code of this file.
Macros | |
#define | gaugeSiteSize 18 |
#define | spinorSiteSize 24 |
#define | cloverSiteSize 72 |
#define | momSiteSize 10 |
#define | hwSiteSize 12 |
Functions | |
void | initComms (int argc, char **argv, const int *commDims) |
void | finalizeComms () |
void | initRand () |
void | setDims (int *X) |
void | dw_setDims (int *X, const int L5) |
void | setSpinorSiteSize (int n) |
int | dimPartitioned (int dim) |
int | neighborIndex (int i, int oddBit, int dx4, int dx3, int dx2, int dx1) |
int | neighborIndexFullLattice (int i, int dx4, int dx3, int dx2, int dx1) |
int | neighborIndex (int dim[], int index, int oddBit, int dx[]) |
int | neighborIndexFullLattice (int dim[], int index, int dx[]) |
int | neighborIndex_mg (int i, int oddBit, int dx4, int dx3, int dx2, int dx1) |
int | neighborIndexFullLattice_mg (int i, int dx4, int dx3, int dx2, int dx1) |
void | printSpinorElement (void *spinor, int X, QudaPrecision precision) |
void | printGaugeElement (void *gauge, int X, QudaPrecision precision) |
int | fullLatticeIndex (int i, int oddBit) |
int | fullLatticeIndex (int dim[], int index, int oddBit) |
int | getOddBit (int X) |
void | construct_gauge_field (void **gauge, int type, QudaPrecision precision, QudaGaugeParam *param) |
void | construct_fat_long_gauge_field (void **fatlink, void **longlink, int type, QudaPrecision precision, QudaGaugeParam *, QudaDslashType dslash_type) |
void | construct_clover_field (void *clover, double norm, double diag, QudaPrecision precision) |
void | construct_spinor_field (void *spinor, int type, int i0, int s0, int c0, QudaPrecision precision) |
void | createSiteLinkCPU (void **link, QudaPrecision precision, int phase) |
void | su3_construct (void *mat, QudaReconstructType reconstruct, QudaPrecision precision) |
void | su3_reconstruct (void *mat, int dir, int ga_idx, QudaReconstructType reconstruct, QudaPrecision precision, QudaGaugeParam *param) |
void | compare_spinor (void *spinor_cpu, void *spinor_gpu, int len, QudaPrecision precision) |
void | strong_check (void *spinor, void *spinorGPU, int len, QudaPrecision precision) |
int | compare_floats (void *a, void *b, int len, double epsilon, QudaPrecision precision) |
void | check_gauge (void **, void **, double epsilon, QudaPrecision precision) |
int | strong_check_link (void **linkA, const char *msgA, void **linkB, const char *msgB, int len, QudaPrecision prec) |
int | strong_check_mom (void *momA, void *momB, int len, QudaPrecision prec) |
void | createMomCPU (void *mom, QudaPrecision precision) |
void | createHwCPU (void *hw, QudaPrecision precision) |
int | x4_from_full_index (int i) |
int | fullLatticeIndex_4d (int i, int oddBit) |
int | fullLatticeIndex_5d (int i, int oddBit) |
int | fullLatticeIndex_5d_4dpc (int i, int oddBit) |
int | process_command_line_option (int argc, char **argv, int *idx) |
void | stopwatchStart () |
double | stopwatchReadSeconds () |
Variables | |
int | Z [4] |
int | V |
int | Vh |
int | Vs_x |
int | Vs_y |
int | Vs_z |
int | Vs_t |
int | Vsh_x |
int | Vsh_y |
int | Vsh_z |
int | Vsh_t |
int | faceVolume [4] |
int | E1 |
int | E1h |
int | E2 |
int | E3 |
int | E4 |
int | E [4] |
int | V_ex |
int | Vh_ex |
int | Ls |
int | V5 |
int | V5h |
int | mySpinorSiteSize |
#define cloverSiteSize 72 |
Definition at line 8 of file test_util.h.
#define gaugeSiteSize 18 |
Definition at line 6 of file test_util.h.
#define hwSiteSize 12 |
Definition at line 10 of file test_util.h.
#define momSiteSize 10 |
Definition at line 9 of file test_util.h.
#define spinorSiteSize 24 |
Definition at line 7 of file test_util.h.
void check_gauge | ( | void ** | , |
void ** | , | ||
double | epsilon, | ||
QudaPrecision | precision | ||
) |
Definition at line 1156 of file test_util.cpp.
int compare_floats | ( | void * | a, |
void * | b, | ||
int | len, | ||
double | epsilon, | ||
QudaPrecision | precision | ||
) |
Definition at line 395 of file test_util.cpp.
void compare_spinor | ( | void * | spinor_cpu, |
void * | spinor_gpu, | ||
int | len, | ||
QudaPrecision | precision | ||
) |
void construct_clover_field | ( | void * | clover, |
double | norm, | ||
double | diag, | ||
QudaPrecision | precision | ||
) |
Definition at line 1103 of file test_util.cpp.
void construct_fat_long_gauge_field | ( | void ** | fatlink, |
void ** | longlink, | ||
int | type, | ||
QudaPrecision | precision, | ||
QudaGaugeParam * | , | ||
QudaDslashType | dslash_type | ||
) |
Definition at line 1018 of file test_util.cpp.
void construct_gauge_field | ( | void ** | gauge, |
int | type, | ||
QudaPrecision | precision, | ||
QudaGaugeParam * | param | ||
) |
Definition at line 1003 of file test_util.cpp.
void construct_spinor_field | ( | void * | spinor, |
int | type, | ||
int | i0, | ||
int | s0, | ||
int | c0, | ||
QudaPrecision | precision | ||
) |
void createHwCPU | ( | void * | hw, |
QudaPrecision | precision | ||
) |
Definition at line 1429 of file test_util.cpp.
void createMomCPU | ( | void * | mom, |
QudaPrecision | precision | ||
) |
Definition at line 1391 of file test_util.cpp.
void createSiteLinkCPU | ( | void ** | link, |
QudaPrecision | precision, | ||
int | phase | ||
) |
Definition at line 1166 of file test_util.cpp.
int dimPartitioned | ( | int | dim | ) |
Definition at line 1577 of file test_util.cpp.
void dw_setDims | ( | int * | X, |
const int | L5 | ||
) |
Definition at line 125 of file test_util.cpp.
void finalizeComms | ( | ) |
Definition at line 65 of file test_util.cpp.
int fullLatticeIndex | ( | int | i, |
int | oddBit | ||
) |
Definition at line 413 of file test_util.cpp.
int fullLatticeIndex | ( | int | dim[], |
int | index, | ||
int | oddBit | ||
) |
int fullLatticeIndex_4d | ( | int | i, |
int | oddBit | ||
) |
Definition at line 616 of file test_util.cpp.
int fullLatticeIndex_5d | ( | int | i, |
int | oddBit | ||
) |
Definition at line 650 of file test_util.cpp.
int fullLatticeIndex_5d_4dpc | ( | int | i, |
int | oddBit | ||
) |
Definition at line 655 of file test_util.cpp.
int getOddBit | ( | int | X | ) |
Definition at line 186 of file test_util.cpp.
void initComms | ( | int | argc, |
char ** | argv, | ||
const int * | commDims | ||
) |
Definition at line 48 of file test_util.cpp.
void initRand | ( | ) |
Definition at line 75 of file test_util.cpp.
int neighborIndex | ( | int | i, |
int | oddBit, | ||
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 450 of file test_util.cpp.
int neighborIndex | ( | int | dim[], |
int | index, | ||
int | oddBit, | ||
int | dx[] | ||
) |
int neighborIndex_mg | ( | int | i, |
int | oddBit, | ||
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 485 of file test_util.cpp.
int neighborIndexFullLattice | ( | int | i, |
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 521 of file test_util.cpp.
int neighborIndexFullLattice | ( | int | dim[], |
int | index, | ||
int | dx[] | ||
) |
int neighborIndexFullLattice_mg | ( | int | i, |
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 569 of file test_util.cpp.
void printGaugeElement | ( | void * | gauge, |
int | X, | ||
QudaPrecision | precision | ||
) |
Definition at line 170 of file test_util.cpp.
void printSpinorElement | ( | void * | spinor, |
int | X, | ||
QudaPrecision | precision | ||
) |
Definition at line 162 of file test_util.cpp.
int process_command_line_option | ( | int | argc, |
char ** | argv, | ||
int * | idx | ||
) |
Definition at line 1635 of file test_util.cpp.
void setDims | ( | int * | X | ) |
Definition at line 88 of file test_util.cpp.
void setSpinorSiteSize | ( | int | n | ) |
Definition at line 150 of file test_util.cpp.
double stopwatchReadSeconds | ( | ) |
Definition at line 2059 of file test_util.cpp.
void stopwatchStart | ( | ) |
Definition at line 2055 of file test_util.cpp.
void strong_check | ( | void * | spinor, |
void * | spinorGPU, | ||
int | len, | ||
QudaPrecision | precision | ||
) |
int strong_check_link | ( | void ** | linkA, |
const char * | msgA, | ||
void ** | linkB, | ||
const char * | msgB, | ||
int | len, | ||
QudaPrecision | prec | ||
) |
Definition at line 1365 of file test_util.cpp.
int strong_check_mom | ( | void * | momA, |
void * | momB, | ||
int | len, | ||
QudaPrecision | prec | ||
) |
Definition at line 1502 of file test_util.cpp.
void su3_construct | ( | void * | mat, |
QudaReconstructType | reconstruct, | ||
QudaPrecision | precision | ||
) |
Definition at line 261 of file test_util.cpp.
void su3_reconstruct | ( | void * | mat, |
int | dir, | ||
int | ga_idx, | ||
QudaReconstructType | reconstruct, | ||
QudaPrecision | precision, | ||
QudaGaugeParam * | param | ||
) |
Definition at line 351 of file test_util.cpp.
int x4_from_full_index | ( | int | i | ) |
Definition at line 661 of file test_util.cpp.
int E[4] |
Definition at line 133 of file hisq_paths_force_core.h.
int E1 |
Definition at line 197 of file dslash_constants.h.
int E1h |
Definition at line 197 of file dslash_constants.h.
int E2 |
Definition at line 197 of file dslash_constants.h.
int E3 |
Definition at line 197 of file dslash_constants.h.
int E4 |
Definition at line 197 of file dslash_constants.h.
int faceVolume[4] |
Definition at line 198 of file tm_ndeg_fused_exterior_dslash_core.h.
int Ls |
Definition at line 40 of file test_util.cpp.
int mySpinorSiteSize |
Definition at line 44 of file test_util.cpp.
int V |
Definition at line 29 of file test_util.cpp.
int V5 |
Definition at line 41 of file test_util.cpp.
int V5h |
Definition at line 42 of file test_util.cpp.
int V_ex |
Definition at line 38 of file test_util.cpp.
int Vh |
Definition at line 152 of file dslash_constants.h.
int Vh_ex |
Definition at line 198 of file dslash_constants.h.
int Vs_t |
Definition at line 31 of file test_util.cpp.
int Vs_x |
Definition at line 31 of file test_util.cpp.
int Vs_y |
Definition at line 31 of file test_util.cpp.
int Vs_z |
Definition at line 31 of file test_util.cpp.
int Vsh_t |
Definition at line 32 of file test_util.cpp.
int Vsh_x |
Definition at line 32 of file test_util.cpp.
int Vsh_y |
Definition at line 32 of file test_util.cpp.
int Vsh_z |
Definition at line 32 of file test_util.cpp.
int Z[4] |
Definition at line 28 of file test_util.cpp.