QUDA v0.3.2
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 
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, int oddBit,
00017               int daggerBit, QudaPrecision sPrecision,
00018               QudaPrecision gPrecision);
00019   
00020   void mat(void *out, void **gauge, void *in, double kappa, int daggerBit,
00021            QudaPrecision sPrecision, QudaPrecision gPrecision);
00022 
00023   void matpc(void *out, void **gauge, void *in, double kappa,
00024              QudaMatPCType matpc_type,  int daggerBit,
00025              QudaPrecision sPrecision, QudaPrecision gPrecision);
00026 
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 
00031 #endif // _DSLASH_REFERENCE_H
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines