TensorRT 8.6.0
nvinfer1::safe Namespace Reference

The safety subset of TensorRT's API version 1 namespace. More...

Classes

struct  FloatingPointErrorInformation
 Space to record information about floating point runtime errors. More...
 
class  ICudaEngine
 A functionally safe engine for executing inference on a built network. More...
 
class  IExecutionContext
 Functionally safe context for executing inference using an engine. More...
 
class  IPluginRegistry
 Single registration point for all plugins in an application. It is used to find plugin implementations during engine deserialization. Internally, the plugin registry is considered to be a singleton so all plugins in an application are part of the same global registry. Note that the plugin registry is only supported for plugins of type IPluginV2 and should also have a corresponding IPluginCreator implementation. More...
 
class  IRuntime
 Allows a serialized functionally safe engine to be deserialized. More...
 
class  PluginRegistrar
 Register the plugin creator to the registry The static registry object will be instantiated when the plugin library is loaded. This static object will register all creators available in the library to the registry. More...
 

Functions

IRuntimecreateInferRuntime (ILogger &logger) noexcept
 Create an instance of an safe::IRuntime class. More...
 
IPluginRegistrygetSafePluginRegistry () noexcept
 Return the safe plugin registry. More...
 

Detailed Description

The safety subset of TensorRT's API version 1 namespace.

Function Documentation

◆ createInferRuntime()

IRuntime * nvinfer1::safe::createInferRuntime ( ILogger logger)
noexcept

Create an instance of an safe::IRuntime class.

This class is the logging class for the runtime.


Usage considerations

  • Allowed context for the API call
    • Thread-safe: Yes

◆ getSafePluginRegistry()

IPluginRegistry * nvinfer1::safe::getSafePluginRegistry ( )
noexcept

Return the safe plugin registry.


Usage considerations

  • Allowed context for the API call
    • Thread-safe: Yes