|
QUDA v0.3.2
A library for QCD on GPUs
|
#include <complex>#include <stdlib.h>#include <stdio.h>#include <short.h>#include <wilson_dslash_reference.h>#include <test_util.h>Go to the source code of this file.
Defines | |
| #define | XUP 0 |
| #define | YUP 1 |
| #define | ZUP 2 |
| #define | TUP 3 |
Functions | |
| void | printSpinorElement (void *spinor, int X, QudaPrecision precision) |
| void | printGaugeElement (void *gauge, int X, QudaPrecision precision) |
| int | getOddBit (int Y) |
| template<typename Float > | |
| void | complexAddTo (Float *a, Float *b) |
| template<typename Float > | |
| void | complexProduct (Float *a, Float *b, Float *c) |
| template<typename Float > | |
| void | complexConjugateProduct (Float *a, Float *b, Float *c) |
| template<typename Float > | |
| void | complexDotProduct (Float *a, Float *b, Float *c) |
| template<typename Float > | |
| void | accumulateComplexProduct (Float *a, Float *b, Float *c, Float sign) |
| template<typename Float > | |
| void | accumulateComplexDotProduct (Float *a, Float *b, Float *c) |
| template<typename Float > | |
| void | accumulateConjugateProduct (Float *a, Float *b, Float *c, int sign) |
| template<typename Float > | |
| void | su3Construct12 (Float *mat) |
| template<typename Float > | |
| void | su3Construct8 (Float *mat) |
| 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) |
| int | compare_floats (void *a, void *b, int len, double epsilon, QudaPrecision precision) |
| int | fullLatticeIndex (int i, int oddBit) |
| 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 | fullLatticeIndex_4d (int i, int oddBit) |
| int | fullLatticeIndex_5d (int i, int oddBit) |
| template<typename Float > | |
| void | applyGaugeFieldScaling_long (Float **gauge, int Vh, QudaGaugeParam *param) |
| template<typename Float > | |
| void | constructUnitaryGaugeField (Float **res) |
| 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 *param) |
| void | construct_clover_field (void *clover, double norm, double diag, QudaPrecision precision) |
| void | check_gauge (void **oldG, void **newG, double epsilon, QudaPrecision precision) |
| void | createSiteLinkCPU (void *link, QudaPrecision precision, int phase) |
| template<typename Float > | |
| void | compareLink (Float *linkA, Float *linkB, int len) |
| void | strong_check_link (void *linkA, void *linkB, int len, QudaPrecision prec) |
| void | createMomCPU (void *mom, QudaPrecision precision) |
| void | createHwCPU (void *hw, QudaPrecision precision) |
| template<typename Float > | |
| void | compare_mom (Float *momA, Float *momB, int len) |
| void | strong_check_mom (void *momA, void *momB, int len, QudaPrecision prec) |
| #define TUP 3 |
Definition at line 13 of file test_util.cpp.
| #define XUP 0 |
Definition at line 10 of file test_util.cpp.
| #define YUP 1 |
Definition at line 11 of file test_util.cpp.
| #define ZUP 2 |
Definition at line 12 of file test_util.cpp.
| void accumulateComplexDotProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c | ||
| ) | [inline] |
Definition at line 92 of file test_util.cpp.
| void accumulateComplexProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c, | ||
| Float | sign | ||
| ) | [inline] |
Definition at line 85 of file test_util.cpp.
| void accumulateConjugateProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c, | ||
| int | sign | ||
| ) | [inline] |
Definition at line 98 of file test_util.cpp.
| void applyGaugeFieldScaling_long | ( | Float ** | gauge, |
| int | Vh, | ||
| QudaGaugeParam * | param | ||
| ) |
Definition at line 388 of file test_util.cpp.
| void check_gauge | ( | void ** | oldG, |
| void ** | newG, | ||
| double | epsilon, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 759 of file test_util.cpp.
| int compare_floats | ( | void * | a, |
| void * | b, | ||
| int | len, | ||
| double | epsilon, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 256 of file test_util.cpp.
| void compare_mom | ( | Float * | momA, |
| Float * | momB, | ||
| int | len | ||
| ) |
Definition at line 1060 of file test_util.cpp.
| void compareLink | ( | Float * | linkA, |
| Float * | linkB, | ||
| int | len | ||
| ) |
Definition at line 921 of file test_util.cpp.
| void complexAddTo | ( | Float * | a, |
| Float * | b | ||
| ) | [inline] |
Definition at line 57 of file test_util.cpp.
| void complexConjugateProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c | ||
| ) | [inline] |
Definition at line 71 of file test_util.cpp.
| void complexDotProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c | ||
| ) | [inline] |
Definition at line 78 of file test_util.cpp.
| void complexProduct | ( | Float * | a, |
| Float * | b, | ||
| Float * | c | ||
| ) | [inline] |
Definition at line 64 of file test_util.cpp.
| void construct_clover_field | ( | void * | clover, |
| double | norm, | ||
| double | diag, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 708 of file test_util.cpp.
| void construct_fat_long_gauge_field | ( | void ** | fatlink, |
| void ** | longlink, | ||
| int | type, | ||
| QudaPrecision | precision, | ||
| QudaGaugeParam * | param | ||
| ) |
Definition at line 665 of file test_util.cpp.
| void construct_gauge_field | ( | void ** | gauge, |
| int | type, | ||
| QudaPrecision | precision, | ||
| QudaGaugeParam * | param | ||
| ) |
Definition at line 654 of file test_util.cpp.
| void constructUnitaryGaugeField | ( | Float ** | res | ) |
Definition at line 595 of file test_util.cpp.
| void createHwCPU | ( | void * | hw, |
| QudaPrecision | precision | ||
| ) |
Definition at line 1035 of file test_util.cpp.
| void createMomCPU | ( | void * | mom, |
| QudaPrecision | precision | ||
| ) |
Definition at line 999 of file test_util.cpp.
| void createSiteLinkCPU | ( | void * | link, |
| QudaPrecision | precision, | ||
| int | phase | ||
| ) |
Definition at line 768 of file test_util.cpp.
| int fullLatticeIndex | ( | int | i, |
| int | oddBit | ||
| ) |
Definition at line 265 of file test_util.cpp.
| int fullLatticeIndex_4d | ( | int | i, |
| int | oddBit | ||
| ) |
Definition at line 331 of file test_util.cpp.
| int fullLatticeIndex_5d | ( | int | i, |
| int | oddBit | ||
| ) |
Definition at line 344 of file test_util.cpp.
| int getOddBit | ( | int | Y | ) |
Definition at line 47 of file test_util.cpp.
| int neighborIndex | ( | int | i, |
| int | oddBit, | ||
| int | dx4, | ||
| int | dx3, | ||
| int | dx2, | ||
| int | dx1 | ||
| ) |
Definition at line 281 of file test_util.cpp.
| int neighborIndexFullLattice | ( | int | i, |
| int | dx4, | ||
| int | dx3, | ||
| int | dx2, | ||
| int | dx1 | ||
| ) |
Definition at line 304 of file test_util.cpp.
| void printGaugeElement | ( | void * | gauge, |
| int | X, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 31 of file test_util.cpp.
| void printSpinorElement | ( | void * | spinor, |
| int | X, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 23 of file test_util.cpp.
| void strong_check_link | ( | void * | linkA, |
| void * | linkB, | ||
| int | len, | ||
| QudaPrecision | prec | ||
| ) |
Definition at line 975 of file test_util.cpp.
| void strong_check_mom | ( | void * | momA, |
| void * | momB, | ||
| int | len, | ||
| QudaPrecision | prec | ||
| ) |
Definition at line 1100 of file test_util.cpp.
| void su3_construct | ( | void * | mat, |
| QudaReconstructType | reconstruct, | ||
| QudaPrecision | precision | ||
| ) |
Definition at line 122 of file test_util.cpp.
| void su3_reconstruct | ( | void * | mat, |
| int | dir, | ||
| int | ga_idx, | ||
| QudaReconstructType | reconstruct, | ||
| QudaPrecision | precision, | ||
| QudaGaugeParam * | param | ||
| ) |
Definition at line 212 of file test_util.cpp.
| void su3Construct12 | ( | Float * | mat | ) | [inline] |
Definition at line 104 of file test_util.cpp.
| void su3Construct8 | ( | Float * | mat | ) | [inline] |
Definition at line 116 of file test_util.cpp.
1.7.3