QUDA v0.4.0
A library for QCD on GPUs
quda/tests/wilson_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 #include <quda.h>
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011   extern int Z[4];
00012   extern int Vh;
00013   extern int V;
00014 
00015   void setDims(int *);
00016 
00017   void wil_dslash(void *res, void **gauge, void *spinorField, int oddBit,
00018                   int daggerBit, QudaPrecision precision, QudaGaugeParam &param);
00019   
00020   void wil_mat(void *out, void **gauge, void *in, double kappa, int daggerBit,
00021                QudaPrecision precision, QudaGaugeParam &param);
00022 
00023   void wil_matpc(void *out, void **gauge, void *in, double kappa,
00024                  QudaMatPCType matpc_type,  int daggerBit, QudaPrecision precision, QudaGaugeParam &param);
00025 
00026   void tm_dslash(void *res, void **gauge, void *spinorField, double kappa,
00027                  double mu, QudaTwistFlavorType flavor, int oddBit,
00028                  int daggerBit, QudaPrecision sprecision, QudaGaugeParam &param);
00029   
00030   void tm_mat(void *out, void **gauge, void *in, double kappa, double mu,
00031               QudaTwistFlavorType flavor, int daggerBit, QudaPrecision precision, QudaGaugeParam &param);
00032 
00033   void tm_matpc(void *out, void **gauge, void *in, double kappa, double mu,
00034                 QudaTwistFlavorType flavor, QudaMatPCType matpc_type,  
00035                 int daggerBit, QudaPrecision precision, QudaGaugeParam &param);
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 
00041 #endif // _WILSON_DSLASH_REFERENCE_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines