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

Function hasSafeRuntime

samples/common/sampleEngines.cpp:1643–1650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1641} // namespace
1642
1643bool hasSafeRuntime()
1644{
1645 bool ret{false};
1646#if !defined(_WIN32)
1647 ret = (safeRuntimeLibrary != nullptr);
1648#endif
1649 return ret;
1650}
1651
1652nvinfer1::safe::IRuntime* createSafeInferRuntime(nvinfer1::ILogger& logger) noexcept
1653{

Callers 7

getSafeMethod · 0.85
createSafeInferRuntimeFunction · 0.85
createConsistencyCheckerFunction · 0.85
setUpInferenceFunction · 0.85
makeThreadFunction · 0.85
timeDeserializeFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected