pub struct InterleavedMatmul {
pub tile_size: TileSize,
pub plane_dim: u32,
pub swizzle_modes: SwizzleModes,
}Fields§
§tile_size: TileSize§plane_dim: u32§swizzle_modes: SwizzleModesImplementations§
Source§impl InterleavedMatmul
impl InterleavedMatmul
pub fn new( tile_size: TileSize, plane_dim: u32, swizzle_modes: SwizzleModes, ) -> Self
pub fn elements_per_unit_m(&self) -> usize
pub fn elements_per_unit_n(&self) -> usize
pub fn local_tile_size(&self) -> TileSize
pub fn elements_per_unit_k(&self) -> usize
Trait Implementations§
Source§impl Clone for InterleavedMatmul
impl Clone for InterleavedMatmul
Source§fn clone(&self) -> InterleavedMatmul
fn clone(&self) -> InterleavedMatmul
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterleavedMatmul
impl Debug for InterleavedMatmul
Source§impl Hash for InterleavedMatmul
impl Hash for InterleavedMatmul
Source§impl PartialEq for InterleavedMatmul
impl PartialEq for InterleavedMatmul
Source§fn eq(&self, other: &InterleavedMatmul) -> bool
fn eq(&self, other: &InterleavedMatmul) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InterleavedMatmul
impl Eq for InterleavedMatmul
impl StructuralPartialEq for InterleavedMatmul
Auto Trait Implementations§
impl Freeze for InterleavedMatmul
impl RefUnwindSafe for InterleavedMatmul
impl Send for InterleavedMatmul
impl Sync for InterleavedMatmul
impl Unpin for InterleavedMatmul
impl UnsafeUnpin for InterleavedMatmul
impl UnwindSafe for InterleavedMatmul
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
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.