Enum cubecl_runtime::tune::TuneCacheResult
source · pub enum TuneCacheResult<K, Out = ()> {
Hit(Box<dyn AutotuneOperation<Out>>),
Miss(Box<dyn AutotuneOperationSet<K, Out>>),
}
Expand description
Result of the cache try
Variants§
Hit(Box<dyn AutotuneOperation<Out>>)
An operation is found and given
Miss(Box<dyn AutotuneOperationSet<K, Out>>)
No operation is found and the set is given back for ownership
Auto Trait Implementations§
impl<K, Out> Freeze for TuneCacheResult<K, Out>
impl<K, Out = ()> !RefUnwindSafe for TuneCacheResult<K, Out>
impl<K, Out = ()> !Send for TuneCacheResult<K, Out>
impl<K, Out = ()> !Sync for TuneCacheResult<K, Out>
impl<K, Out> Unpin for TuneCacheResult<K, Out>
impl<K, Out = ()> !UnwindSafe for TuneCacheResult<K, Out>
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