TensorRT 8.6.0
|
Class to handle library allocated memory that is accessible to the user. More...
#include <NvInferRuntime.h>
Public Member Functions | |
virtual | ~IHostMemory () noexcept=default |
void * | data () const noexcept |
A pointer to the raw data that is owned by the library. More... | |
std::size_t | size () const noexcept |
The size in bytes of the data that was allocated. More... | |
DataType | type () const noexcept |
The type of the memory that was allocated. More... | |
TRT_DEPRECATED void | destroy () noexcept |
Protected Attributes | |
apiv::VHostMemory * | mImpl |
Additional Inherited Members | |
![]() | |
INoCopy ()=default | |
virtual | ~INoCopy ()=default |
INoCopy (INoCopy const &other)=delete | |
INoCopy & | operator= (INoCopy const &other)=delete |
INoCopy (INoCopy &&other)=delete | |
INoCopy & | operator= (INoCopy &&other)=delete |
Class to handle library allocated memory that is accessible to the user.
The memory allocated via the host memory object is owned by the library and will be de-allocated when the destroy method is called.
|
virtualdefaultnoexcept |
|
inlinenoexcept |
A pointer to the raw data that is owned by the library.
|
inlinenoexcept |
Destroy the allocated memory.
delete
.
|
inlinenoexcept |
The size in bytes of the data that was allocated.
|
inlinenoexcept |
The type of the memory that was allocated.
|
protected |