|
| Executor () |
| Default constructor of TMVA Executor class if ROOT::EnableIMplicitMT has not been called then by default a serial executor will be created A user can create a thread pool and enable multi-thread excution by calling TMVA::Config::Instance()::EnableMT(nthreads) For releasing the thread pool used by TMVA one can do it by calling TMVA::Config::Instance()::DisableMT() or calling TMVA::Config::Instance()::EnableMT with only one thread. More...
|
|
| Executor (int nthreads) |
| Constructor of TMVA Executor class Explicit specify the number of threads. More...
|
|
template<class Function , class INTEGER > |
void | Foreach (Function func, ROOT::TSeq< INTEGER > args, unsigned nChunks=0) |
|
template<class Function , class T > |
void | Foreach (Function func, std::vector< T > &args, unsigned nChunks=0) |
|
template<class Function > |
void | Foreach (Function func, unsigned int nTimes, unsigned nChunks=0) |
| wrap TExecutor::Foreach More...
|
|
ROOT::TThreadExecutor * | GetMultiThreadExecutor () |
|
unsigned int | GetPoolSize () const |
|
template<class F , class INTEGER , class Cond = noReferenceCond<F, INTEGER>> |
auto | Map (F func, ROOT::TSeq< INTEGER > args) -> std::vector< typename std::result_of< F(INTEGER)>::type > |
|
template<class F , class Cond = noReferenceCond<F>> |
auto | Map (F func, unsigned nTimes) -> std::vector< typename std::result_of< F()>::type > |
| Wrap TExecutor::Map functions. More...
|
|
template<class F , class INTEGER , class R , class Cond = noReferenceCond<F, INTEGER>> |
auto | MapReduce (F func, ROOT::TSeq< INTEGER > args, R redfunc) -> typename std::result_of< F(INTEGER)>::type |
| Wrap TExecutor::MapReduce functions. More...
|
|
template<class F , class INTEGER , class R , class Cond = noReferenceCond<F, INTEGER>> |
auto | MapReduce (F func, ROOT::TSeq< INTEGER > args, R redfunc, unsigned nChunks) -> typename std::result_of< F(INTEGER)>::type |
|
template<class T , class R > |
auto | Reduce (const std::vector< T > &objs, R redfunc) -> decltype(redfunc(objs)) |
| Wrap Reduce function. More...
|
|