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

Method loadRuntime

include/NvInferRuntime.h:921–924  ·  view source on GitHub ↗

\brief Load IRuntime from the file. This method loads a runtime library from a shared library file. The runtime can then be used to execute a plan file built with BuilderFlag::kVERSION_COMPATIBLE and BuilderFlag::kEXCLUDE_LEAN_RUNTIME both set and built with the same version of TensorRT as the loaded runtime library. \param path Path to the runtime lean library. \return the runtime library, or

Source from the content-addressed store, hash-verified

919 //! \warning The path string must be null-terminated, and be at most 4096 bytes including the terminator.
920 //!
921 IRuntime* loadRuntime(char const* path) noexcept
922 {
923 return mImpl->loadRuntime(path);
924 }
925
926 //!
927 //! \brief Set whether the runtime is allowed to deserialize engines with host executable code.

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected