trt-cpp-runtime-quickstart
Installation
SKILL.md
TensorRT C++ Runtime Deploy
Load a serialized TensorRT engine from disk and run inference from C++ using only the modern Runtime API. Produces a minimal, copy-pasteable deploy harness that drops next to any .plan / .engine file and extends to production.
Reference samples to open before writing new code:
quickstart/SemanticSegmentation/tutorial-runtime.cpp— cleanest minimal load-and-run example. Mirrors Steps 1–7 below.samples/sampleOnnxMNIST/sampleOnnxMNIST.cpp— end-to-end sample that also builds the engine; the runtime portion shows realistic I/O wiring.- Public headers:
include/NvInferRuntime.h— readIRuntime,ICudaEngine,IExecutionContext,IStreamReaderV2.