MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / createRuntime

Function createRuntime

samples/trtexec/trtexec.cpp:197–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195} // namespace
196
197IRuntime* createRuntime()
198{
199 if (!initNvinfer())
200 {
201 return {};
202 }
203 ASSERT(pCreateInferRuntimeInternal != nullptr);
204 return static_cast<IRuntime*>(pCreateInferRuntimeInternal(&gLogger.getTRTLogger(), NV_TENSORRT_VERSION));
205}
206
207IBuilder* createBuilder()
208{

Callers

nothing calls this directly

Calls 1

initNvinferFunction · 0.85

Tested by

no test coverage detected