\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
| 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. |