#include <Wrapper.h>
Public Member Functions | |
AllocMode | allocMode () const |
int | argCount (size_t batchSize, size_t argIndex) const |
int | argCountNoBatch (size_t argIndex) const |
virtual const std::map< size_t, std::vector< size_t > > & | argCounts () const =0 |
virtual const std::vector< size_t > & | argCountsNoBatch () const =0 |
template<typename T > | |
T * | argData (size_t batchSize, size_t argIndex) |
template<typename T > | |
const T * | argData (size_t batchSize, size_t argIndex) const |
virtual const std::vector< size_t > & | batchSizes () const =0 |
bool | hasBatchSize (size_t batchSize) const |
const std::string & | name () const |
virtual size_t | nArgs () const =0 |
size_t | nBatchSizes () const |
virtual size_t | nResults () const =0 |
Wrapper & | operator= (const Wrapper &)=delete |
Wrapper & | operator= (Wrapper &&)=delete |
int | resultCount (size_t batchSize, size_t resultIndex) const |
int | resultCountNoBatch (size_t resultIndex) const |
virtual const std::map< size_t, std::vector< size_t > > & | resultCounts () const =0 |
virtual const std::vector< size_t > & | resultCountsNoBatch () const =0 |
template<typename T > | |
T * | resultData (size_t batchSize, size_t resultIndex) |
template<typename T > | |
const T * | resultData (size_t batchSize, size_t resultIndex) const |
void | run (size_t batchSize) |
virtual bool | runSilent (size_t batchSize)=0 |
Wrapper (const std::string &name) | |
Wrapper (const Wrapper &)=delete | |
virtual | ~Wrapper ()=default |
Protected Member Functions | |
void | unknownArgument (size_t argIndex, const std::string &method) const |
void | unknownBatchSize (size_t batchSize, const std::string &method) const |
void | unknownResult (size_t resultIndex, const std::string &method) const |
Private Attributes | |
AllocMode | allocMode_ |
std::string | name_ |
|
inlineexplicit |
|
delete |
|
virtualdefault |
|
inline |
int tfaot::Wrapper::argCount | ( | size_t | batchSize, |
size_t | argIndex | ||
) | const |
Definition at line 14 of file Wrapper.cc.
References argCounts(), HLT_FULL_cff::batchSize, dqmiodumpmetadata::counts, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, unknownArgument(), and unknownBatchSize().
int tfaot::Wrapper::argCountNoBatch | ( | size_t | argIndex | ) | const |
Definition at line 26 of file Wrapper.cc.
References argCountsNoBatch(), dqmiodumpmetadata::counts, and unknownArgument().
|
pure virtual |
Referenced by argCount().
|
pure virtual |
Referenced by argCountNoBatch().
T* tfaot::Wrapper::argData | ( | size_t | batchSize, |
size_t | argIndex | ||
) |
const T* tfaot::Wrapper::argData | ( | size_t | batchSize, |
size_t | argIndex | ||
) | const |
|
pure virtual |
Referenced by hasBatchSize(), and nBatchSizes().
|
inline |
Definition at line 57 of file Wrapper.h.
References HLT_FULL_cff::batchSize, batchSizes(), and cms::cuda::bs.
|
inline |
Definition at line 44 of file Wrapper.h.
References name_.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
|
pure virtual |
|
inline |
Definition at line 53 of file Wrapper.h.
References batchSizes().
|
pure virtual |
int tfaot::Wrapper::resultCount | ( | size_t | batchSize, |
size_t | resultIndex | ||
) | const |
Definition at line 34 of file Wrapper.cc.
References HLT_FULL_cff::batchSize, dqmiodumpmetadata::counts, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, resultCounts(), unknownBatchSize(), and unknownResult().
int tfaot::Wrapper::resultCountNoBatch | ( | size_t | resultIndex | ) | const |
Definition at line 46 of file Wrapper.cc.
References dqmiodumpmetadata::counts, resultCountsNoBatch(), and unknownResult().
|
pure virtual |
Referenced by resultCount().
|
pure virtual |
Referenced by resultCountNoBatch().
T* tfaot::Wrapper::resultData | ( | size_t | batchSize, |
size_t | resultIndex | ||
) |
const T* tfaot::Wrapper::resultData | ( | size_t | batchSize, |
size_t | resultIndex | ||
) | const |
void tfaot::Wrapper::run | ( | size_t | batchSize | ) |
Definition at line 54 of file Wrapper.cc.
References HLT_FULL_cff::batchSize, Exception, name_, and runSilent().
|
pure virtual |
Referenced by run().
|
inlineprotected |
Definition at line 130 of file Wrapper.h.
References Exception, AlcaSiPixelAliHarvester0T_cff::method, and name_.
Referenced by argCount(), and argCountNoBatch().
|
inlineprotected |
Definition at line 124 of file Wrapper.h.
References HLT_FULL_cff::batchSize, Exception, AlcaSiPixelAliHarvester0T_cff::method, and name_.
Referenced by argCount(), and resultCount().
|
inlineprotected |
Definition at line 136 of file Wrapper.h.
References Exception, AlcaSiPixelAliHarvester0T_cff::method, and name_.
Referenced by resultCount(), and resultCountNoBatch().
|
private |
Definition at line 143 of file Wrapper.h.
Referenced by allocMode().
|
private |
Definition at line 142 of file Wrapper.h.
Referenced by name(), run(), unknownArgument(), unknownBatchSize(), and unknownResult().