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

wrapper for the pinned host memory region More...

Inheritance diagram for nmtSample::PinnedHostBuffer< T >:
Collaboration diagram for nmtSample::PinnedHostBuffer< T >:

Public Types

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

Public Member Functions

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

Protected Attributes

T * mBuffer
 

Detailed Description

template<typename T>
class nmtSample::PinnedHostBuffer< T >

wrapper for the pinned host memory region

Member Typedef Documentation

◆ ptr

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

Constructor & Destructor Documentation

◆ PinnedHostBuffer()

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

◆ ~PinnedHostBuffer()

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

Member Function Documentation

◆ operator T*()

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

◆ operator const T *()

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

Member Data Documentation

◆ mBuffer

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

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