QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER > Struct Template Reference

#include <clover_field_order.h>

Public Member Functions

 Accessor (const CloverField &A, bool inverse=false)
 
__device__ __host__ complex< Float > operator() (int parity, int x, int s_row, int s_col, int c_row, int c_col) const
 
template<typename helper , typename reducer >
__host__ double transform_reduce (QudaFieldLocation location, helper h, double init, reducer r) const
 

Public Attributes

Float * a
 
int stride
 
size_t offset_cb
 

Static Public Attributes

static constexpr int N = nSpin * nColor / 2
 

Detailed Description

template<typename Float, int nColor, int nSpin>
struct quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >

Definition at line 187 of file clover_field_order.h.

Constructor & Destructor Documentation

◆ Accessor()

template<typename Float , int nColor, int nSpin>
quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::Accessor ( const CloverField A,
bool  inverse = false 
)
inline

Definition at line 192 of file clover_field_order.h.

Member Function Documentation

◆ operator()()

template<typename Float , int nColor, int nSpin>
__device__ __host__ complex<Float> quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::operator() ( int  parity,
int  x,
int  s_row,
int  s_col,
int  c_row,
int  c_col 
) const
inline

Definition at line 196 of file clover_field_order.h.

◆ transform_reduce()

template<typename Float , int nColor, int nSpin>
template<typename helper , typename reducer >
__host__ double quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::transform_reduce ( QudaFieldLocation  location,
helper  h,
double  init,
reducer  r 
) const
inline

Definition at line 225 of file clover_field_order.h.

Member Data Documentation

◆ a

template<typename Float , int nColor, int nSpin>
Float* quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::a

Definition at line 188 of file clover_field_order.h.

◆ N

template<typename Float , int nColor, int nSpin>
constexpr int quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::N = nSpin * nColor / 2
staticconstexpr

Definition at line 191 of file clover_field_order.h.

◆ offset_cb

template<typename Float , int nColor, int nSpin>
size_t quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::offset_cb

Definition at line 190 of file clover_field_order.h.

◆ stride

template<typename Float , int nColor, int nSpin>
int quda::clover::Accessor< Float, nColor, nSpin, QUDA_FLOAT2_CLOVER_ORDER >::stride

Definition at line 189 of file clover_field_order.h.


The documentation for this struct was generated from the following file: