Trait ArgSettings

Source
pub trait ArgSettings<R: Runtime>: Send + Sync {
    // Required method
    fn register(&self, launcher: &mut KernelLauncher<R>);
}
Expand description

Defines the argument settings used to launch a kernel.

Required Methods§

Source

fn register(&self, launcher: &mut KernelLauncher<R>)

Register the information of an argument to the KernelLauncher.

Implementations on Foreign Types§

Source§

impl<R: Runtime> ArgSettings<R> for ()

Source§

fn register(&self, _launcher: &mut KernelLauncher<R>)

Implementors§

Source§

impl<R: Runtime> ArgSettings<R> for ArrayArg<'_, R>

Source§

impl<R: Runtime> ArgSettings<R> for TensorArg<'_, R>

Source§

impl<R: Runtime> ArgSettings<R> for TensorMapArg<'_, R>

Source§

impl<R: Runtime, T: LaunchArg> ArgSettings<R> for SequenceArg<'_, R, T>

Source§

impl<T: Numeric, R: Runtime> ArgSettings<R> for ScalarArg<T>