QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER > Struct Template Reference

#include <color_spinor_field_order.h>

Public Member Functions

 AccessorCB (const ColorSpinorField &field)
 
 AccessorCB ()
 
__device__ __host__ int index (int parity, int x_cb, int s, int c, int v) const
 
__device__ __host__ int wrap_index (int parity, int x_cb, int s) const
 This and the following wrap_index method returns the index for the pointer that points to the start of the memory chunk corresponds to the matrix at parity, x_cb, s. Only available for the QUDA_SPACE_SPIN_COLOR_FIELD_ORDER order. More...
 

Public Attributes

const int offset_cb
 

Detailed Description

template<typename Float, int nSpin, int nColor, int nVec>
struct quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >

Definition at line 242 of file color_spinor_field_order.h.

Constructor & Destructor Documentation

◆ AccessorCB() [1/2]

template<typename Float , int nSpin, int nColor, int nVec>
quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >::AccessorCB ( const ColorSpinorField field)
inline

Definition at line 244 of file color_spinor_field_order.h.

◆ AccessorCB() [2/2]

template<typename Float , int nSpin, int nColor, int nVec>
quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >::AccessorCB ( )
inline

Definition at line 245 of file color_spinor_field_order.h.

Member Function Documentation

◆ index()

template<typename Float , int nSpin, int nColor, int nVec>
__device__ __host__ int quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >::index ( int  parity,
int  x_cb,
int  s,
int  c,
int  v 
) const
inline

Definition at line 246 of file color_spinor_field_order.h.

◆ wrap_index()

template<typename Float , int nSpin, int nColor, int nVec>
__device__ __host__ int quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >::wrap_index ( int  parity,
int  x_cb,
int  s 
) const
inline

This and the following wrap_index method returns the index for the pointer that points to the start of the memory chunk corresponds to the matrix at parity, x_cb, s. Only available for the QUDA_SPACE_SPIN_COLOR_FIELD_ORDER order.

Parameters
parityParity index
x_cb1-d checkboarding site index
sspin index

Definition at line 259 of file color_spinor_field_order.h.

Member Data Documentation

◆ offset_cb

template<typename Float , int nSpin, int nColor, int nVec>
const int quda::colorspinor::AccessorCB< Float, nSpin, nColor, nVec, QUDA_SPACE_SPIN_COLOR_FIELD_ORDER >::offset_cb

Definition at line 243 of file color_spinor_field_order.h.


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