QUDA  0.9.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
quda::KSLongLinkForce< Float, Result, Oprod, Gauge > Class Template Reference
Inheritance diagram for quda::KSLongLinkForce< Float, Result, Oprod, Gauge >:
Inheritance graph
[legend]
Collaboration diagram for quda::KSLongLinkForce< Float, Result, Oprod, Gauge >:
Collaboration graph
[legend]

Public Member Functions

 KSLongLinkForce (KSLongLinkArg< Result, Oprod, Gauge > &arg, const GaugeField &meta, QudaFieldLocation location)
 
virtual ~KSLongLinkForce ()
 
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 tuneSharedBytes () 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 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

KSLongLinkArg< Result, Oprod, Gauge > arg
 
const GaugeFieldmeta
 
const QudaFieldLocation location
 
- Private Attributes inherited from quda::Tunable
char aux [TuneKey::aux_n]
 

Detailed Description

template<typename Float, typename Result, typename Oprod, typename Gauge>
class quda::KSLongLinkForce< Float, Result, Oprod, Gauge >

Definition at line 334 of file ks_force_quda.cu.

Constructor & Destructor Documentation

◆ KSLongLinkForce()

template<typename Float, typename Result, typename Oprod, typename Gauge>
quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::KSLongLinkForce ( KSLongLinkArg< Result, Oprod, Gauge > &  arg,
const GaugeField meta,
QudaFieldLocation  location 
)
inline

Definition at line 350 of file ks_force_quda.cu.

References quda::arg().

Here is the call graph for this function:

◆ ~KSLongLinkForce()

template<typename Float, typename Result, typename Oprod, typename Gauge>
virtual quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::~KSLongLinkForce ( )
inlinevirtual

Definition at line 355 of file ks_force_quda.cu.

Member Function Documentation

◆ apply()

template<typename Float, typename Result, typename Oprod, typename Gauge>
void quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::apply ( const cudaStream_t &  stream)
inlinevirtual

Implements quda::Tunable.

Definition at line 357 of file ks_force_quda.cu.

References quda::arg(), blockDim, gridDim, and QUDA_CUDA_FIELD_LOCATION.

Referenced by quda::computeKSLongLinkForce().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bytes()

template<typename Float, typename Result, typename Oprod, typename Gauge>
long long quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::bytes ( ) const
inlinevirtual

Reimplemented from quda::Tunable.

Definition at line 371 of file ks_force_quda.cu.

◆ flops()

template<typename Float, typename Result, typename Oprod, typename Gauge>
long long quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::flops ( ) const
inlinevirtual

Implements quda::Tunable.

Definition at line 370 of file ks_force_quda.cu.

◆ minThreads()

template<typename Float, typename Result, typename Oprod, typename Gauge>
unsigned int quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::minThreads ( ) const
inlineprivatevirtual

Reimplemented from quda::Tunable.

Definition at line 347 of file ks_force_quda.cu.

References quda::arg().

Here is the call graph for this function:

◆ sharedBytesPerBlock()

template<typename Float, typename Result, typename Oprod, typename Gauge>
unsigned int quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::sharedBytesPerBlock ( const TuneParam param) const
inlineprivatevirtual

Implements quda::Tunable.

Definition at line 343 of file ks_force_quda.cu.

◆ sharedBytesPerThread()

template<typename Float, typename Result, typename Oprod, typename Gauge>
unsigned int quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::sharedBytesPerThread ( ) const
inlineprivatevirtual

Implements quda::Tunable.

Definition at line 342 of file ks_force_quda.cu.

◆ tuneGridDim()

template<typename Float, typename Result, typename Oprod, typename Gauge>
bool quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::tuneGridDim ( ) const
inlineprivatevirtual

Reimplemented from quda::Tunable.

Definition at line 346 of file ks_force_quda.cu.

◆ tuneKey()

template<typename Float, typename Result, typename Oprod, typename Gauge>
TuneKey quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::tuneKey ( ) const
inlinevirtual

Implements quda::Tunable.

Definition at line 368 of file ks_force_quda.cu.

References quda::LatticeField::VolString().

Here is the call graph for this function:

◆ tuneSharedBytes()

template<typename Float, typename Result, typename Oprod, typename Gauge>
bool quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::tuneSharedBytes ( ) const
inlineprivatevirtual

Reimplemented from quda::Tunable.

Definition at line 345 of file ks_force_quda.cu.

Member Data Documentation

◆ arg

template<typename Float, typename Result, typename Oprod, typename Gauge>
KSLongLinkArg<Result,Oprod,Gauge> quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::arg
private

Definition at line 337 of file ks_force_quda.cu.

◆ location

template<typename Float, typename Result, typename Oprod, typename Gauge>
const QudaFieldLocation quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::location
private

Definition at line 339 of file ks_force_quda.cu.

◆ meta

template<typename Float, typename Result, typename Oprod, typename Gauge>
const GaugeField& quda::KSLongLinkForce< Float, Result, Oprod, Gauge >::meta
private

Definition at line 338 of file ks_force_quda.cu.


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