pub struct AsyncFullStridedLoading {}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 AsyncFullStridedLoading
impl Clone for AsyncFullStridedLoading
Source§fn clone(&self) -> AsyncFullStridedLoading
fn clone(&self) -> AsyncFullStridedLoading
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 AsyncFullStridedLoading
impl CubeType for AsyncFullStridedLoading
type ExpandType = AsyncFullStridedLoadingExpand
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 FullLoadingStrategy for AsyncFullStridedLoading
impl FullLoadingStrategy for AsyncFullStridedLoading
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type SyncStrategy = AsyncCopy
type SyncStrategy = AsyncCopy
The synchronization strategy that should be used with this loading strategy
Source§type Job<EG: Numeric, ES: Numeric> = AsyncFullStridedJob
type Job<EG: Numeric, ES: Numeric> = AsyncFullStridedJob
The LoadingJob for this strategy.
Source§fn new_job<EG: Numeric, ES: Numeric>(
runtime_args: RuntimeArgs,
_line_size: u32,
config: GlobalReaderConfig,
) -> Self::Job<EG, ES>
fn new_job<EG: Numeric, ES: Numeric>( runtime_args: RuntimeArgs, _line_size: u32, config: GlobalReaderConfig, ) -> Self::Job<EG, ES>
Returns the job with preliminary calculations done.
fn __expand_new_job<EG: Numeric, ES: Numeric>( scope: &mut Scope, runtime_args: <RuntimeArgs as CubeType>::ExpandType, _line_size: u32, config: GlobalReaderConfig, ) -> <Self::Job<EG, ES> as CubeType>::ExpandType
Source§impl LoadMaxRoundPlaneCount for AsyncFullStridedLoading
impl LoadMaxRoundPlaneCount for AsyncFullStridedLoading
Source§fn max_round_plane_count(
elements_per_tile: u32,
tiles_per_stage: u32,
line_size: u8,
plane_dim: u32,
dtype: StorageType,
) -> u32
fn max_round_plane_count( elements_per_tile: u32, tiles_per_stage: u32, line_size: u8, plane_dim: u32, dtype: StorageType, ) -> u32
Returns the largest number of planes that evenly divides the tasks.
Source§impl LoadingValidation for AsyncFullStridedLoading
impl LoadingValidation for AsyncFullStridedLoading
Source§fn check<R: Runtime>(
client: &ComputeClient<R>,
problem: &MatmulProblem,
config: &GlobalReaderConfig,
dtypes: &MatmulElems,
) -> Result<(), InvalidConfigError>
fn check<R: Runtime>( client: &ComputeClient<R>, problem: &MatmulProblem, config: &GlobalReaderConfig, dtypes: &MatmulElems, ) -> Result<(), InvalidConfigError>
Verify that configs are valid for a reader, otherwise return an error stating why
impl Copy for AsyncFullStridedLoading
Auto Trait Implementations§
impl Freeze for AsyncFullStridedLoading
impl RefUnwindSafe for AsyncFullStridedLoading
impl Send for AsyncFullStridedLoading
impl Sync for AsyncFullStridedLoading
impl Unpin for AsyncFullStridedLoading
impl UnwindSafe for AsyncFullStridedLoading
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