TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nmtSample::DeviceBuffer< T > Class Template Reference
Collaboration diagram for nmtSample::DeviceBuffer< T >:

Public Types

typedef std::shared_ptr< DeviceBuffer< T > > ptr
 

Public Member Functions

 DeviceBuffer (size_t elementCount)
 
virtual ~DeviceBuffer ()
 
 operator T* ()
 
 operator const T * () const
 

Protected Attributes

T * mBuffer
 

Member Typedef Documentation

◆ ptr

template<typename T >
typedef std::shared_ptr<DeviceBuffer<T> > nmtSample::DeviceBuffer< T >::ptr

Constructor & Destructor Documentation

◆ DeviceBuffer()

template<typename T >
nmtSample::DeviceBuffer< T >::DeviceBuffer ( size_t  elementCount)
inline

◆ ~DeviceBuffer()

template<typename T >
virtual nmtSample::DeviceBuffer< T >::~DeviceBuffer ( )
inlinevirtual

Member Function Documentation

◆ operator T*()

template<typename T >
nmtSample::DeviceBuffer< T >::operator T* ( )
inline

◆ operator const T *()

template<typename T >
nmtSample::DeviceBuffer< T >::operator const T * ( ) const
inline

Member Data Documentation

◆ mBuffer

template<typename T >
T* nmtSample::DeviceBuffer< T >::mBuffer
protected

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