pub struct ITimingCache { /* private fields */ }Expand description
! ! \class ITimingCache ! ! \brief 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 reduce the builder wallclock time. ! ! \warning Rebuilding the same engine multiple times using the same timing cache will always yield a correct ! engine but the selected tactics and formats may vary between generated engine instances, if weak typing is used. ! ! \see IBuilderConfig ! ! \deprecated Deprecated in TensorRT-RTX 1.2. Timing cache operations are no-ops in TensorRT-RTX. !
Trait Implementations§
Source§impl ExternType for ITimingCache
impl ExternType for ITimingCache
Source§impl MakeCppStorage for ITimingCache
impl MakeCppStorage for ITimingCache
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut ITimingCache
unsafe fn allocate_uninitialized_cpp_storage() -> *mut ITimingCache
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut ITimingCache)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut ITimingCache)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for ITimingCache
impl WeakPtrTarget for ITimingCache
Auto Trait Implementations§
impl !Freeze for ITimingCache
impl !RefUnwindSafe for ITimingCache
impl !Send for ITimingCache
impl !Sync for ITimingCache
impl !Unpin for ITimingCache
impl UnwindSafe for ITimingCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more