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

Function initConsistencyCheckerLibrary

samples/common/sampleEngines.cpp:1613–1625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1611}
1612
1613void* initConsistencyCheckerLibrary()
1614{
1615 void* handle{nullptr};
1616#if !defined(_WIN32)
1617 std::string const dllName{samplesCommon::isDebug() ? "libnvinfer_checker_debug.so.8" : "libnvinfer_checker.so.8"};
1618#if SANITIZER_BUILD
1619 handle = dlopen(dllName.c_str(), RTLD_LAZY | RTLD_NODELETE);
1620#else
1621 handle = dlopen(dllName.c_str(), RTLD_LAZY);
1622#endif
1623#endif
1624 return handle;
1625}
1626
1627#if !defined(_WIN32)
1628struct DllDeleter

Callers 1

sampleEngines.cppFile · 0.85

Calls 2

isDebugFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected