QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Functions
clover_deriv.cuh File Reference
#include <gauge_field_order.h>
#include <quda_matrix.h>
#include <index_helper.cuh>
Include dependency graph for clover_deriv.cuh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  quda::CloverDerivArg< Float, Force, Gauge, Oprod >
 

Namespaces

 quda
 

Macros

#define DYNAMIC_MU_NU
 
#define SHARED_ACCUMULATOR
 
#define DECLARE_LINK(U)
 
#define LINK   real *
 
#define DECLARE_ARRAY(d, idx)   int d[4] = {0, 0, 0, 0};
 

Functions

template<typename real , typename Link >
__device__ void quda::axpy (real a, const real *x, Link &y)
 
template<typename real , typename Link >
__device__ void quda::operator+= (real *y, const Link &x)
 
template<typename real , typename Link >
__device__ void quda::operator-= (real *y, const Link &x)
 
template<typename real , typename Arg , typename Link >
__device__ void quda::computeForce (LINK force, Arg &arg, int xIndex, int yIndex, int mu, int nu)
 
template<typename real , typename Arg >
__global__ void quda::cloverDerivativeKernel (Arg arg)
 

Macro Definition Documentation

◆ DECLARE_ARRAY

#define DECLARE_ARRAY (   d,
  idx 
)    int d[4] = {0, 0, 0, 0};

Definition at line 94 of file clover_deriv.cuh.

Referenced by quda::computeForce().

◆ DECLARE_LINK

#define DECLARE_LINK (   U)
Value:
extern __shared__ int s[]; \
real *U = (real *)s; \
{ \
const int tid = (threadIdx.z * blockDim.y + threadIdx.y) * blockDim.x + threadIdx.x; \
const int block = blockDim.x * blockDim.y * blockDim.z; \
for (int i = 0; i < 18; i++) force[i * block + tid] = 0.0; \
}
__shared__ float s[]

Definition at line 26 of file clover_deriv.cuh.

Referenced by quda::cloverDerivativeKernel().

◆ DYNAMIC_MU_NU

#define DYNAMIC_MU_NU

Definition at line 6 of file clover_deriv.cuh.

◆ LINK

#define LINK   real *

Definition at line 35 of file clover_deriv.cuh.

Referenced by quda::computeForce().

◆ SHARED_ACCUMULATOR

#define SHARED_ACCUMULATOR

Definition at line 10 of file clover_deriv.cuh.