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

#include <gauge_field_order.h>

Public Member Functions

 Accessor (const GaugeField &U, void *gauge_=0, void **ghost_=0, bool override=false)
 
 Accessor (const Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat > &a)
 
void resetScale (Float max_)
 
__device__ __host__ const complex< Float > operator() (int dim, int parity, int x_cb, int row, int col) const
 
__device__ __host__ fieldorder_wrapper< Float, storeFloat > operator() (int dim, int parity, int x_cb, int row, int col)
 
template<typename theirFloat >
__device__ __host__ void atomic_add (int dim, int parity, int x_cb, int row, int col, const complex< theirFloat > &val) const
 
template<typename helper , typename reducer >
__host__ double transform_reduce (QudaFieldLocation location, int dim, helper h, double init, reducer r) const
 

Public Attributes

complex< storeFloat > * u
 
const int offset_cb
 
const int volumeCB
 
const int stride
 
const int geometry
 
Float max
 
Float scale
 
Float scale_inv
 

Static Public Attributes

static constexpr bool is_mma_compatible = false
 
static constexpr bool fixed = fixed_point<Float,storeFloat>()
 

Detailed Description

template<typename Float, int nColor, typename storeFloat>
struct quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >

Definition at line 738 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ Accessor() [1/2]

template<typename Float , int nColor, typename storeFloat >
quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::Accessor ( const GaugeField U,
void *  gauge_ = 0,
void **  ghost_ = 0,
bool  override = false 
)
inline

Definition at line 750 of file gauge_field_order.h.

◆ Accessor() [2/2]

template<typename Float , int nColor, typename storeFloat >
quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::Accessor ( const Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat > &  a)
inline

Definition at line 760 of file gauge_field_order.h.

Member Function Documentation

◆ atomic_add()

template<typename Float , int nColor, typename storeFloat >
template<typename theirFloat >
__device__ __host__ void quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::atomic_add ( int  dim,
int  parity,
int  x_cb,
int  row,
int  col,
const complex< theirFloat > &  val 
) const
inline

Definition at line 797 of file gauge_field_order.h.

◆ operator()() [1/2]

template<typename Float , int nColor, typename storeFloat >
__device__ __host__ fieldorder_wrapper<Float,storeFloat> quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::operator() ( int  dim,
int  parity,
int  x_cb,
int  row,
int  col 
)
inline

Definition at line 790 of file gauge_field_order.h.

◆ operator()() [2/2]

template<typename Float , int nColor, typename storeFloat >
__device__ __host__ const complex<Float> quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::operator() ( int  dim,
int  parity,
int  x_cb,
int  row,
int  col 
) const
inline

Definition at line 779 of file gauge_field_order.h.

◆ resetScale()

template<typename Float , int nColor, typename storeFloat >
void quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::resetScale ( Float  max_)
inline

Definition at line 771 of file gauge_field_order.h.

◆ transform_reduce()

template<typename Float , int nColor, typename storeFloat >
template<typename helper , typename reducer >
__host__ double quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::transform_reduce ( QudaFieldLocation  location,
int  dim,
helper  h,
double  init,
reducer  r 
) const
inline

Definition at line 824 of file gauge_field_order.h.

Member Data Documentation

◆ fixed

template<typename Float , int nColor, typename storeFloat >
constexpr bool quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::fixed = fixed_point<Float,storeFloat>()
staticconstexpr

Definition at line 748 of file gauge_field_order.h.

◆ geometry

template<typename Float , int nColor, typename storeFloat >
const int quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::geometry

Definition at line 744 of file gauge_field_order.h.

◆ is_mma_compatible

template<typename Float , int nColor, typename storeFloat >
constexpr bool quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::is_mma_compatible = false
staticconstexpr

Definition at line 739 of file gauge_field_order.h.

◆ max

template<typename Float , int nColor, typename storeFloat >
Float quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::max

Definition at line 745 of file gauge_field_order.h.

◆ offset_cb

template<typename Float , int nColor, typename storeFloat >
const int quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::offset_cb

Definition at line 741 of file gauge_field_order.h.

◆ scale

template<typename Float , int nColor, typename storeFloat >
Float quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::scale

Definition at line 746 of file gauge_field_order.h.

◆ scale_inv

template<typename Float , int nColor, typename storeFloat >
Float quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::scale_inv

Definition at line 747 of file gauge_field_order.h.

◆ stride

template<typename Float , int nColor, typename storeFloat >
const int quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::stride

Definition at line 743 of file gauge_field_order.h.

◆ u

template<typename Float , int nColor, typename storeFloat >
complex<storeFloat>* quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::u

Definition at line 740 of file gauge_field_order.h.

◆ volumeCB

template<typename Float , int nColor, typename storeFloat >
const int quda::gauge::Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat >::volumeCB

Definition at line 742 of file gauge_field_order.h.


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