TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
sample::TrtCudaEvent Class Reference

Managed CUDA event. More...

Collaboration diagram for sample::TrtCudaEvent:

Public Member Functions

 TrtCudaEvent (bool blocking=true)
 
 TrtCudaEvent (const TrtCudaEvent &)=delete
 
TrtCudaEventoperator= (const TrtCudaEvent &)=delete
 
 TrtCudaEvent (TrtCudaEvent &&)=delete
 
TrtCudaEventoperator= (TrtCudaEvent &&)=delete
 
 ~TrtCudaEvent ()
 
cudaEvent_t get () const
 
void record (const TrtCudaStream &stream)
 
void synchronize ()
 
float operator- (const TrtCudaEvent &e) const
 

Private Attributes

cudaEvent_t mEvent {}
 

Detailed Description

Managed CUDA event.

Constructor & Destructor Documentation

◆ TrtCudaEvent() [1/3]

sample::TrtCudaEvent::TrtCudaEvent ( bool  blocking = true)
inlineexplicit
Here is the call graph for this function:

◆ TrtCudaEvent() [2/3]

sample::TrtCudaEvent::TrtCudaEvent ( const TrtCudaEvent )
delete

◆ TrtCudaEvent() [3/3]

sample::TrtCudaEvent::TrtCudaEvent ( TrtCudaEvent &&  )
delete

◆ ~TrtCudaEvent()

sample::TrtCudaEvent::~TrtCudaEvent ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

TrtCudaEvent& sample::TrtCudaEvent::operator= ( const TrtCudaEvent )
delete

◆ operator=() [2/2]

TrtCudaEvent& sample::TrtCudaEvent::operator= ( TrtCudaEvent &&  )
delete

◆ get()

cudaEvent_t sample::TrtCudaEvent::get ( ) const
inline
Here is the caller graph for this function:

◆ record()

void sample::TrtCudaEvent::record ( const TrtCudaStream stream)
inline
Here is the call graph for this function:

◆ synchronize()

void sample::TrtCudaEvent::synchronize ( )
inline
Here is the call graph for this function:

◆ operator-()

float sample::TrtCudaEvent::operator- ( const TrtCudaEvent e) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ mEvent

cudaEvent_t sample::TrtCudaEvent::mEvent {}
private

The documentation for this class was generated from the following file: