pub struct TmaWeightGlobalReader<IP: MatrixPrecision> {
pub global_iter: GlobalIterator<Line<IP::Global>>,
pub stages: Sequence<StridedStage<IP::Stage, TmaWeightTiling>>,
/* private fields */
}Fields§
§global_iter: GlobalIterator<Line<IP::Global>>§stages: Sequence<StridedStage<IP::Stage, TmaWeightTiling>>Implementations§
Source§impl<IP: MatrixPrecision> TmaWeightGlobalReader<IP>
impl<IP: MatrixPrecision> TmaWeightGlobalReader<IP>
pub fn new( global_view: View<Line<IP::Global>, Coords2d>, k_step: u32, num_stages: u32, config: StageMemoryConfig, ) -> Self
pub fn fill_stage(&mut self, barrier: &Barrier, stage_idx: u32)
pub fn stage(&self, stage_idx: u32) -> TmaWeightStage<IP>
pub fn advance_view(&mut self)
pub fn __expand_new( scope: &mut Scope, global_view: <View<Line<IP::Global>, Coords2d> as CubeType>::ExpandType, k_step: <u32 as CubeType>::ExpandType, num_stages: u32, config: StageMemoryConfig, ) -> <Self as CubeType>::ExpandType
pub fn __expand_fill_stage( scope: &mut Scope, this: <Self as CubeType>::ExpandType, barrier: <Barrier as CubeType>::ExpandType, stage_idx: u32, ) -> <() as CubeType>::ExpandType
pub fn __expand_stage( scope: &mut Scope, this: <Self as CubeType>::ExpandType, stage_idx: u32, ) -> <TmaWeightStage<IP> as CubeType>::ExpandType
pub fn __expand_advance_view( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<IP: MatrixPrecision> CubeType for TmaWeightGlobalReader<IP>
impl<IP: MatrixPrecision> CubeType for TmaWeightGlobalReader<IP>
type ExpandType = TmaWeightGlobalReaderExpand<IP>
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Auto Trait Implementations§
impl<IP> Freeze for TmaWeightGlobalReader<IP>
impl<IP> RefUnwindSafe for TmaWeightGlobalReader<IP>where
<IP as MatrixPrecision>::Global: RefUnwindSafe,
<IP as MatrixPrecision>::Stage: RefUnwindSafe,
impl<IP> Send for TmaWeightGlobalReader<IP>
impl<IP> Sync for TmaWeightGlobalReader<IP>
impl<IP> Unpin for TmaWeightGlobalReader<IP>
impl<IP> UnwindSafe for TmaWeightGlobalReader<IP>
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