pub struct SyncFullLoaderJobIterator<MP: MatmulPrecision, L: SyncFullLoadingStrategy> {
pub num_tasks: u32,
pub current: ComptimeCell<TaskCounter>,
/* private fields */
}
Expand description
A comptime iterator over a job for sync full loader
Fields§
§num_tasks: u32
§current: ComptimeCell<TaskCounter>
Trait Implementations§
Source§impl<MP: MatmulPrecision, L: SyncFullLoadingStrategy> CubeType for SyncFullLoaderJobIterator<MP, L>
impl<MP: MatmulPrecision, L: SyncFullLoadingStrategy> CubeType for SyncFullLoaderJobIterator<MP, L>
type ExpandType = SyncFullLoaderJobIteratorExpand<MP, L>
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<MP: MatmulPrecision, L: SyncFullLoadingStrategy> JobIterator for SyncFullLoaderJobIterator<MP, L>
impl<MP: MatmulPrecision, L: SyncFullLoadingStrategy> JobIterator for SyncFullLoaderJobIterator<MP, L>
fn __expand_current( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
fn __expand_num_tasks( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
Auto Trait Implementations§
impl<MP, L> Freeze for SyncFullLoaderJobIterator<MP, L>
impl<MP, L> !RefUnwindSafe for SyncFullLoaderJobIterator<MP, L>
impl<MP, L> !Send for SyncFullLoaderJobIterator<MP, L>
impl<MP, L> !Sync for SyncFullLoaderJobIterator<MP, L>
impl<MP, L> Unpin for SyncFullLoaderJobIterator<MP, L>
impl<MP, L> !UnwindSafe for SyncFullLoaderJobIterator<MP, L>
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