QUDA  0.9.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
quda::ExtractGhost< Float, length, nDim, Order > Class Template Reference
Inheritance diagram for quda::ExtractGhost< Float, length, nDim, Order >:
Inheritance graph
[legend]
Collaboration diagram for quda::ExtractGhost< Float, length, nDim, Order >:
Collaboration graph
[legend]

Public Member Functions

 ExtractGhost (ExtractGhostArg< Order, nDim > &arg, const GaugeField &meta, QudaFieldLocation location, bool extract)
 
virtual ~ExtractGhost ()
 
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 &param) const
 
bool tuneGridDim () const
 
unsigned int minThreads () const
 
- Private Member Functions inherited from quda::Tunable
 Tunable ()
 
virtual ~Tunable ()
 
virtual void preTune ()
 
virtual void postTune ()
 
virtual int tuningIter () const
 
virtual std::string paramString (const TuneParam &param) const
 
virtual std::string perfString (float time) const
 
virtual void initTuneParam (TuneParam &param) const
 
virtual void defaultTuneParam (TuneParam &param) const
 
virtual bool advanceTuneParam (TuneParam &param) const
 
void checkLaunchParam (TuneParam &param)
 
virtual bool tuneAuxDim () const
 
virtual bool tuneSharedBytes () const
 
virtual bool advanceGridDim (TuneParam &param) const
 
virtual unsigned int maxBlockSize () const
 
virtual unsigned int maxGridSize () const
 
virtual unsigned int minGridSize () const
 
virtual int blockStep () const
 
virtual int blockMin () const
 
virtual bool advanceBlockDim (TuneParam &param) const
 
unsigned int maxBlocksPerSM () const
 For 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 9.0 (Technical Specifications per Compute Capability) More...
 
virtual bool advanceSharedBytes (TuneParam &param) const
 
virtual bool advanceAux (TuneParam &param) const
 
int writeAuxString (const char *format,...)
 

Private Attributes

ExtractGhostArg< Order, nDim > arg
 
int size
 
const GaugeFieldmeta
 
QudaFieldLocation location
 
bool extract
 
- Private Attributes inherited from quda::Tunable
char aux [TuneKey::aux_n]
 

Detailed Description

template<typename Float, int length, int nDim, typename Order>
class quda::ExtractGhost< Float, length, nDim, Order >

Definition at line 165 of file extract_gauge_ghost_helper.cuh.

Constructor & Destructor Documentation

◆ ExtractGhost()

template<typename Float, int length, int nDim, typename Order>
quda::ExtractGhost< Float, length, nDim, Order >::ExtractGhost ( ExtractGhostArg< Order, nDim > &  arg,
const GaugeField meta,
QudaFieldLocation  location,
bool  extract 
)
inline

◆ ~ExtractGhost()

template<typename Float, int length, int nDim, typename Order>
virtual quda::ExtractGhost< Float, length, nDim, Order >::~ExtractGhost ( )
inlinevirtual

Definition at line 195 of file extract_gauge_ghost_helper.cuh.

Member Function Documentation

◆ apply()

template<typename Float, int length, int nDim, typename Order>
void quda::ExtractGhost< Float, length, nDim, Order >::apply ( const cudaStream_t &  stream)
inlinevirtual

◆ bytes()

template<typename Float, int length, int nDim, typename Order>
long long quda::ExtractGhost< Float, length, nDim, Order >::bytes ( ) const
inlinevirtual

Reimplemented from quda::Tunable.

Definition at line 216 of file extract_gauge_ghost_helper.cuh.

References quda::ExtractGhost< Float, length, nDim, Order >::arg, and d.

◆ flops()

template<typename Float, int length, int nDim, typename Order>
long long quda::ExtractGhost< Float, length, nDim, Order >::flops ( ) const
inlinevirtual

Implements quda::Tunable.

Definition at line 215 of file extract_gauge_ghost_helper.cuh.

◆ minThreads()

template<typename Float, int length, int nDim, typename Order>
unsigned int quda::ExtractGhost< Float, length, nDim, Order >::minThreads ( ) const
inlineprivatevirtual

◆ sharedBytesPerBlock()

template<typename Float, int length, int nDim, typename Order>
unsigned int quda::ExtractGhost< Float, length, nDim, Order >::sharedBytesPerBlock ( const TuneParam param) const
inlineprivatevirtual

Implements quda::Tunable.

Definition at line 174 of file extract_gauge_ghost_helper.cuh.

◆ sharedBytesPerThread()

template<typename Float, int length, int nDim, typename Order>
unsigned int quda::ExtractGhost< Float, length, nDim, Order >::sharedBytesPerThread ( ) const
inlineprivatevirtual

Implements quda::Tunable.

Definition at line 173 of file extract_gauge_ghost_helper.cuh.

◆ tuneGridDim()

template<typename Float, int length, int nDim, typename Order>
bool quda::ExtractGhost< Float, length, nDim, Order >::tuneGridDim ( ) const
inlineprivatevirtual

Reimplemented from quda::Tunable.

Definition at line 176 of file extract_gauge_ghost_helper.cuh.

◆ tuneKey()

template<typename Float, int length, int nDim, typename Order>
TuneKey quda::ExtractGhost< Float, length, nDim, Order >::tuneKey ( ) const
inlinevirtual

Implements quda::Tunable.

Definition at line 213 of file extract_gauge_ghost_helper.cuh.

References quda::Tunable::aux, quda::ExtractGhost< Float, length, nDim, Order >::meta, and quda::LatticeField::VolString().

Here is the call graph for this function:

Member Data Documentation

◆ arg

template<typename Float, int length, int nDim, typename Order>
ExtractGhostArg<Order,nDim> quda::ExtractGhost< Float, length, nDim, Order >::arg
private

◆ extract

template<typename Float, int length, int nDim, typename Order>
bool quda::ExtractGhost< Float, length, nDim, Order >::extract
private

◆ location

template<typename Float, int length, int nDim, typename Order>
QudaFieldLocation quda::ExtractGhost< Float, length, nDim, Order >::location
private

◆ meta

template<typename Float, int length, int nDim, typename Order>
const GaugeField& quda::ExtractGhost< Float, length, nDim, Order >::meta
private

◆ size

template<typename Float, int length, int nDim, typename Order>
int quda::ExtractGhost< Float, length, nDim, Order >::size
private

The documentation for this class was generated from the following file: