#include <cstddef>#include <memory>Classes | |
| class | RooFit::Detail::CudaInterface::Array< Data_t, Memory_t > |
| A templated class for managing an array of data using a specified memory type. More... | |
| class | RooFit::Detail::CudaInterface::CudaEvent |
| class | RooFit::Detail::CudaInterface::CudaStream |
Namespaces | |
| namespace | RooFit |
| The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments). | |
| namespace | RooFit::Detail |
| namespace | RooFit::Detail::CudaInterface |
Typedefs | |
| template<class T > | |
| using | RooFit::Detail::CudaInterface::DeviceArray = Array< T, DeviceMemory > |
An array of specific type that is allocated on the device with cudaMalloc and freed with cudaFree. | |
| template<class T > | |
| using | RooFit::Detail::CudaInterface::PinnedHostArray = Array< T, PinnedHostMemory > |
A pinned array of specific type that allocated on the host with cudaMallocHost and freed with cudaFreeHost. | |
Functions | |
| template<class T > | |
| void | RooFit::Detail::CudaInterface::copyDeviceToHost (const T *src, T *dest, std::size_t n, CudaStream *=nullptr) |
| Copies data from the CUDA device to the host. | |
| template<class T > | |
| void | RooFit::Detail::CudaInterface::copyHostToDevice (const T *src, T *dest, std::size_t n, CudaStream *=nullptr) |
| Copies data from the host to the CUDA device. | |
| float | RooFit::Detail::CudaInterface::cudaEventElapsedTime (CudaEvent &begin, CudaEvent &end) |
| Calculates the elapsed time between two CUDA events. | |
| void | RooFit::Detail::CudaInterface::cudaEventRecord (CudaEvent &event, CudaStream &stream) |
| Records a CUDA event. | |