pub struct Job {
pub unit_position_base: u32,
pub num_tasks_per_unit: u32,
pub tile_num_elements: u32,
pub jump_length: u32,
pub line_size: u32,
pub input_ident: InputIdent,
}
Fields§
§unit_position_base: u32
§num_tasks_per_unit: u32
§tile_num_elements: u32
§jump_length: u32
§line_size: u32
§input_ident: InputIdent
Trait Implementations§
Source§impl CubeType for Job
impl CubeType for Job
type ExpandType = JobExpand
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(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 Job
impl<MP: MatmulPrecision, TO: TilingOrder> LoadingJob<MP, ContiguousTilingLayout<TO>> for Job
fn execute_task<G: GlobalConfig>( this: &mut Self, task_id: u32, tensor_reader: &TensorReader<MP::EI>, stage: &mut Stage<MP::ES, ContiguousTilingLayout<TO>>, quantization: &CubeOption<Quantization<MP>>, config: G, )
fn task_count(this: &Self) -> u32
fn __expand_execute_task<G: GlobalConfig>( context: &mut Scope, this: <Self as CubeType>::ExpandType, task_id: <u32 as CubeType>::ExpandType, tensor_reader: <TensorReader<MP::EI> as CubeType>::ExpandType, stage: <Stage<MP::ES, ContiguousTilingLayout<TO>> as CubeType>::ExpandType, quantization: <CubeOption<Quantization<MP>> as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
fn __expand_task_count( context: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
impl Copy for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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