QUDA
v0.7.0
A library for QCD on GPUs
|
#include <face_quda.h>
Public Member Functions | |
FaceBuffer (const int *X, const int nDim, const int Ninternal, const int nFace, const QudaPrecision precision, const int Ls=1) | |
FaceBuffer (const FaceBuffer &) | |
virtual | ~FaceBuffer () |
void | pack (quda::cudaColorSpinorField &in, quda::FullClover &clov, quda::FullClover &clovInv, int dim, int dir, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0) |
void | pack (quda::cudaColorSpinorField &in, quda::FullClover &clov, quda::FullClover &clovInv, int dir, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0) |
void | pack (quda::cudaColorSpinorField &in, quda::FullClover &clov, quda::FullClover &clovInv, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0) |
void | pack (quda::cudaColorSpinorField &in, int dim, int dir, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0, double b=0) |
void | pack (quda::cudaColorSpinorField &in, int dir, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0, double b=0) |
void | pack (quda::cudaColorSpinorField &in, int parity, int dagger, cudaStream_t *stream, bool zeroCopyPack=false, double a=0, double b=0) |
void | gather (quda::cudaColorSpinorField &in, int dagger, int dir, int streamIdx) |
void | gather (quda::cudaColorSpinorField &in, int dagger, int dir) |
void | sendStart (int dir) |
void | recvStart (int dir) |
void | commsStart (int dir) |
int | commsQuery (int dir) |
void | scatter (quda::cudaColorSpinorField &out, int dagger, int dir) |
void | scatter (quda::cudaColorSpinorField &out, int dagger, int dir, int streamIdx) |
void | exchangeCpuSpinor (quda::cpuColorSpinorField &in, int parity, int dagger) |
void | exchangeLink (void **ghost_link, void **link_sendbuf, QudaFieldLocation location) |
Static Public Member Functions | |
static void | flushPinnedCache () |
Definition at line 10 of file face_quda.h.
FaceBuffer::FaceBuffer | ( | const int * | X, |
const int | nDim, | ||
const int | Ninternal, | ||
const int | nFace, | ||
const QudaPrecision | precision, | ||
const int | Ls = 1 |
||
) |
Definition at line 14 of file face_buffer.cpp.
FaceBuffer::FaceBuffer | ( | const FaceBuffer & | face | ) |
Definition at line 81 of file face_buffer.cpp.
|
virtual |
Definition at line 86 of file face_buffer.cpp.
int FaceBuffer::commsQuery | ( | int | dir | ) |
Definition at line 364 of file face_buffer.cpp.
void FaceBuffer::commsStart | ( | int | dir | ) |
Definition at line 309 of file face_buffer.cpp.
void FaceBuffer::exchangeCpuSpinor | ( | quda::cpuColorSpinorField & | in, |
int | parity, | ||
int | dagger | ||
) |
Definition at line 407 of file face_buffer.cpp.
void FaceBuffer::exchangeLink | ( | void ** | ghost_link, |
void ** | link_sendbuf, | ||
QudaFieldLocation | location | ||
) |
Definition at line 462 of file face_buffer.cpp.
|
static |
Definition at line 196 of file face_buffer.cpp.
void FaceBuffer::gather | ( | quda::cudaColorSpinorField & | in, |
int | dagger, | ||
int | dir, | ||
int | streamIdx | ||
) |
Definition at line 222 of file face_buffer.cpp.
void FaceBuffer::gather | ( | quda::cudaColorSpinorField & | in, |
int | dagger, | ||
int | dir | ||
) |
Definition at line 251 of file face_buffer.cpp.
void quda::FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
quda::FullClover & | clov, | ||
quda::FullClover & | clovInv, | ||
int | dim, | ||
int | dir, | ||
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 |
||
) |
Pack the cudaColorSpinorField's ghost zone into contiguous buffers
in | The cudaColorSpinorField whose ghost zone we are extracting |
dim | The dimension in which we pack |
dir | Whether we pack data to be sent forward or backwards or in both directions |
parity | The parity of this field |
dagger | Whether the operator for which we are applying is the Hermitian conjugate or not |
stream | The stream to which the packing kernel will be issued |
zeroCopyPack | Whether we are packing to a device buffer or packing straight to host memory |
a | Twisted mass parameter (default=0) |
b | Twisted mass parameter (Default=0) |
void quda::FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
quda::FullClover & | clov, | ||
quda::FullClover & | clovInv, | ||
int | dir, | ||
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 |
||
) |
void quda::FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
quda::FullClover & | clov, | ||
quda::FullClover & | clovInv, | ||
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 |
||
) |
void FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
int | dim, | ||
int | dir, | ||
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 , |
||
double | b = 0 |
||
) |
Definition at line 207 of file face_buffer.cpp.
void FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
int | dir, | ||
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 , |
||
double | b = 0 |
||
) |
Definition at line 235 of file face_buffer.cpp.
void FaceBuffer::pack | ( | quda::cudaColorSpinorField & | in, |
int | parity, | ||
int | dagger, | ||
cudaStream_t * | stream, | ||
bool | zeroCopyPack = false , |
||
double | a = 0 , |
||
double | b = 0 |
||
) |
Definition at line 242 of file face_buffer.cpp.
void FaceBuffer::recvStart | ( | int | dir | ) |
Definition at line 331 of file face_buffer.cpp.
void FaceBuffer::scatter | ( | quda::cudaColorSpinorField & | out, |
int | dagger, | ||
int | dir | ||
) |
Definition at line 401 of file face_buffer.cpp.
void FaceBuffer::scatter | ( | quda::cudaColorSpinorField & | out, |
int | dagger, | ||
int | dir, | ||
int | streamIdx | ||
) |
Definition at line 389 of file face_buffer.cpp.
void FaceBuffer::sendStart | ( | int | dir | ) |
Definition at line 343 of file face_buffer.cpp.