QUDA  v1.1.0
A library for QCD on GPUs
staggered_gauge_utils.h
Go to the documentation of this file.
1 #pragma once
2 #include <quda_internal.h>
3 #include "color_spinor_field.h"
4 
5 extern int Z[4];
6 extern int Vh;
7 extern int V;
8 
9 using namespace quda;
10 
11 void setDims(int *);
12 
13 // Wrap everything for the GPU construction of fat/long links here
14 void computeHISQLinksGPU(void **qdp_fatlink, void **qdp_longlink, void **qdp_fatlink_eps, void **qdp_longlink_eps,
15  void **qdp_inlink, QudaGaugeParam &gauge_param, double **act_path_coeffs, double eps_naik,
16  size_t gSize, int n_naiks);
17 
18 void computeFatLongGPU(void **qdp_fatlink, void **qdp_longlink, void **qdp_inlink, QudaGaugeParam &gauge_param,
19  size_t gSize, int n_naiks, double eps_naik);
20 
21 void computeFatLongGPUandCPU(void **qdp_fatlink_gpu, void **qdp_longlink_gpu, void **qdp_fatlink_cpu,
22  void **qdp_longlink_cpu, void **qdp_inlink, QudaGaugeParam &gauge_param, size_t gSize,
23  int n_naiks, double eps_naik);
24 
25 // Routine that takes in a QDP-ordered field and outputs the plaquette.
26 // Assumes the gauge fields already have phases on them (unless it's the Laplace op),
27 // so it corrects the sign as appropriate.
28 void computeStaggeredPlaquetteQDPOrder(void** qdp_link, double plaq[3], const QudaGaugeParam &gauge_param_in,
30 
double eps_naik
QudaDslashType dslash_type
int n_naiks
QudaGaugeParam gauge_param
Definition: covdev_test.cpp:26
enum QudaDslashType_s QudaDslashType
int Vh
Definition: host_utils.cpp:38
int Z[4]
Definition: host_utils.cpp:36
void computeFatLongGPUandCPU(void **qdp_fatlink_gpu, void **qdp_longlink_gpu, void **qdp_fatlink_cpu, void **qdp_longlink_cpu, void **qdp_inlink, QudaGaugeParam &gauge_param, size_t gSize, int n_naiks, double eps_naik)
void computeHISQLinksGPU(void **qdp_fatlink, void **qdp_longlink, void **qdp_fatlink_eps, void **qdp_longlink_eps, void **qdp_inlink, QudaGaugeParam &gauge_param, double **act_path_coeffs, double eps_naik, size_t gSize, int n_naiks)
int V
Definition: host_utils.cpp:37
void setDims(int *)
Definition: host_utils.cpp:315
void computeStaggeredPlaquetteQDPOrder(void **qdp_link, double plaq[3], const QudaGaugeParam &gauge_param_in, const QudaDslashType dslash_type)
void computeFatLongGPU(void **qdp_fatlink, void **qdp_longlink, void **qdp_inlink, QudaGaugeParam &gauge_param, size_t gSize, int n_naiks, double eps_naik)