pub struct QuantizedViewLaunch<'a, Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static, R: Runtime> { /* private fields */ }Implementations§
Source§impl<'a, Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static, R: Runtime> QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static, R: Runtime> QuantizedViewLaunch<'a, Q, S, F, C, R>
Sourcepub fn new(
values: <View<Line<Q>, C> as LaunchArg>::RuntimeArg<'a, R>,
scales: <View<S, C> as LaunchArg>::RuntimeArg<'a, R>,
scheme: QuantScheme,
_ty: PhantomData<F>,
) -> Self
pub fn new( values: <View<Line<Q>, C> as LaunchArg>::RuntimeArg<'a, R>, scales: <View<S, C> as LaunchArg>::RuntimeArg<'a, R>, scheme: QuantScheme, _ty: PhantomData<F>, ) -> Self
New kernel
Trait Implementations§
Source§impl<'a, Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static, R: Runtime> ArgSettings<R> for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static, R: Runtime> ArgSettings<R> for QuantizedViewLaunch<'a, Q, S, F, C, 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, Q, S, F, C, R> Freeze for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q, S, F, C, R> !RefUnwindSafe for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q, S, F, C, R> Send for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q, S, F, C, R> Sync for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q, S, F, C, R> Unpin for QuantizedViewLaunch<'a, Q, S, F, C, R>
impl<'a, Q, S, F, C, R> !UnwindSafe for QuantizedViewLaunch<'a, Q, S, F, C, R>
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