pub enum LoaderMode {
Strict,
Relaxed,
}
Expand description
Controls bounds checking for loader operations.
This does not disable tensor read bounds checks. It only affects checks for whether the loader loads more data than allowed at each global matmul iteration.
Variants§
Strict
Enforces compile-time validation of balanced workloads across units. Restricts valid combinations of tile shape, count, and line size.
Relaxed
Inserts runtime checks only when an out-of-bounds access will occur. May reduce performance if workloads are imbalanced.
Trait Implementations§
Source§impl Clone for LoaderMode
impl Clone for LoaderMode
Source§fn clone(&self) -> LoaderMode
fn clone(&self) -> LoaderMode
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 LoaderMode
impl Debug for LoaderMode
Source§impl Default for LoaderMode
impl Default for LoaderMode
Source§fn default() -> LoaderMode
fn default() -> LoaderMode
Returns the “default value” for a type. Read more
Source§impl Hash for LoaderMode
impl Hash for LoaderMode
Source§impl PartialEq for LoaderMode
impl PartialEq for LoaderMode
impl Copy for LoaderMode
impl Eq for LoaderMode
impl StructuralPartialEq for LoaderMode
Auto Trait Implementations§
impl Freeze for LoaderMode
impl RefUnwindSafe for LoaderMode
impl Send for LoaderMode
impl Sync for LoaderMode
impl Unpin for LoaderMode
impl UnwindSafe for LoaderMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.