TensorRT 8.5.3
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  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...
 
nvinfer1::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()

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

Return the safe plugin registry.


Usage considerations

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