pub struct SyncFullTilewiseJob {
pub num_tiles_to_skip: u32,
pub num_lines_to_skip: u32,
pub num_lines_per_tile: u32,
pub num_lines_per_unit: u32,
pub plane_dim: u32,
pub line_size: u32,
pub input_ident: InputIdent,
}
Fields§
§num_tiles_to_skip: u32
§num_lines_to_skip: u32
§num_lines_per_tile: u32
§num_lines_per_unit: u32
§plane_dim: u32
§line_size: u32
§input_ident: InputIdent
Trait Implementations§
Source§impl Clone for SyncFullTilewiseJob
impl Clone for SyncFullTilewiseJob
Source§fn clone(&self) -> SyncFullTilewiseJob
fn clone(&self) -> SyncFullTilewiseJob
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 SyncFullTilewiseJob
impl CubeType for SyncFullTilewiseJob
type ExpandType = SyncFullTilewiseJobExpand
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, TO: TilingOrder> LoadingJob<MP, ContiguousTilingLayout<TO>> for SyncFullTilewiseJob
impl<MP: MatmulPrecision, TO: TilingOrder> LoadingJob<MP, ContiguousTilingLayout<TO>> for SyncFullTilewiseJob
Source§fn execute_task<G: GlobalConfig>(
this: &mut Self,
task_id: u32,
tensor_reader: &TensorReader<MP::EI>,
stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>,
quantization: &CubeOption<Quantization<MP>>,
config: G,
)
fn execute_task<G: GlobalConfig>( this: &mut Self, task_id: u32, tensor_reader: &TensorReader<MP::EI>, stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>, quantization: &CubeOption<Quantization<MP>>, config: G, )
Execute the
task_id
th loading taskSource§fn task_count(this: &Self) -> u32
fn task_count(this: &Self) -> u32
Get the number of tasks
fn __expand_execute_task<G: GlobalConfig>( scope: &mut Scope, this: <Self as CubeType>::ExpandType, task_id: u32, tensor_reader: <TensorReader<MP::EI> as CubeType>::ExpandType, stage: <StageMemory<MP::ES, ContiguousTilingLayout<TO>> as CubeType>::ExpandType, quantization: <CubeOption<Quantization<MP>> as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
fn __expand_task_count( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
impl Copy for SyncFullTilewiseJob
Auto Trait Implementations§
impl Freeze for SyncFullTilewiseJob
impl RefUnwindSafe for SyncFullTilewiseJob
impl Send for SyncFullTilewiseJob
impl Sync for SyncFullTilewiseJob
impl Unpin for SyncFullTilewiseJob
impl UnwindSafe for SyncFullTilewiseJob
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