QUDA v0.3.2
A library for QCD on GPUs

quda/tests/twisted_mass_dslash_reference.h

Go to the documentation of this file.
00001 #ifndef _WILSON_DSLASH_REFERENCE_H
00002 #define _WILSON_DSLASH_REFERENCE_H
00003 
00004 #include <enum_quda.h>
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010   extern int Z[4];
00011   extern int Vh;
00012   extern int V;
00013 
00014   void setDims(int *);
00015 
00016   void dslash(void *res, void **gauge, void *spinorField, double kappa,
00017               double mu, QudaTwistFlavorType flavor, int oddBit,
00018               int daggerBit, QudaPrecision sPrecision,
00019               QudaPrecision gPrecision);
00020   
00021   void mat(void *out, void **gauge, void *in, double kappa, double mu,
00022            QudaTwistFlavorType flavor, int daggerBit,
00023            QudaPrecision sPrecision, QudaPrecision gPrecision);
00024 
00025   void matpc(void *out, void **gauge, void *in, double kappa, double mu,
00026              QudaTwistFlavorType flavor, QudaMatPCType matpc_type,  
00027              int daggerBit, QudaPrecision sPrecision, QudaPrecision gPrecision);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032 
00033 #endif // _DSLASH_REFERENCE_H
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines