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

Method setTimingCache

include/NvInfer.h:9672–9675  ·  view source on GitHub ↗

\brief Attach a timing cache to IBuilderConfig The timing cache has verification header to make sure the provided cache can be used in current environment. A failure will be reported if the CUDA device property in the provided cache is different from current environment. ignoreMismatch = true skips strict verification and allows loading cache created from a different device. The cache must not b

Source from the content-addressed store, hash-verified

9670 //! functional/performance bugs.
9671 //!
9672 bool setTimingCache(ITimingCache const& cache, bool ignoreMismatch) noexcept
9673 {
9674 return mImpl->setTimingCache(cache, ignoreMismatch);
9675 }
9676
9677 //!
9678 //! \brief Get the pointer to the timing cache from current IBuilderConfig

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected