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

Definition at line 43 of file CudaInterface.h.

Public Member Functions

 CudaEvent (bool forTiming)
 Creates a new CUDA event.
 

Private Attributes

std::unique_ptr< void, Deleter< CudaEvent > > _ptr
 

#include </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-00-patches/roofit/batchcompute/src/CudaInterface.h>

Constructor & Destructor Documentation

◆ CudaEvent()

RooBatchCompute::CudaInterface::CudaEvent::CudaEvent ( bool  forTiming)

Creates a new CUDA event.

Parameters
[in]forTimingSet to true if the event is intended for timing purposes. If false, the cudaEventDisableTiming is passed to CUDA.
Returns
CudaEvent object representing the new event.

Definition at line 65 of file CudaInterface.cu.

Member Data Documentation

◆ _ptr

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

Definition at line 52 of file CudaInterface.h.

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