|
QUDA
0.9.0
|
#include <clover_field.h>


Public Member Functions | |
| cudaCloverField (const CloverFieldParam ¶m) | |
| virtual | ~cudaCloverField () |
| void | copy (const CloverField &src, bool inverse=true) |
| Copy into this CloverField from the generic CloverField src. More... | |
| void | loadCPUField (const cpuCloverField &cpu) |
| void | saveCPUField (cpuCloverField &cpu) const |
Public Member Functions inherited from quda::CloverField | |
| CloverField (const CloverFieldParam ¶m) | |
| virtual | ~CloverField () |
| void * | V (bool inverse=false) |
| void * | Norm (bool inverse=false) |
| const void * | V (bool inverse=false) const |
| const void * | Norm (bool inverse=false) const |
| bool | isNative () const |
| double * | TrLog () const |
| QudaCloverFieldOrder | Order () const |
| size_t | Bytes () const |
| size_t | NormBytes () const |
| bool | Csw () const |
| bool | Twisted () const |
| double | Mu2 () const |
| double | Rho () const |
| void | setRho (double rho) |
| Bakes in the rho factor into the clover field, (for real diagonal additive Hasenbusch), e.g., A + rho. More... | |
Public Member Functions inherited from quda::LatticeField | |
| LatticeField (const LatticeFieldParam ¶m) | |
| LatticeField (const LatticeField &field) | |
| virtual | ~LatticeField () |
| void | allocateGhostBuffer (size_t ghost_bytes) const |
| Allocate the static ghost buffers. More... | |
| void | createComms (bool no_comms_fill=false) |
| void | destroyComms () |
| void | createIPCComms () |
| bool | ipcCopyComplete (int dir, int dim) |
| bool | ipcRemoteCopyComplete (int dir, int dim) |
| const cudaEvent_t & | getIPCCopyEvent (int dir, int dim) const |
| const cudaEvent_t & | getIPCRemoteCopyEvent (int dir, int dim) const |
| 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 |
| const int * | R () const |
| QudaGhostExchange | GhostExchange () const |
| QudaPrecision | Precision () const |
| virtual QudaSiteSubset | SiteSubset () const |
| virtual QudaMemoryType | MemType () const |
| int | Nvec () const |
| QudaFieldLocation | Location () const |
| size_t | GBytes () const |
| void | checkField (const LatticeField &a) const |
| virtual void | read (char *filename) |
| virtual void | write (char *filename) |
| virtual void | gather (int nFace, int dagger, int dir, cudaStream_t *stream_p=NULL) |
| virtual void | commsStart (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
| virtual int | commsQuery (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
| virtual void | commsWait (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
| virtual void | scatter (int nFace, int dagger, int dir) |
| const char * | VolString () const |
| virtual void | backup () const |
| Backs up the LatticeField. More... | |
| virtual void | restore () |
| Restores the cpuGaugeField. More... | |
Public Member Functions inherited from quda::Object | |
| Object () | |
| virtual | ~Object () |
Private Member Functions | |
| void | compute (const cudaGaugeField &gauge) |
Private Attributes | |
| void * | even |
| void * | odd |
| void * | evenNorm |
| void * | oddNorm |
| void * | evenInv |
| void * | oddInv |
| void * | evenInvNorm |
| void * | oddInvNorm |
Friends | |
| class | DiracClover |
| class | DiracCloverPC |
| struct | FullClover |
Definition at line 132 of file clover_field.h.
| quda::cudaCloverField::cudaCloverField | ( | const CloverFieldParam & | param | ) |
Definition at line 78 of file clover_field.cpp.
References quda::CloverField::bytes, quda::CloverField::clover, quda::CloverField::cloverInv, quda::CloverField::create, errorQuda, even, evenInv, evenInvNorm, evenNorm, quda::CloverField::invNorm, quda::CloverField::mu2, quda::CloverField::norm, quda::CloverField::norm_bytes, odd, oddInv, oddInvNorm, oddNorm, param, pool_device_malloc, quda::LatticeField::precision, QUDA_HALF_PRECISION, QUDA_NULL_FIELD_CREATE, QUDA_REFERENCE_FIELD_CREATE, tex, quda::LatticeField::total_bytes, and quda::CloverField::twisted.
|
virtual |
Definition at line 248 of file clover_field.cpp.
References checkCudaError, quda::CloverField::clover, quda::CloverField::cloverInv, quda::CloverField::create, quda::CloverField::invNorm, quda::CloverField::norm, pool_device_free, and QUDA_REFERENCE_FIELD_CREATE.
|
private |
Computes Fmunu given the gauge field U
Definition at line 356 of file clover_field.cpp.
References quda::computeClover(), errorQuda, quda::LatticeField::precision, quda::LatticeField::Precision(), and QUDA_CUDA_FIELD_LOCATION.

| void quda::cudaCloverField::copy | ( | const CloverField & | src, |
| bool | inverse = true |
||
| ) |
Copy into this CloverField from the generic CloverField src.
| src | The clover field from which we want to copy |
| inverse | Are we copying the inverse or direct field |
Definition at line 266 of file clover_field.cpp.
References quda::CloverField::bytes, checkCudaError, quda::LatticeField::checkField(), quda::CloverField::clover, quda::CloverField::cloverInv, quda::copyGenericClover(), errorQuda, quda::CloverField::invNorm, quda::CloverField::norm, quda::CloverField::norm_bytes, pool_device_free, pool_device_malloc, pool_pinned_free, pool_pinned_malloc, quda::LatticeField::precision, QUDA_CPU_FIELD_LOCATION, QUDA_CUDA_FIELD_LOCATION, QUDA_HALF_PRECISION, qudaMemcpy, quda::reorder_location(), and src.
Referenced by loadCloverQuda(), loadCPUField(), and loadSloppyCloverQuda().


| void quda::cudaCloverField::loadCPUField | ( | const cpuCloverField & | cpu | ) |
Copy into this CloverField from the cpuCloverField cpu
| cpu | The cpu clover field from which we want to copy |
Definition at line 320 of file clover_field.cpp.
References copy().

| void quda::cudaCloverField::saveCPUField | ( | cpuCloverField & | cpu | ) | const |
Copy from this CloverField into cpuCloverField cpu
| cpu | The cpu clover destination field |
Definition at line 322 of file clover_field.cpp.
References quda::CloverField::bytes, quda::LatticeField::checkField(), quda::CloverField::clover, quda::CloverField::cloverInv, quda::copyGenericClover(), errorQuda, quda::CloverField::invNorm, quda::CloverField::norm, quda::CloverField::norm_bytes, pool_pinned_free, pool_pinned_malloc, quda::LatticeField::precision, QUDA_CPU_FIELD_LOCATION, QUDA_HALF_PRECISION, qudaMemcpy, and quda::CloverField::V().

|
friend |
Definition at line 202 of file clover_field.h.
|
friend |
Definition at line 203 of file clover_field.h.
|
friend |
Definition at line 204 of file clover_field.h.
|
private |
Definition at line 135 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 138 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 139 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 136 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 135 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 138 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 139 of file clover_field.h.
Referenced by cudaCloverField().
|
private |
Definition at line 136 of file clover_field.h.
Referenced by cudaCloverField().
1.8.14