pub enum ScalesLayoutArgs<'a, R: Runtime> {
PerTensor(<PerTensorLayout as LaunchArg>::RuntimeArg<'a, R>),
BlockScaled(<BlockScaledLayout as LaunchArg>::RuntimeArg<'a, R>),
}Variants§
PerTensor(<PerTensorLayout as LaunchArg>::RuntimeArg<'a, R>)
BlockScaled(<BlockScaledLayout as LaunchArg>::RuntimeArg<'a, R>)
Trait Implementations§
Source§impl<'a, R: Runtime> ArgSettings<R> for ScalesLayoutArgs<'a, R>
impl<'a, R: Runtime> ArgSettings<R> for ScalesLayoutArgs<'a, R>
Source§fn register(&self, launcher: &mut KernelLauncher<R>)
fn register(&self, launcher: &mut KernelLauncher<R>)
Register the information of an argument to the KernelLauncher.
Auto Trait Implementations§
impl<'a, R> Freeze for ScalesLayoutArgs<'a, R>
impl<'a, R> RefUnwindSafe for ScalesLayoutArgs<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for ScalesLayoutArgs<'a, R>
impl<'a, R> Sync for ScalesLayoutArgs<'a, R>
impl<'a, R> Unpin for ScalesLayoutArgs<'a, R>where
R: Unpin,
impl<'a, R> UnwindSafe for ScalesLayoutArgs<'a, R>where
R: UnwindSafe,
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