Interface for plugins to access per context resources provided by TensorRT.
More...
#include <NvInferRuntime.h>
Interface for plugins to access per context resources provided by TensorRT.
There is no public way to construct an IPluginResourceContext. It appears as an argument to IPluginV3OneRuntime::attachToContext(). Overrides of that method can use the IPluginResourceContext object to access any available per context resources.
- Warning
- Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
- See also
- IPluginV3OneRuntime::attachToContext()
◆ ~IPluginResourceContext()
virtual nvinfer1::IPluginResourceContext::~IPluginResourceContext |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ IPluginResourceContext() [1/3]
nvinfer1::IPluginResourceContext::IPluginResourceContext |
( |
| ) |
|
|
protecteddefault |
◆ IPluginResourceContext() [2/3]
◆ IPluginResourceContext() [3/3]
◆ getErrorRecorder()
virtual IErrorRecorder * nvinfer1::IPluginResourceContext::getErrorRecorder |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ getGpuAllocator()
virtual IGpuAllocator * nvinfer1::IPluginResourceContext::getGpuAllocator |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: