Logo ROOT  
Reference Guide
BatchHelpers Namespace Reference

Classes

struct  ArrayWrapper
 
class  BatchData
 
class  BracketAdapter
 Little adapter that gives a bracket operator to types that don't have one. More...
 
class  BracketAdapterWithMask
 
struct  EvaluateInfo
 

Functions

size_t findSize (std::vector< RooSpan< const double > > parameters)
 This function returns the minimum size of the non-zero-sized batches. More...
 
EvaluateInfo getInfo (std::vector< const RooRealProxy * > parameters, size_t begin, size_t batchSize)
 
EvaluateInfo init (std::vector< RooRealProxy > parameters, std::vector< ArrayWrapper * > wrappers, std::vector< double * > arrays, size_t begin, size_t batchSize)
 

Variables

constexpr size_t block = 1024
 

Function Documentation

◆ findSize()

size_t BatchHelpers::findSize ( std::vector< RooSpan< const double > >  parameters)

This function returns the minimum size of the non-zero-sized batches.

Parameters
[in]parametersVector of spans to read sizes from.
Returns
Smallest non-zero size found.

Definition at line 26 of file BatchHelpers.cxx.

◆ getInfo()

EvaluateInfo BatchHelpers::getInfo ( std::vector< const RooRealProxy * >  parameters,
size_t  begin,
size_t  batchSize 
)

Definition at line 40 of file BatchHelpers.cxx.

◆ init()

EvaluateInfo BatchHelpers::init ( std::vector< RooRealProxy parameters,
std::vector< ArrayWrapper * >  wrappers,
std::vector< double * >  arrays,
size_t  begin,
size_t  batchSize 
)

Variable Documentation

◆ block

constexpr size_t BatchHelpers::block = 1024
constexpr

Definition at line 29 of file BatchHelpers.h.