pub struct CmmaTile<N: Numeric> {
pub matrix: Matrix<N>,
pub matrix_layout: MatrixLayout,
pub tile_size: TileSize,
}Fields§
§matrix: Matrix<N>§matrix_layout: MatrixLayout§tile_size: TileSizeImplementations§
Source§impl<E: Float> CmmaTile<E>
impl<E: Float> CmmaTile<E>
pub fn fill_zero(&mut self)
pub fn __expand_fill_zero( scope: &Scope, this: &mut <Self as CubeType>::ExpandType, )
Source§impl<A: Numeric> CmmaTile<A>
impl<A: Numeric> CmmaTile<A>
Sourcepub fn mma<L: Numeric, R: Numeric>(
&mut self,
lhs: &CmmaTile<L>,
rhs: &CmmaTile<R>,
)
pub fn mma<L: Numeric, R: Numeric>( &mut self, lhs: &CmmaTile<L>, rhs: &CmmaTile<R>, )
Executes lhs · rhs, accumulating into self.
Sourcepub fn __expand_mma<L: Numeric, R: Numeric>(
scope: &Scope,
this: &mut <Self as CubeType>::ExpandType,
lhs: &<CmmaTile<L> as CubeType>::ExpandType,
rhs: &<CmmaTile<R> as CubeType>::ExpandType,
)
pub fn __expand_mma<L: Numeric, R: Numeric>( scope: &Scope, this: &mut <Self as CubeType>::ExpandType, lhs: &<CmmaTile<L> as CubeType>::ExpandType, rhs: &<CmmaTile<R> as CubeType>::ExpandType, )
Executes lhs · rhs, accumulating into self.
Source§impl<N: Numeric> CmmaTile<N>
impl<N: Numeric> CmmaTile<N>
Sourcepub fn copy_from<SE: Numeric, SS: Size, Sc: TileScope>(
&mut self,
source: &Tile<SE, Sc>,
ident: StageIdent,
)
pub fn copy_from<SE: Numeric, SS: Size, Sc: TileScope>( &mut self, source: &Tile<SE, Sc>, ident: StageIdent, )
Supported sources: SharedTile (load) and None (zero-init).
pub fn init_zero(&mut self)
Sourcepub fn __expand_copy_from<SE: Numeric, SS: Size, Sc: TileScope>(
scope: &Scope,
this: &mut <Self as CubeType>::ExpandType,
source: &<Tile<SE, Sc> as CubeType>::ExpandType,
ident: StageIdent,
)
pub fn __expand_copy_from<SE: Numeric, SS: Size, Sc: TileScope>( scope: &Scope, this: &mut <Self as CubeType>::ExpandType, source: &<Tile<SE, Sc> as CubeType>::ExpandType, ident: StageIdent, )
Supported sources: SharedTile (load) and None (zero-init).
pub fn __expand_init_zero( scope: &Scope, this: &mut <Self as CubeType>::ExpandType, )
Trait Implementations§
Source§impl<N: Numeric> CubeType for CmmaTile<N>
impl<N: Numeric> CubeType for CmmaTile<N>
type ExpandType = CmmaTileExpand<N>
Auto Trait Implementations§
impl<N> Freeze for CmmaTile<N>
impl<N> RefUnwindSafe for CmmaTile<N>where
N: RefUnwindSafe,
impl<N> Send for CmmaTile<N>
impl<N> Sync for CmmaTile<N>
impl<N> Unpin for CmmaTile<N>where
N: Unpin,
impl<N> UnsafeUnpin for CmmaTile<N>
impl<N> UnwindSafe for CmmaTile<N>where
N: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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