QUDA
v1.1.0
A library for QCD on GPUs
|
#include <color_spinor_field_order.h>
Public Types | |
using | Accessor = PaddedSpaceSpinorColorOrder< Float, Ns, Nc > |
using | real = typename mapper< Float >::type |
using | complex = complex< real > |
Public Member Functions | |
PaddedSpaceSpinorColorOrder (const ColorSpinorField &a, int nFace=1, Float *field_=0, float *dummy=0, Float **ghost_=0) | |
__device__ __host__ int | getPaddedIndex (int x_cb, int parity) const |
Compute the index into the padded field. Assumes that parity doesn't change from unpadded to padded. More... | |
__device__ __host__ void | load (complex v[length/2], int x, int parity=0) const |
__device__ __host__ void | save (const complex v[length/2], int x, int parity=0) |
__device__ __host__ colorspinor_wrapper< real, Accessor > | operator() (int x_cb, int parity) |
This accessor routine returns a colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More... | |
__device__ __host__ const colorspinor_wrapper< real, Accessor > | operator() (int x_cb, int parity) const |
This accessor routine returns a const colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More... | |
__device__ __host__ void | loadGhost (complex v[length/2], int x, int dim, int dir, int parity=0) const |
__device__ __host__ void | saveGhost (const complex v[length/2], int x, int dim, int dir, int parity=0) |
size_t | Bytes () const |
Public Attributes | |
Float * | field |
size_t | offset |
Float * | ghost [8] |
int | volumeCB |
int | exVolumeCB |
int | faceVolumeCB [4] |
int | stride |
int | nParity |
int | dim [4] |
int | exDim [4] |
Static Public Attributes | |
static const int | length = 2 * Ns * Nc |
Definition at line 1495 of file color_spinor_field_order.h.
using quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::Accessor = PaddedSpaceSpinorColorOrder<Float, Ns, Nc> |
Definition at line 1496 of file color_spinor_field_order.h.
using quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::complex = complex<real> |
Definition at line 1498 of file color_spinor_field_order.h.
using quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::real = typename mapper<Float>::type |
Definition at line 1497 of file color_spinor_field_order.h.
|
inline |
Definition at line 1510 of file color_spinor_field_order.h.
|
inline |
Definition at line 1637 of file color_spinor_field_order.h.
|
inline |
Compute the index into the padded field. Assumes that parity doesn't change from unpadded to padded.
Definition at line 1533 of file color_spinor_field_order.h.
|
inline |
Definition at line 1543 of file color_spinor_field_order.h.
|
inline |
Definition at line 1617 of file color_spinor_field_order.h.
|
inline |
This accessor routine returns a colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.
[in] | x_cb | Checkerboarded space-time index we are requesting |
[in] | parity | Parity we are requesting |
Definition at line 1598 of file color_spinor_field_order.h.
|
inline |
This accessor routine returns a const colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.
[in] | x_cb | Checkerboarded space-time index we are requesting |
[in] | parity | Parity we are requesting |
Definition at line 1612 of file color_spinor_field_order.h.
|
inline |
Definition at line 1564 of file color_spinor_field_order.h.
|
inline |
Definition at line 1627 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::dim[4] |
Definition at line 1508 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::exDim[4] |
Definition at line 1509 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::exVolumeCB |
Definition at line 1504 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::faceVolumeCB[4] |
Definition at line 1505 of file color_spinor_field_order.h.
Float* quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::field |
Definition at line 1500 of file color_spinor_field_order.h.
Float* quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::ghost[8] |
Definition at line 1502 of file color_spinor_field_order.h.
|
static |
Definition at line 1499 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::nParity |
Definition at line 1507 of file color_spinor_field_order.h.
size_t quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::offset |
Definition at line 1501 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::stride |
Definition at line 1506 of file color_spinor_field_order.h.
int quda::colorspinor::PaddedSpaceSpinorColorOrder< Float, Ns, Nc >::volumeCB |
Definition at line 1503 of file color_spinor_field_order.h.