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

Definition at line 43 of file CudaInterface.h.

Public Member Functions

 CudaEvent (bool)
 Creates a new CUDA event.
 

Private Attributes

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

#include <RooFit/Detail/CudaInterface.h>

Constructor & Destructor Documentation

◆ CudaEvent()

RooFit::Detail::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 66 of file CudaInterface.cu.

Member Data Documentation

◆ _ptr

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

Definition at line 52 of file CudaInterface.h.

  • roofit/roofitcuda/inc/RooFit/Detail/CudaInterface.h
  • roofit/roofitcuda/src/CudaInterface.cu