Definition at line 69 of file Batches.h.
#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/roofit/batchcompute/src/Batches.h>
◆ Batches() [1/3]
Construct a Batches object.
- Parameters
-
output | The array where the computation results are stored. |
nEvents | The number of events to be processed. |
vars | A std::vector containing pointers to the variables involved in the computation. |
extraArgs | An optional std::vector containing extra double values that may participate in the computation. |
buffer | A 2D array that is used as a buffer for scalar variables. For every scalar parameter a buffer (one row of the buffer) is filled with copies of the scalar value, so that it behaves as a batch and facilitates auto-vectorization. The Batches object can be passed by value to a compute function to perform efficient computations. |
Definition at line 160 of file RooBatchCompute.cxx.
◆ Batches() [2/3]
RooBatchCompute::RF_ARCH::Batches::Batches |
( |
const Batches & |
| ) |
|
|
delete |
◆ Batches() [3/3]
RooBatchCompute::RF_ARCH::Batches::Batches |
( |
Batches && |
| ) |
|
|
delete |
◆ advance()
void RooBatchCompute::RF_ARCH::Batches::advance |
( |
size_t |
nEvents | ) |
|
|
inline |
◆ extraArg()
◆ getNEvents()
__roodevice__ size_t RooBatchCompute::RF_ARCH::Batches::getNEvents |
( |
| ) |
const |
|
inline |
◆ getNExtraArgs()
◆ operator=() [1/2]
◆ operator=() [2/2]
Batches & RooBatchCompute::RF_ARCH::Batches::operator= |
( |
const Batches & |
| ) |
|
|
delete |
◆ operator[]()
◆ setExtraArg()
◆ setNEvents()
void RooBatchCompute::RF_ARCH::Batches::setNEvents |
( |
size_t |
n | ) |
|
|
inline |
◆ _arrays
std::vector<Batch> RooBatchCompute::RF_ARCH::Batches::_arrays |
|
private |
◆ _extraArgs
std::vector<double> RooBatchCompute::RF_ARCH::Batches::_extraArgs |
|
private |
◆ _nBatches
uint8_t RooBatchCompute::RF_ARCH::Batches::_nBatches = 0 |
|
private |
◆ _nEvents
size_t RooBatchCompute::RF_ARCH::Batches::_nEvents = 0 |
|
private |
◆ _nExtraArgs
uint8_t RooBatchCompute::RF_ARCH::Batches::_nExtraArgs = 0 |
|
private |
◆ _output
RestrictArr RooBatchCompute::RF_ARCH::Batches::_output = nullptr |
roofit/batchcompute/src/Batches.h
roofit/batchcompute/src/RooBatchCompute.cxx