|
TensorRT 11.2.1
|
Runtime component of the pluginV3 system. More...
#include <NvInferSafePlugin.h>
Public Member Functions | |
| InterfaceInfo | getInterfaceInfo () const noexcept override |
| Return version information associated with this interface. Applications must not override this method. More... | |
| IPluginV3OneSafeRuntime (IPluginV3OneSafeRuntime const &)=default | |
| Copy constructor. More... | |
| IPluginV3OneSafeRuntime (IPluginV3OneSafeRuntime &&)=default | |
| Move constructor. More... | |
| IPluginV3OneSafeRuntime & | operator= (IPluginV3OneSafeRuntime const &) &=default |
| Copy assignment operator. More... | |
| IPluginV3OneSafeRuntime & | operator= (IPluginV3OneSafeRuntime &&) &=default |
| Move assignment operator. More... | |
| ~IPluginV3OneSafeRuntime () noexcept override=default | |
| Destructor for IPluginV3OneSafeRuntime. More... | |
| virtual int32_t | setTactic (int32_t) noexcept |
| Set the tactic to be used in the subsequent call to enqueue(). If no custom tactics were advertised, this will have a value of 0, which is designated as the default tactic. More... | |
| virtual int32_t | enqueue (TensorDescriptor const *inputDesc, TensorDescriptor const *outputDesc, void const *const *inputs, void *const *outputs, void *workspace, cudaStream_t stream) noexcept=0 |
| Execute the layer. More... | |
| virtual int32_t | initResource (ISafePluginResourceContext const *context) noexcept=0 |
| This function will be called to initialize a plugin object after it is created (before execution phase), either during graph deserialization or when the graph is cloned. The overriding implementations of this function can use the provided context object to access the message recorder, the memory allocator and the runtime error buffer of the graph context to which this plugin belongs. More... | |
| virtual IPluginV3 * | clone () noexcept=0 |
| Clone the plugin object. This copies over internal plugin parameters and returns a new plugin object with these parameters. This call will always be followed by a call to initResource() to complete any initializations that depend on the graph context. More... | |
| virtual PluginFieldCollection const * | getFieldsToSerialize () noexcept=0 |
| Get the plugin fields which should be serialized. More... | |
Public Member Functions inherited from nvinfer1::IVersionedInterface | |
| virtual APILanguage | getAPILanguage () const noexcept |
| The language used to build the implementation of this Interface. More... | |
| virtual | ~IVersionedInterface () noexcept=default |
Protected Member Functions | |
| IPluginV3OneSafeRuntime ()=default | |
| Default constructor. More... | |
Protected Member Functions inherited from nvinfer1::IVersionedInterface | |
| IVersionedInterface ()=default | |
| IVersionedInterface (IVersionedInterface const &)=default | |
| IVersionedInterface (IVersionedInterface &&)=default | |
| IVersionedInterface & | operator= (IVersionedInterface const &) &=default |
| IVersionedInterface & | operator= (IVersionedInterface &&) &=default |
Runtime component of the pluginV3 system.
|
default |
Copy constructor.
|
default |
Move constructor.
|
overridedefaultnoexcept |
Destructor for IPluginV3OneSafeRuntime.
|
protecteddefault |
Default constructor.
|
pure virtualnoexcept |
Clone the plugin object. This copies over internal plugin parameters and returns a new plugin object with these parameters. This call will always be followed by a call to initResource() to complete any initializations that depend on the graph context.
|
pure virtualnoexcept |
Execute the layer.
| inputDesc | how to interpret the memory for the input tensors. |
| outputDesc | how to interpret the memory for the output tensors. |
| inputs | The memory for the input tensors. |
| outputs | The memory for the output tensors. |
| workspace | Workspace for execution. |
| stream | The stream in which to execute the kernels. |
|
pure virtualnoexcept |
Get the plugin fields which should be serialized.
|
inlineoverridevirtualnoexcept |
Return version information associated with this interface. Applications must not override this method.
Implements nvinfer1::IVersionedInterface.
|
pure virtualnoexcept |
This function will be called to initialize a plugin object after it is created (before execution phase), either during graph deserialization or when the graph is cloned. The overriding implementations of this function can use the provided context object to access the message recorder, the memory allocator and the runtime error buffer of the graph context to which this plugin belongs.
| ISafePluginResourceContext | A pointer to the ISafePluginResourceContext which contains the message recorder, the memory allocator, and the runtime error information buffer. |
|
default |
Move assignment operator.
|
default |
Copy assignment operator.
|
inlinevirtualnoexcept |
Set the tactic to be used in the subsequent call to enqueue(). If no custom tactics were advertised, this will have a value of 0, which is designated as the default tactic.
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact