pub struct AsyncFullCooperativeLoading {}
Expand description
Loads global memory into the stage without layout change,
dividing the stage into the smallest possible contiguous slices.
Each memcpy_async
is called with the same arguments for cooperative behaviour
Trait Implementations§
Source§impl AsyncFullLoadingStrategy for AsyncFullCooperativeLoading
impl AsyncFullLoadingStrategy for AsyncFullCooperativeLoading
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = AsyncFullCooperativeJob
type Job<MP: MatmulPrecision> = AsyncFullCooperativeJob
The [LoadingJob] for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
input_ident: InputIdent,
config: G,
) -> AsyncFullCooperativeJob
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( input_ident: InputIdent, config: G, ) -> AsyncFullCooperativeJob
Returns the job with preliminary calculations done.
Source§fn barrier_level() -> BarrierLevel
fn barrier_level() -> BarrierLevel
The barrier level at which the copy mechanism works
fn __expand_new_job<MP: MatmulPrecision, G: GlobalConfig>( scope: &mut Scope, input_ident: InputIdent, config: G, ) -> <AsyncFullCooperativeJob as CubeType>::ExpandType
fn __expand_barrier_level( scope: &mut Scope, ) -> <BarrierLevel as CubeType>::ExpandType
Source§impl Clone for AsyncFullCooperativeLoading
impl Clone for AsyncFullCooperativeLoading
Source§fn clone(&self) -> AsyncFullCooperativeLoading
fn clone(&self) -> AsyncFullCooperativeLoading
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 AsyncFullCooperativeLoading
impl CubeType for AsyncFullCooperativeLoading
type ExpandType = AsyncFullCooperativeLoadingExpand
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 LoadingValidation for AsyncFullCooperativeLoading
impl LoadingValidation for AsyncFullCooperativeLoading
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
impl Copy for AsyncFullCooperativeLoading
Auto Trait Implementations§
impl Freeze for AsyncFullCooperativeLoading
impl RefUnwindSafe for AsyncFullCooperativeLoading
impl Send for AsyncFullCooperativeLoading
impl Sync for AsyncFullCooperativeLoading
impl Unpin for AsyncFullCooperativeLoading
impl UnwindSafe for AsyncFullCooperativeLoading
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