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_QDP_GAUGE_ORDER, storeFloat > Struct Template Reference

#include <gauge_field_order.h>

Public Member Functions

 Accessor (const GaugeField &U, void *gauge_=0, void **ghost_=0)
 
 Accessor (const Accessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, storeFloat > &a)
 
void resetScale (Float max)
 
__device__ __host__ complex< Float > operator() (int d, int parity, int x, int row, int col) const
 
__device__ __host__ fieldorder_wrapper< Float, storeFloat > operator() (int d, int parity, int x, 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 [QUDA_MAX_GEOMETRY]
 
const int volumeCB
 
const int geometry
 
const int cb_offset
 
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_QDP_GAUGE_ORDER, storeFloat >

Definition at line 391 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_QDP_GAUGE_ORDER, storeFloat >::Accessor ( const GaugeField U,
void *  gauge_ = 0,
void **  ghost_ = 0 
)
inline

Definition at line 401 of file gauge_field_order.h.

◆ Accessor() [2/2]

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

Definition at line 411 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_QDP_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 444 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_QDP_GAUGE_ORDER, storeFloat >::operator() ( int  d,
int  parity,
int  x,
int  row,
int  col 
)
inline

Definition at line 439 of file gauge_field_order.h.

◆ operator()() [2/2]

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

Definition at line 428 of file gauge_field_order.h.

◆ resetScale()

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

Definition at line 421 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_QDP_GAUGE_ORDER, storeFloat >::transform_reduce ( QudaFieldLocation  location,
int  dim,
helper  h,
double  init,
reducer  r 
) const
inline

Definition at line 472 of file gauge_field_order.h.

Member Data Documentation

◆ cb_offset

template<typename Float , int nColor, typename storeFloat >
const int quda::gauge::Accessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, storeFloat >::cb_offset

Definition at line 396 of file gauge_field_order.h.

◆ fixed

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

Definition at line 399 of file gauge_field_order.h.

◆ geometry

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

Definition at line 395 of file gauge_field_order.h.

◆ is_mma_compatible

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

Definition at line 392 of file gauge_field_order.h.

◆ scale

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

Definition at line 397 of file gauge_field_order.h.

◆ scale_inv

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

Definition at line 398 of file gauge_field_order.h.

◆ u

template<typename Float , int nColor, typename storeFloat >
complex<storeFloat>* quda::gauge::Accessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, storeFloat >::u[QUDA_MAX_GEOMETRY]

Definition at line 393 of file gauge_field_order.h.

◆ volumeCB

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

Definition at line 394 of file gauge_field_order.h.


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