TensorRT 8.2.5
|
Class to handle tactic timing info collected from builder. More...
#include <NvInfer.h>
Public Member Functions | |
nvinfer1::IHostMemory * | serialize () const noexcept |
Serialize a timing cache to IHostMemory object. More... | |
bool | combine (const ITimingCache &inputCache, bool ignoreMismatch) noexcept |
Combine input timing cache into local instance. More... | |
bool | reset () noexcept |
Empty the timing cache. More... | |
Protected Attributes | |
apiv::VTimingCache * | mImpl |
Additional Inherited Members | |
![]() | |
INoCopy (const INoCopy &other)=delete | |
INoCopy & | operator= (const INoCopy &other)=delete |
INoCopy (INoCopy &&other)=delete | |
INoCopy & | operator= (INoCopy &&other)=delete |
Class to handle tactic timing info collected from builder.
The timing cache is created or initialized by IBuilderConfig. It can be shared across builder instances to accelerate the builder wallclock time.
|
inlinenoexcept |
Combine input timing cache into local instance.
This function allows combining entries in the input timing cache to local cache object.
inputCache | The input timing cache. |
ignoreMismatch | Whether or not to allow cache verification header mismatch. |
Append entries in input cache to local cache. Conflicting entries will be skipped The input cache must be generated by a TensorRT build of exact same version, otherwise combine will be skipped and return false. ignoreMismatch must be set to true if combining a timing cache created from a different device.
|
inlinenoexcept |
Empty the timing cache.
|
inlinenoexcept |
Serialize a timing cache to IHostMemory object.
This function allows serialization of current timing cache.
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact