QUDA  v1.1.0
A library for QCD on GPUs
staggered_dslash_reference.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <quda_internal.h>
4 #include <color_spinor_field.h>
5 
6 extern int Z[4];
7 extern int Vh;
8 extern int V;
9 
10 using namespace quda;
11 
12 void setDims(int *);
13 
14 template <typename sFloat, typename gFloat>
15 void staggeredDslashReference(sFloat *res, gFloat **fatlink, gFloat **longlink, gFloat **ghostFatlink,
16  gFloat **ghostLonglink, sFloat *spinorField, sFloat **fwd_nbr_spinor,
17  sFloat **back_nbr_spinor, int oddBit, int daggerBit, int nSrc, QudaDslashType dslash_type);
18 
19 void staggeredDslash(ColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink,
20  void **ghost_longlink, ColorSpinorField *in, int oddBit, int daggerBit, QudaPrecision sPrecision,
22 
23 void staggeredMatDagMat(ColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink,
24  void **ghost_longlink, ColorSpinorField *in, double mass, int dagger_bit,
double mass
QudaDslashType dslash_type
QudaParity parity
Definition: covdev_test.cpp:40
cudaColorSpinorField * tmp
Definition: covdev_test.cpp:34
enum QudaPrecision_s QudaPrecision
enum QudaDslashType_s QudaDslashType
enum QudaParity_s QudaParity
void staggeredDslashReference(sFloat *res, gFloat **fatlink, gFloat **longlink, gFloat **ghostFatlink, gFloat **ghostLonglink, sFloat *spinorField, sFloat **fwd_nbr_spinor, sFloat **back_nbr_spinor, int oddBit, int daggerBit, int nSrc, QudaDslashType dslash_type)
int Vh
Definition: host_utils.cpp:38
int Z[4]
Definition: host_utils.cpp:36
void staggeredMatDagMat(ColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink, void **ghost_longlink, ColorSpinorField *in, double mass, int dagger_bit, QudaPrecision sPrecision, QudaPrecision gPrecision, ColorSpinorField *tmp, QudaParity parity, QudaDslashType dslash_type)
int V
Definition: host_utils.cpp:37
void staggeredDslash(ColorSpinorField *out, void **fatlink, void **longlink, void **ghost_fatlink, void **ghost_longlink, ColorSpinorField *in, int oddBit, int daggerBit, QudaPrecision sPrecision, QudaPrecision gPrecision, QudaDslashType dslash_type)
void setDims(int *)
Definition: host_utils.cpp:315