|
QUDA v0.3.2
A library for QCD on GPUs
|
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <util_quda.h>#include <test_util.h>#include <blas_reference.h>#include <wilson_dslash_reference.h>Go to the source code of this file.
Functions | |
| void | setDims (int *X) |
| template<typename Float > | |
| void | sum (Float *dst, Float *a, Float *b, int cnt) |
| template<typename Float > | |
| void | xpay (Float *x, Float a, Float *y, int len) |
| template<typename Float > | |
| Float * | gaugeLink (int i, int dir, int oddBit, Float **gaugeEven, Float **gaugeOdd) |
| template<typename Float > | |
| Float * | spinorNeighbor (int i, int dir, int oddBit, Float *spinorField) |
| template<typename sFloat , typename gFloat > | |
| void | dot (sFloat *res, gFloat *a, sFloat *b) |
| template<typename Float > | |
| void | su3Transpose (Float *res, Float *mat) |
| template<typename sFloat , typename gFloat > | |
| void | su3Mul (sFloat *res, gFloat *mat, sFloat *vec) |
| template<typename sFloat , typename gFloat > | |
| void | su3Tmul (sFloat *res, gFloat *mat, sFloat *vec) |
| template<typename Float > | |
| void | multiplySpinorByDiracProjector (Float *res, int projIdx, Float *spinorIn) |
| template<typename sFloat , typename gFloat > | |
| void | dslashReference (sFloat *res, gFloat **gaugeFull, sFloat *spinorField, int oddBit, int daggerBit) |
| void | dslash (void *res, void **gaugeFull, void *spinorField, int oddBit, int daggerBit, QudaPrecision sPrecision, QudaPrecision gPrecision) |
| template<typename sFloat , typename gFloat > | |
| void | Mat (sFloat *out, gFloat **gauge, sFloat *in, sFloat kappa, int daggerBit) |
| void | mat (void *out, void **gauge, void *in, double kappa, int dagger_bit, QudaPrecision sPrecision, QudaPrecision gPrecision) |
| template<typename sFloat , typename gFloat > | |
| void | MatPC (sFloat *outEven, gFloat **gauge, sFloat *inEven, sFloat kappa, int daggerBit, QudaMatPCType matpc_type) |
| void | matpc (void *outEven, void **gauge, void *inEven, double kappa, QudaMatPCType matpc_type, int dagger_bit, QudaPrecision sPrecision, QudaPrecision gPrecision) |
Variables | |
| int | Z [4] |
| int | V |
| int | Vh |
| const double | projector [8][4][4][2] |
| void dot | ( | sFloat * | res, |
| gFloat * | a, | ||
| sFloat * | b | ||
| ) |
Definition at line 80 of file wilson_dslash_reference.cpp.
| void dslash | ( | void * | res, |
| void ** | gaugeFull, | ||
| void * | spinorField, | ||
| int | oddBit, | ||
| int | daggerBit, | ||
| QudaPrecision | sPrecision, | ||
| QudaPrecision | gPrecision | ||
| ) |
Definition at line 227 of file wilson_dslash_reference.cpp.
| void dslashReference | ( | sFloat * | res, |
| gFloat ** | gaugeFull, | ||
| sFloat * | spinorField, | ||
| int | oddBit, | ||
| int | daggerBit | ||
| ) |
Definition at line 197 of file wilson_dslash_reference.cpp.
| Float* gaugeLink | ( | int | i, |
| int | dir, | ||
| int | oddBit, | ||
| Float ** | gaugeEven, | ||
| Float ** | gaugeOdd | ||
| ) |
Definition at line 39 of file wilson_dslash_reference.cpp.
| void Mat | ( | sFloat * | out, |
| gFloat ** | gauge, | ||
| sFloat * | in, | ||
| sFloat | kappa, | ||
| int | daggerBit | ||
| ) |
Definition at line 244 of file wilson_dslash_reference.cpp.
| void mat | ( | void * | out, |
| void ** | gauge, | ||
| void * | in, | ||
| double | kappa, | ||
| int | dagger_bit, | ||
| QudaPrecision | sPrecision, | ||
| QudaPrecision | gPrecision | ||
| ) |
Definition at line 258 of file wilson_dslash_reference.cpp.
| void MatPC | ( | sFloat * | outEven, |
| gFloat ** | gauge, | ||
| sFloat * | inEven, | ||
| sFloat | kappa, | ||
| int | daggerBit, | ||
| QudaMatPCType | matpc_type | ||
| ) |
Definition at line 275 of file wilson_dslash_reference.cpp.
| void matpc | ( | void * | outEven, |
| void ** | gauge, | ||
| void * | inEven, | ||
| double | kappa, | ||
| QudaMatPCType | matpc_type, | ||
| int | dagger_bit, | ||
| QudaPrecision | sPrecision, | ||
| QudaPrecision | gPrecision | ||
| ) |
Definition at line 295 of file wilson_dslash_reference.cpp.
| void multiplySpinorByDiracProjector | ( | Float * | res, |
| int | projIdx, | ||
| Float * | spinorIn | ||
| ) |
Definition at line 168 of file wilson_dslash_reference.cpp.
| void setDims | ( | int * | X | ) |
Definition at line 15 of file wilson_dslash_reference.cpp.
| Float* spinorNeighbor | ( | int | i, |
| int | dir, | ||
| int | oddBit, | ||
| Float * | spinorField | ||
| ) |
Definition at line 62 of file wilson_dslash_reference.cpp.
| void su3Mul | ( | sFloat * | res, |
| gFloat * | mat, | ||
| sFloat * | vec | ||
| ) |
Definition at line 103 of file wilson_dslash_reference.cpp.
| void su3Tmul | ( | sFloat * | res, |
| gFloat * | mat, | ||
| sFloat * | vec | ||
| ) |
Definition at line 108 of file wilson_dslash_reference.cpp.
| void su3Transpose | ( | Float * | res, |
| Float * | mat | ||
| ) |
Definition at line 93 of file wilson_dslash_reference.cpp.
| void sum | ( | Float * | dst, |
| Float * | a, | ||
| Float * | b, | ||
| int | cnt | ||
| ) |
Definition at line 25 of file wilson_dslash_reference.cpp.
| void xpay | ( | Float * | x, |
| Float | a, | ||
| Float * | y, | ||
| int | len | ||
| ) |
Definition at line 32 of file wilson_dslash_reference.cpp.
| const double projector[8][4][4][2] |
Definition at line 114 of file wilson_dslash_reference.cpp.
| int V |
Definition at line 12 of file wilson_dslash_reference.cpp.
| int Vh |
Definition at line 13 of file wilson_dslash_reference.cpp.
| int Z[4] |
Definition at line 11 of file wilson_dslash_reference.cpp.
1.7.3