Struct cubecl_core::frontend::ScalarArg
source · pub struct ScalarArg<T: Numeric> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T: Numeric, R: Runtime> ArgSettings<R> for ScalarArg<T>
impl<T: Numeric, R: Runtime> ArgSettings<R> for ScalarArg<T>
source§fn register(&self, launcher: &mut KernelLauncher<R>)
fn register(&self, launcher: &mut KernelLauncher<R>)
Register the information to the KernelLauncher.
source§fn configure_input(
&self,
_position: usize,
settings: KernelSettings,
) -> KernelSettings
fn configure_input( &self, _position: usize, settings: KernelSettings, ) -> KernelSettings
Configure an input argument at the given position.
source§fn configure_output(
&self,
_position: usize,
settings: KernelSettings,
) -> KernelSettings
fn configure_output( &self, _position: usize, settings: KernelSettings, ) -> KernelSettings
Configure an output argument at the given position.
Auto Trait Implementations§
impl<T> Freeze for ScalarArg<T>
impl<T> RefUnwindSafe for ScalarArg<T>
impl<T> Send for ScalarArg<T>
impl<T> Sync for ScalarArg<T>
impl<T> Unpin for ScalarArg<T>
impl<T> UnwindSafe for ScalarArg<T>
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