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 |
RooBatchCompute::CudaInterface::CudaStream::CudaStream | ( | ) |
Creates a new CUDA stream.
Definition at line 106 of file CudaInterface.cu.
bool RooBatchCompute::CudaInterface::CudaStream::isActive | ( | ) |
Checks if a CUDA stream is currently active.
Definition at line 118 of file CudaInterface.cu.
void RooBatchCompute::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 134 of file CudaInterface.cu.
|
private |
Definition at line 71 of file CudaInterface.h.