QUDA
1.0.0
|
Public Member Functions | |
CopySpinorEx (CopySpinorExArg< OutOrder, InOrder, Basis > &arg, const ColorSpinorField &meta, QudaFieldLocation location) | |
virtual | ~CopySpinorEx () |
void | apply (const cudaStream_t &stream) |
TuneKey | tuneKey () const |
long long | flops () const |
long long | bytes () const |
Private Member Functions | |
unsigned int | sharedBytesPerThread () const |
unsigned int | sharedBytesPerBlock (const TuneParam ¶m) const |
bool | advanceSharedBytes (TuneParam ¶m) const |
bool | tuneGridDim () const |
unsigned int | minThreads () const |
![]() | |
Tunable () | |
virtual | ~Tunable () |
virtual void | preTune () |
virtual void | postTune () |
virtual int | tuningIter () const |
virtual std::string | paramString (const TuneParam ¶m) const |
virtual std::string | perfString (float time) const |
virtual void | initTuneParam (TuneParam ¶m) const |
virtual void | defaultTuneParam (TuneParam ¶m) const |
virtual bool | advanceTuneParam (TuneParam ¶m) const |
void | checkLaunchParam (TuneParam ¶m) |
CUresult | jitifyError () const |
CUresult & | jitifyError () |
virtual bool | tuneAuxDim () const |
virtual bool | tuneSharedBytes () const |
virtual bool | advanceGridDim (TuneParam ¶m) const |
virtual unsigned int | maxBlockSize (const TuneParam ¶m) const |
virtual unsigned int | maxGridSize () const |
virtual unsigned int | minGridSize () const |
virtual int | gridStep () const |
gridStep sets the step size when iterating the grid size in advanceGridDim. More... | |
virtual int | blockStep () const |
virtual int | blockMin () const |
virtual void | resetBlockDim (TuneParam ¶m) const |
virtual bool | advanceBlockDim (TuneParam ¶m) const |
unsigned int | maxBlocksPerSM () const |
For some reason this can't be queried from the device properties, so here we set set this. Based on Table 14 of the CUDA Programming Guide 10.0 (Technical Specifications per Compute Capability) More... | |
template<typename F > | |
void | setMaxDynamicSharedBytesPerBlock (F *func) const |
Enable the maximum dynamic shared bytes for the kernel "func" (values given by maxDynamicSharedBytesPerBlock()). More... | |
unsigned int | maxDynamicSharedBytesPerBlock () const |
This can't be correctly queried in CUDA for all architectures so here we set set this. Based on Table 14 of the CUDA Programming Guide 10.0 (Technical Specifications per Compute Capability). More... | |
virtual unsigned int | maxSharedBytesPerBlock () const |
The maximum shared memory that a CUDA thread block can use in the autotuner. This isn't necessarily the same as maxDynamicSharedMemoryPerBlock since that may need explicit opt in to enable (by calling setMaxDynamicSharedBytes for the kernel in question). If the CUDA kernel in question does this opt in then this function can be overloaded to return maxDynamicSharedBytesPerBlock. More... | |
virtual bool | advanceAux (TuneParam ¶m) const |
int | writeAuxString (const char *format,...) |
Private Attributes | |
CopySpinorExArg< OutOrder, InOrder, Basis > | arg |
const ColorSpinorField & | meta |
QudaFieldLocation | location |
![]() | |
char | aux [TuneKey::aux_n] |
CUresult | jitify_error |
Definition at line 228 of file extended_color_spinor_utilities.cu.
|
inline |
Definition at line 242 of file extended_color_spinor_utilities.cu.
References quda::CopySpinorExArg< OutOrder, InOrder, Basis >::in, and quda::CopySpinorExArg< OutOrder, InOrder, Basis >::out.
|
inlinevirtual |
Definition at line 246 of file extended_color_spinor_utilities.cu.
|
inlineprivatevirtual |
The goal here is to throttle the number of thread blocks per SM by over-allocating shared memory (in order to improve L2 utilization, etc.). We thus request the smallest amount of dynamic shared memory that guarantees throttling to a given number of blocks, in order to allow some extra leeway.
Reimplemented from quda::Tunable.
Definition at line 237 of file extended_color_spinor_utilities.cu.
|
inlinevirtual |
Implements quda::Tunable.
Definition at line 248 of file extended_color_spinor_utilities.cu.
References quda::arg(), quda::TuneParam::block, getTuning(), getVerbosity(), quda::TuneParam::grid, QUDA_CPU_FIELD_LOCATION, QUDA_CUDA_FIELD_LOCATION, quda::TuneParam::shared_bytes, and quda::tuneLaunch().
Referenced by quda::copySpinorEx().
|
inlinevirtual |
Reimplemented from quda::Tunable.
Definition at line 262 of file extended_color_spinor_utilities.cu.
References quda::CopySpinorExArg< OutOrder, InOrder, Basis >::length.
|
inlinevirtual |
Implements quda::Tunable.
Definition at line 261 of file extended_color_spinor_utilities.cu.
|
inlineprivatevirtual |
Reimplemented from quda::Tunable.
Definition at line 239 of file extended_color_spinor_utilities.cu.
References quda::CopySpinorExArg< OutOrder, InOrder, Basis >::length.
|
inlineprivatevirtual |
Implements quda::Tunable.
Definition at line 236 of file extended_color_spinor_utilities.cu.
|
inlineprivatevirtual |
Implements quda::Tunable.
Definition at line 235 of file extended_color_spinor_utilities.cu.
|
inlineprivatevirtual |
Reimplemented from quda::Tunable.
Definition at line 238 of file extended_color_spinor_utilities.cu.
|
inlinevirtual |
Implements quda::Tunable.
Definition at line 259 of file extended_color_spinor_utilities.cu.
References quda::LatticeField::VolString().
|
private |
Definition at line 230 of file extended_color_spinor_utilities.cu.
|
private |
Definition at line 232 of file extended_color_spinor_utilities.cu.
|
private |
Definition at line 231 of file extended_color_spinor_utilities.cu.