Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchCompute::RF_ARCH Namespace Reference

Contains the part of the code of the RooBatchCompute Library that needs to be compiled for every different cpu architecture. More...

Functions

void startComputationBernstein (size_t batchSize, double *__restrict output, const double *__restrict const xData, double xmin, double xmax, std::vector< double > coef)
 
void startComputationChebychev (size_t batchSize, double *__restrict output, const double *__restrict const xData, double xmin, double xmax, std::vector< double > coef)
 
void startComputationPolynomial (size_t batchSize, double *__restrict output, const double *__restrict const X, int lowestOrder, std::vector< BracketAdapterWithMask > &coefList)
 

Variables

static RooBatchComputeClass computeObj
 Static object to trigger the constructor which overwrites the dispatch pointer.
 

Detailed Description

Contains the part of the code of the RooBatchCompute Library that needs to be compiled for every different cpu architecture.

RF_ARCH is a macro that is defined by cmake. The macro gets a different name for each copy of the library, namely GENERIC, SSE4, AVX, AVX2, AVX512, CUDA. This ensures that name clashes are avoided.

See also
RooBatchComputeInterface, RooBatchComputeClass, RooBatchCompute::dispatch

Function Documentation

◆ startComputationBernstein()

void RooBatchCompute::RF_ARCH::startComputationBernstein ( size_t  batchSize,
double *__restrict  output,
const double *__restrict const  xData,
double  xmin,
double  xmax,
std::vector< double coef 
)

Definition at line 35 of file RooBatchCompute.cxx.

◆ startComputationChebychev()

void RooBatchCompute::RF_ARCH::startComputationChebychev ( size_t  batchSize,
double *__restrict  output,
const double *__restrict const  xData,
double  xmin,
double  xmax,
std::vector< double coef 
)

Definition at line 191 of file RooBatchCompute.cxx.

◆ startComputationPolynomial()

void RooBatchCompute::RF_ARCH::startComputationPolynomial ( size_t  batchSize,
double *__restrict  output,
const double *__restrict const  X,
int  lowestOrder,
std::vector< BracketAdapterWithMask > &  coefList 
)

Definition at line 566 of file RooBatchCompute.cxx.

Variable Documentation

◆ computeObj

RooBatchComputeClass RooBatchCompute::RF_ARCH::computeObj
static

Static object to trigger the constructor which overwrites the dispatch pointer.

Definition at line 763 of file RooBatchCompute.cxx.