TensorRT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
nvinfer1::IHostMemory Class Referenceabstract

Class to handle library allocated memory that is accessible to the user. More...

#include <NvInfer.h>

Public Member Functions

virtual void * data () const =0
 A pointer to the raw data that is owned by the library.
 
virtual std::size_t size () const =0
 The size in bytes of the data that was allocated.
 
virtual DataType type () const =0
 The type of the memory that was allocated.
 
virtual void destroy ()=0
 Destroy the allocated memory.
 

Detailed Description

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.


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