Definition at line 58 of file CudaInterface.h.
Public Member Functions | |
CudaStream () | |
Creates a new CUDA stream. | |
bool | isActive () |
Checks if a CUDA stream is currently active. | |
void | waitForEvent (CudaEvent &) |
Makes a CUDA stream wait for a CUDA event. | |
Private Attributes | |
std::unique_ptr< void, Deleter< CudaStream > > | _ptr |
#include <RooFit/Detail/CudaInterface.h>
RooFit::Detail::CudaInterface::CudaStream::CudaStream | ( | ) |
Creates a new CUDA stream.
Definition at line 107 of file CudaInterface.cu.
bool RooFit::Detail::CudaInterface::CudaStream::isActive | ( | ) |
Checks if a CUDA stream is currently active.
Definition at line 119 of file CudaInterface.cu.
void RooFit::Detail::CudaInterface::CudaStream::waitForEvent | ( | CudaEvent & | event | ) |
Makes a CUDA stream wait for a CUDA event.
[in] | event | CudaEvent object representing the event to wait for. |
Definition at line 135 of file CudaInterface.cu.
|
private |
Definition at line 71 of file CudaInterface.h.