QUDA v0.4.0
A library for QCD on GPUs
quda/include/gauge_force_quda.h
Go to the documentation of this file.
00001 #ifndef _GAUGE_FORCE_QUDA_H
00002 #define _GAUGE_FORCE_QUDA_H
00003 
00004 #ifdef __cplusplus
00005 extern "C"{
00006 #endif
00007 
00008   typedef struct kernel_param_s{
00009     unsigned long threads;
00010     int ghostDim[4]; // Whether a ghost zone has been allocated for a given dimension
00011   }kernel_param_t;
00012  
00013  
00014   void gauge_force_init_cuda(QudaGaugeParam* param, int max_length);
00015   void gauge_force_cuda(cudaGaugeField& cudaMom, double eb3, cudaGaugeField& cudaSiteLink,
00016                         QudaGaugeParam* param, int*** input_path, int* length,
00017                         void* path_coeff, int num_paths, int max_length);
00018   int computeGaugeForceQuda(void* mom, void* sitelink,  int*** input_path_buf, int* path_length,
00019                             void* loop_coeff, int num_paths, int max_length, double eb3,
00020                             QudaGaugeParam* qudaGaugeParam, double* timeinfo);
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024 
00025 #endif // _GAUGE_FORCE_QUDA_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines