|
QUDA
1.0.0
|
#include <texture.h>


Public Member Functions | |
| SpinorTexture () | |
| SpinorTexture (const ColorSpinorField &x, int nFace=1) | |
| SpinorTexture (const SpinorTexture &st) | |
| SpinorTexture & | operator= (const SpinorTexture &src) |
| void | set (const cudaColorSpinorField &x, int nFace=1) |
| virtual | ~SpinorTexture () |
| __device__ void | load (RegType x[], const int i, const int parity=0) const |
| __device__ void | loadGhost (RegType x[], const int i, const int dim) const |
| QudaPrecision | Precision () const |
| int | Stride () const |
| int | Bytes () const |
Protected Attributes | |
| Texture< InterType, StoreType > | tex |
| Texture< InterType, StoreType > | ghostTex |
| float * | norm |
| int | stride |
| unsigned int | cb_offset |
| unsigned int | cb_norm_offset |
| int | ghost_stride [4] |
Private Types | |
| typedef bridge_mapper< RegType, StoreType >::type | InterType |
| RegType | Register type used in kernel |
| InterType | Intermediate format - RegType precision with StoreType ordering |
| StoreType | Type used to store field in memory |
| N | Length of vector of RegType elements that this Spinor represents |
|
private |
|
inline |
|
inline |
|
inline |
Definition at line 167 of file texture.h.
References SpinorTexture< RegType, StoreType, N >::ghost_stride.
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 212 of file texture.h.
References quda::copyFloatN(), and parity.

|
inline |
Load the ghost spinor. For Wilson fermions, we assume that the ghost is spin projected
Definition at line 237 of file texture.h.
References quda::copyFloatN(), and Nspin.

|
inline |
Definition at line 180 of file texture.h.
References SpinorTexture< RegType, StoreType, N >::cb_norm_offset, SpinorTexture< RegType, StoreType, N >::cb_offset, SpinorTexture< RegType, StoreType, N >::ghost_stride, SpinorTexture< RegType, StoreType, N >::ghostTex, SpinorTexture< RegType, StoreType, N >::norm, SpinorTexture< RegType, StoreType, N >::stride, and SpinorTexture< RegType, StoreType, N >::tex.
|
inline |
Definition at line 261 of file texture.h.
References errorQuda, QUDA_DOUBLE_PRECISION, QUDA_HALF_PRECISION, QUDA_INVALID_PRECISION, QUDA_QUARTER_PRECISION, and QUDA_SINGLE_PRECISION.
|
inline |
Definition at line 196 of file texture.h.
Referenced by quda::blas::multiBlas(), and quda::blas::multiReduce().

|
inline |
|
protected |
Definition at line 144 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
|
protected |
Definition at line 143 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
|
protected |
Definition at line 146 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=(), and SpinorTexture< RegType, StoreType, N >::SpinorTexture().
|
protected |
Definition at line 139 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
|
protected |
Definition at line 140 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
|
protected |
Definition at line 142 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
|
protected |
Definition at line 138 of file texture.h.
Referenced by SpinorTexture< RegType, StoreType, N >::operator=().
1.8.13