pub struct TilingParams {
pub mc: usize,
pub nc: usize,
pub kc: usize,
pub mr: usize,
pub nr: usize,
}Expand description
Tiling parameters for BLIS-style GEMM blocking.
These parameters control how matrices are partitioned to fit in various levels of the cache hierarchy.
Fields§
§mc: usizeBlock size for M dimension (L2 cache).
nc: usizeBlock size for N dimension (L2 cache).
kc: usizeBlock size for K dimension (L1 cache).
mr: usizeMicrokernel M dimension (registers).
nr: usizeMicrokernel N dimension (registers).
Implementations§
Trait Implementations§
Source§impl Clone for TilingParams
impl Clone for TilingParams
Source§fn clone(&self) -> TilingParams
fn clone(&self) -> TilingParams
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 TilingParams
impl Debug for TilingParams
Source§impl Default for TilingParams
impl Default for TilingParams
impl Copy for TilingParams
Auto Trait Implementations§
impl Freeze for TilingParams
impl RefUnwindSafe for TilingParams
impl Send for TilingParams
impl Sync for TilingParams
impl Unpin for TilingParams
impl UnwindSafe for TilingParams
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more