pub struct TileShape {
pub tile_m: usize,
pub tile_n: usize,
pub tile_k: usize,
}Expand description
A GEMM tile-shape hint (tile_m, tile_n, tile_k) returned by
ComputeBackend::recommended_tile_for.
Autotuners use this as a starting point before searching nearby shapes.
Fields§
§tile_m: usizeTile rows (M dimension).
tile_n: usizeTile columns (N dimension).
tile_k: usizeTile depth (K dimension / inner accumulation).
Implementations§
Trait Implementations§
impl Copy for TileShape
impl Eq for TileShape
impl StructuralPartialEq for TileShape
Auto Trait Implementations§
impl Freeze for TileShape
impl RefUnwindSafe for TileShape
impl Send for TileShape
impl Sync for TileShape
impl Unpin for TileShape
impl UnsafeUnpin for TileShape
impl UnwindSafe for TileShape
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