pub struct SyncFullStridedLoading {}
Expand description
Loads the content of all the stage using all planes, keeping the original layout, making each tile strided
Trait Implementations§
Source§impl Clone for SyncFullStridedLoading
impl Clone for SyncFullStridedLoading
Source§fn clone(&self) -> SyncFullStridedLoading
fn clone(&self) -> SyncFullStridedLoading
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 CubeType for SyncFullStridedLoading
impl CubeType for SyncFullStridedLoading
type ExpandType = SyncFullStridedLoadingExpand
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.
Source§impl LoadMaxRoundPlaneCount for SyncFullStridedLoading
impl LoadMaxRoundPlaneCount for SyncFullStridedLoading
Source§fn max_round_plane_count(
tiling_scheme: &TilingScheme,
ident: InputIdent,
line_size: u8,
plane_dim: u32,
) -> u32
fn max_round_plane_count( tiling_scheme: &TilingScheme, ident: InputIdent, line_size: u8, plane_dim: u32, ) -> u32
Returns the largest number of planes that evenly divides the tasks.
Source§impl LoadingValidation for SyncFullStridedLoading
impl LoadingValidation for SyncFullStridedLoading
Source§fn check<C: GlobalConfig>(
config: &C,
ident: Ident,
) -> Result<(), InvalidConfigError>
fn check<C: GlobalConfig>( config: &C, ident: Ident, ) -> Result<(), InvalidConfigError>
Verify that configs are valid for a loader, otherwise return an error stating why
Source§impl SyncFullLoadingStrategy for SyncFullStridedLoading
impl SyncFullLoadingStrategy for SyncFullStridedLoading
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = SyncFullStridedJob
type Job<MP: MatmulPrecision> = SyncFullStridedJob
The LoadingJob for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
input_ident: InputIdent,
config: G,
) -> Self::Job<MP>
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( input_ident: InputIdent, config: G, ) -> Self::Job<MP>
Returns the job with preliminary calculations done.
fn __expand_new_job<MP: MatmulPrecision, G: GlobalConfig>( scope: &mut Scope, input_ident: InputIdent, config: G, ) -> <Self::Job<MP> as CubeType>::ExpandType
impl Copy for SyncFullStridedLoading
Auto Trait Implementations§
impl Freeze for SyncFullStridedLoading
impl RefUnwindSafe for SyncFullStridedLoading
impl Send for SyncFullStridedLoading
impl Sync for SyncFullStridedLoading
impl Unpin for SyncFullStridedLoading
impl UnwindSafe for SyncFullStridedLoading
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