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

Managed CUDA stream. More...

Collaboration diagram for sample::TrtCudaStream:

Public Member Functions

 TrtCudaStream ()
 
 TrtCudaStream (const TrtCudaStream &)=delete
 
TrtCudaStreamoperator= (const TrtCudaStream &)=delete
 
 TrtCudaStream (TrtCudaStream &&)=delete
 
TrtCudaStreamoperator= (TrtCudaStream &&)=delete
 
 ~TrtCudaStream ()
 
cudaStream_t get () const
 
void synchronize ()
 
void wait (TrtCudaEvent &event)
 
void sleep (int *ms)
 

Private Attributes

cudaStream_t mStream {}
 

Detailed Description

Managed CUDA stream.

Constructor & Destructor Documentation

◆ TrtCudaStream() [1/3]

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

◆ TrtCudaStream() [2/3]

sample::TrtCudaStream::TrtCudaStream ( const TrtCudaStream )
delete

◆ TrtCudaStream() [3/3]

sample::TrtCudaStream::TrtCudaStream ( TrtCudaStream &&  )
delete

◆ ~TrtCudaStream()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ get()

cudaStream_t sample::TrtCudaStream::get ( ) const
inline

◆ synchronize()

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

◆ wait()

void sample::TrtCudaStream::wait ( TrtCudaEvent event)
inline
Here is the call graph for this function:

◆ sleep()

void sample::TrtCudaStream::sleep ( int ms)
inline
Here is the call graph for this function:

Member Data Documentation

◆ mStream

cudaStream_t sample::TrtCudaStream::mStream {}
private

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