Minimal configuration struct to steer the evaluation of a single node with the RooBatchCompute library.
Definition at line 54 of file RooBatchCompute.h.
Public Member Functions | |
| CudaInterface::CudaStream * | cudaStream () const |
| int | nThreads () const |
| void | setCudaStream (CudaInterface::CudaStream *cudaStream) |
| void | setNThreads (int nThreads) |
| Number of threads to use for CPU batch computations and reductions. | |
| bool | useCuda () const |
Private Attributes | |
| CudaInterface::CudaStream * | _cudaStream = nullptr |
| int | _nThreads = 1 |
#include </github/home/ROOT-CI/src/roofit/batchcompute/res/RooBatchCompute.h>
|
inline |
Definition at line 58 of file RooBatchCompute.h.
|
inline |
Definition at line 65 of file RooBatchCompute.h.
|
inline |
Definition at line 57 of file RooBatchCompute.h.
|
inline |
Number of threads to use for CPU batch computations and reductions.
Values smaller than two mean single-threaded evaluation. The CPU backend may still evaluate small batches single-threaded to avoid scheduling overhead.
Definition at line 64 of file RooBatchCompute.h.
|
inline |
Definition at line 56 of file RooBatchCompute.h.
|
private |
Definition at line 68 of file RooBatchCompute.h.
|
private |
Definition at line 69 of file RooBatchCompute.h.