#include <Batching.h>
Public Member Functions | |
BatchStrategy ()=default | |
const BatchRule & | getRule (size_t batchSize) const |
bool | hasRule (size_t batchSize) const |
void | setDefaultRule (size_t batchSize, const std::vector< size_t > &availableBatchSizes) |
void | setRule (const BatchRule &rule) |
void | setRule (const std::string &ruleString) |
~BatchStrategy ()=default | |
Private Attributes | |
std::map< size_t, BatchRule > | rules_ |
Definition at line 59 of file Batching.h.
|
explicitdefault |
|
default |
const BatchRule & tfaot::BatchStrategy::getRule | ( | size_t | batchSize | ) | const |
Definition at line 85 of file Batching.cc.
References HLT_FULL_cff::batchSize, Exception, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and rules_.
|
inline |
void tfaot::BatchStrategy::setDefaultRule | ( | size_t | batchSize, |
const std::vector< size_t > & | availableBatchSizes | ||
) |
Definition at line 101 of file Batching.cc.
References HLT_FULL_cff::batchSize, spr::find(), dqmiodumpmetadata::n, mergeAndRegister::rest, and setRule().
|
inline |
Definition at line 68 of file Batching.h.
References tfaot::BatchRule::getBatchSize(), and rules_.
Referenced by tfaot::Model< W >::setBatchRule(), and setDefaultRule().
|
inline |