35 throw std::runtime_error(
"RooFit was unable to load its computation library " +
libName);
57#ifdef R__RF_ARCHITECTURE_SPECIFIC_LIBS
82 throw std::invalid_argument(
83 R
"(Supported options for "RooFit.BatchCompute" are "auto", "avx512", "avx2", "avx", "sse", "generic".)");
108 return gEnv->
GetValue(
"RooFit.BatchCompute",
"generic");
114 throw std::runtime_error(
"It is not possible to choose a different BatchCompute library after RooBatchCompute "
115 "was already initialised!");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
R__EXTERN TSystem * gSystem
The interface which should be implemented to provide optimised computation functions for implementati...
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
Namespace for dispatching RooFit computations to various backends.
R__EXTERN RooBatchComputeInterface * dispatchCUDA
std::string getBatchComputeChoice()
R__EXTERN RooBatchComputeInterface * dispatchCPU
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
void setBatchComputeChoice(std::string const &value)
int initCPU()
Inspect hardware capabilities, and load the optimal library for RooFit computations.