pub struct RuntimeArgs {
    pub shape_m: u32,
    pub shape_n: u32,
    pub shape_k: u32,
    pub padded_channels: FastDivmod,
    pub shape_out: Sequence<FastDivmod>,
    pub shape_channel: FastDivmod,
}Fields§
§shape_m: u32§shape_n: u32§shape_k: u32§padded_channels: FastDivmod§shape_out: Sequence<FastDivmod>§shape_channel: FastDivmodTrait Implementations§
Source§impl Clone for RuntimeArgs
 
impl Clone for RuntimeArgs
Source§fn clone(&self) -> RuntimeArgs
 
fn clone(&self) -> RuntimeArgs
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 RuntimeArgs
 
impl CubeType for RuntimeArgs
type ExpandType = RuntimeArgsExpand
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 LaunchArg for RuntimeArgs
 
impl LaunchArg for RuntimeArgs
Source§type RuntimeArg<'a, R: Runtime> = RuntimeArgsLaunch<'a, R>
 
type RuntimeArg<'a, R: Runtime> = RuntimeArgsLaunch<'a, R>
The runtime argument for the kernel.
Source§type CompilationArg = RuntimeArgsCompilationArg
 
type CompilationArg = RuntimeArgsCompilationArg
Compilation argument.
fn compilation_arg<'a, R: Runtime>( runtime_arg: &Self::RuntimeArg<'a, R>, ) -> Self::CompilationArg
Source§fn expand(
    arg: &Self::CompilationArg,
    builder: &mut KernelBuilder,
) -> <Self as CubeType>::ExpandType
 
fn expand( arg: &Self::CompilationArg, builder: &mut KernelBuilder, ) -> <Self as CubeType>::ExpandType
Register an input variable during compilation that fill the KernelBuilder.
Source§fn expand_output(
    arg: &Self::CompilationArg,
    builder: &mut KernelBuilder,
) -> <Self as CubeType>::ExpandType
 
fn expand_output( arg: &Self::CompilationArg, builder: &mut KernelBuilder, ) -> <Self as CubeType>::ExpandType
Register an output variable during compilation that fill the KernelBuilder.
Auto Trait Implementations§
impl Freeze for RuntimeArgs
impl RefUnwindSafe for RuntimeArgs
impl Send for RuntimeArgs
impl Sync for RuntimeArgs
impl Unpin for RuntimeArgs
impl UnwindSafe for RuntimeArgs
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