pub struct HeuristicKey {
pub m: i32,
pub n: i32,
pub k: i32,
pub dtype: u32,
pub transa: bool,
pub transb: bool,
pub epilogue: Epilogue,
pub sm_arch: u32,
}Expand description
Cache key — fully self-describing so two requests with the same shape/layout/dtype/epilogue/arch trio land in the same bucket.
Fields§
§m: i32§n: i32§k: i32§dtype: u32Stable dtype tag. Captured as a u32 (rather than DTypeKind)
so the key derives cleanly even if DTypeKind grows new
variants.
transa: bool§transb: bool§epilogue: Epilogue§sm_arch: u32Implementations§
Trait Implementations§
Source§impl Clone for HeuristicKey
impl Clone for HeuristicKey
Source§fn clone(&self) -> HeuristicKey
fn clone(&self) -> HeuristicKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeuristicKey
impl Debug for HeuristicKey
Source§impl Hash for HeuristicKey
impl Hash for HeuristicKey
Source§impl PartialEq for HeuristicKey
impl PartialEq for HeuristicKey
impl Copy for HeuristicKey
impl Eq for HeuristicKey
impl StructuralPartialEq for HeuristicKey
Auto Trait Implementations§
impl Freeze for HeuristicKey
impl RefUnwindSafe for HeuristicKey
impl Send for HeuristicKey
impl Sync for HeuristicKey
impl Unpin for HeuristicKey
impl UnsafeUnpin for HeuristicKey
impl UnwindSafe for HeuristicKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more