Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchCompute::CudaInterface::CudaStream Class Reference

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 </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-00-patches/roofit/batchcompute/src/CudaInterface.h>

Constructor & Destructor Documentation

◆ CudaStream()

RooBatchCompute::CudaInterface::CudaStream::CudaStream ( )

Creates a new CUDA stream.

Returns
CudaStream object representing the new stream.

Definition at line 106 of file CudaInterface.cu.

Member Function Documentation

◆ isActive()

bool RooBatchCompute::CudaInterface::CudaStream::isActive ( )

Checks if a CUDA stream is currently active.

Returns
True if the stream is active, false otherwise.

Definition at line 118 of file CudaInterface.cu.

◆ waitForEvent()

void RooBatchCompute::CudaInterface::CudaStream::waitForEvent ( CudaEvent event)

Makes a CUDA stream wait for a CUDA event.

Parameters
[in]eventCudaEvent object representing the event to wait for.

Definition at line 134 of file CudaInterface.cu.

Member Data Documentation

◆ _ptr

std::unique_ptr<void, Deleter<CudaStream> > RooBatchCompute::CudaInterface::CudaStream::_ptr
private

Definition at line 71 of file CudaInterface.h.

  • roofit/batchcompute/src/CudaInterface.h
  • roofit/batchcompute/src/CudaInterface.cu