Interface for plugins to access per context resources provided by TensorRT.
More...
#include <NvInferSafePlugin.h>
Interface for plugins to access per context resources provided by TensorRT.
There is no public way to construct an ISafePluginResourceContext (i.e. User should not construct this object). It appears as an argument to IPluginV3OneSafeRuntime::initResource(). Overrides of that method can use the ISafePluginResourceContext object to access the ISafeMemAllocator and ISafeRecorder object asscociate with the specific TRTGraph that the plugin is part of
- Warning
- Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
- See also
- IPluginV3OneSafeRuntime::initResource()
◆ ~ISafePluginResourceContext()
| virtual nvinfer2::safe::ISafePluginResourceContext::~ISafePluginResourceContext |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ ISafePluginResourceContext() [1/3]
| nvinfer2::safe::ISafePluginResourceContext::ISafePluginResourceContext |
( |
| ) |
|
|
protecteddefault |
◆ ISafePluginResourceContext() [2/3]
◆ ISafePluginResourceContext() [3/3]
◆ getRuntimeErrorInformation()
◆ getSafeMemAllocator()
| virtual ISafeMemAllocator * nvinfer2::safe::ISafePluginResourceContext::getSafeMemAllocator |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ getSafeRecorder()
| virtual ISafeRecorder * nvinfer2::safe::ISafePluginResourceContext::getSafeRecorder |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: