|
TensorRT 8.2.1
|
Class to handle library allocated memory that is accessible to the user. More...
#include <NvInferRuntime.h>
Public Member Functions | |
| void * | data () const noexcept |
| A pointer to the raw data that is owned by the library. | |
| std::size_t | size () const noexcept |
| The size in bytes of the data that was allocated. | |
| DataType | type () const noexcept |
| The type of the memory that was allocated. | |
| TRT_DEPRECATED void | destroy () noexcept |
Protected Attributes | |
| apiv::VHostMemory * | mImpl |
Additional Inherited Members | |
Protected Member Functions inherited from nvinfer1::INoCopy | |
| INoCopy (const INoCopy &other)=delete | |
| INoCopy & | operator= (const INoCopy &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.
|
inlinenoexcept |
Destroy the allocated memory.