#include <lattice_field.h>
|
| | LatticeField (const LatticeFieldParam ¶m) |
| |
| virtual | ~LatticeField () |
| |
| int | Ndim () const |
| |
| const int * | X () const |
| |
| int | Volume () const |
| |
| int | VolumeCB () const |
| |
| const int * | SurfaceCB () const |
| |
| int | SurfaceCB (const int i) const |
| |
| int | Stride () const |
| |
| int | Pad () const |
| |
| int | Nvec () const |
| |
| QudaPrecision | Precision () const |
| |
| QudaFieldLocation | Location () const |
| |
| size_t | GBytes () const |
| |
| void | checkField (const LatticeField &) |
| |
| virtual void | pack (int nFace, int parity, int dagger, cudaStream_t *stream_p, bool zeroCopyPack, double a=0, double b=0) |
| |
| virtual void | gather (int nFace, int dagger, int dir, cudaStream_t *stream_p=NULL) |
| |
| virtual void | commsStart (int nFace, int dir, int dagger=0) |
| |
| virtual int | commsQuery (int nFace, int dir, int dagger=0) |
| |
| virtual void | scatter (int nFace, int dagger, int dir) |
| |
| const char * | VolString () const |
| |
Definition at line 64 of file lattice_field.h.
| quda::LatticeField::~LatticeField |
( |
| ) |
|
|
virtual |
| void quda::LatticeField::checkField |
( |
const LatticeField & |
a | ) |
|
| virtual int quda::LatticeField::commsQuery |
( |
int |
nFace, |
|
|
int |
dir, |
|
|
int |
dagger = 0 |
|
) |
| |
|
inlinevirtual |
| virtual void quda::LatticeField::commsStart |
( |
int |
nFace, |
|
|
int |
dir, |
|
|
int |
dagger = 0 |
|
) |
| |
|
inlinevirtual |
| void quda::LatticeField::freeBuffer |
( |
int |
index = 0 | ) |
|
|
static |
| virtual void quda::LatticeField::gather |
( |
int |
nFace, |
|
|
int |
dagger, |
|
|
int |
dir, |
|
|
cudaStream_t * |
stream_p = NULL |
|
) |
| |
|
inlinevirtual |
| size_t quda::LatticeField::GBytes |
( |
| ) |
const |
|
inline |
| int quda::LatticeField::Ndim |
( |
| ) |
const |
|
inline |
| int quda::LatticeField::Nvec |
( |
| ) |
const |
- Returns
- The vector storage length used for native fields , 2 for Float2, 4 for Float4
Definition at line 90 of file lattice_field.cpp.
| virtual void quda::LatticeField::pack |
( |
int |
nFace, |
|
|
int |
parity, |
|
|
int |
dagger, |
|
|
cudaStream_t * |
stream_p, |
|
|
bool |
zeroCopyPack, |
|
|
double |
a = 0, |
|
|
double |
b = 0 |
|
) |
| |
|
inlinevirtual |
| int quda::LatticeField::Pad |
( |
| ) |
const |
|
inline |
| void quda::LatticeField::resizeBufferDevice |
( |
size_t |
bytes | ) |
const |
|
protected |
| void quda::LatticeField::resizeBufferPinned |
( |
size_t |
bytes, |
|
|
const int |
index = 0 |
|
) |
| const |
|
protected |
| virtual void quda::LatticeField::scatter |
( |
int |
nFace, |
|
|
int |
dagger, |
|
|
int |
dir |
|
) |
| |
|
inlinevirtual |
| void quda::LatticeField::setTuningString |
( |
| ) |
|
|
protectedvirtual |
| int quda::LatticeField::Stride |
( |
| ) |
const |
|
inline |
| const int* quda::LatticeField::SurfaceCB |
( |
| ) |
const |
|
inline |
| int quda::LatticeField::SurfaceCB |
( |
const int |
i | ) |
const |
|
inline |
| const char* quda::LatticeField::VolString |
( |
| ) |
const |
|
inline |
Return the volume string used by the autotuner
Definition at line 199 of file lattice_field.h.
| int quda::LatticeField::Volume |
( |
| ) |
const |
|
inline |
| int quda::LatticeField::VolumeCB |
( |
| ) |
const |
|
inline |
| const int* quda::LatticeField::X |
( |
| ) |
const |
|
inline |
| void * quda::LatticeField::bufferDevice = NULL |
|
staticprotected |
Device-memory buffer that is used by all derived classes
Definition at line 105 of file lattice_field.h.
| size_t quda::LatticeField::bufferDeviceBytes = 0 |
|
staticprotected |
| bool quda::LatticeField::bufferDeviceInit = false |
|
staticprotected |
Whether the device-memory buffer has already been initialized or not
Definition at line 108 of file lattice_field.h.
| void * quda::LatticeField::bufferPinned = {NULL} |
|
staticprotected |
Pinned-memory buffer that is used by all derived classes
Definition at line 90 of file lattice_field.h.
| size_t quda::LatticeField::bufferPinnedBytes = {0} |
|
staticprotected |
The size in bytes of pinned-memory buffer
Definition at line 96 of file lattice_field.h.
| bool quda::LatticeField::bufferPinnedInit = {false} |
|
staticprotected |
Whether the pinned-memory buffer has already been initialized or not
Definition at line 93 of file lattice_field.h.
| size_t quda::LatticeField::bufferPinnedResizeCount = 0 |
|
staticprotected |
Keep track of resizes to the pinned memory buffers
Definition at line 102 of file lattice_field.h.
| void* quda::LatticeField::from_face[2] |
|
protected |
Memory buffer used for sending all messages (regardless of Nface)
Definition at line 135 of file lattice_field.h.
| MsgHandle*** quda::LatticeField::mh_recv_back[2] |
|
protected |
Message handles for receiving from backwards
Definition at line 143 of file lattice_field.h.
| MsgHandle*** quda::LatticeField::mh_recv_fwd[2] |
|
protected |
Message handles for receiving from forwards
Definition at line 140 of file lattice_field.h.
| MsgHandle*** quda::LatticeField::mh_send_back[2] |
|
protected |
| MsgHandle*** quda::LatticeField::mh_send_fwd[2] |
|
protected |
| void* quda::LatticeField::my_face[2] |
|
protected |
Memory buffer used for sending all messages (regardless of Nface)
Definition at line 130 of file lattice_field.h.
| int quda::LatticeField::nDim |
|
protected |
| int quda::LatticeField::nDimComms |
|
protected |
The number of dimensions we partition for communication
Definition at line 121 of file lattice_field.h.
| int quda::LatticeField::pad |
|
protected |
Whether the field is full or single parity
Definition at line 87 of file lattice_field.h.
| int quda::LatticeField::stride |
|
protected |
| size_t quda::LatticeField::total_bytes |
|
protected |
| int quda::LatticeField::volume |
|
protected |
| int quda::LatticeField::volumeCB |
|
protected |
The documentation for this class was generated from the following files: