Migrating C++ Code from TensorRT 10.x to 11.x#

This page describes how to update C++ code when you migrate from TensorRT 10.x to 11.x: paired examples for strongly typed networks, explicit quantization, plugin migration, and updated runtime APIs, followed by lists of C++ APIs added and removed in 11.x.

Warning

Engine files are executable artifacts that contain compiled CUDA tactics. The deserializeCudaEngine examples in C++ Migration Patterns for TensorRT 11.x assume the engine file was built by you on a trusted host or received over a trusted, authenticated channel. Never deserialize an engine file from an untrusted source. Refer to Engine Deserialization and the Trust Boundary for the full trust-boundary model.

For conceptual background on strong typing, plugin V3, and other 11.x breaking changes, refer to Migrating from TensorRT 10.x to 11.x.

In this guide