pub struct ReduceKernel<In: Numeric, Out: Numeric, R: ReduceFamily, RA: ReduceArgs, __R: Runtime> { /* private fields */ }
Expand description
reduce_kernel Kernel
Implementations§
Source§impl<In: Numeric, Out: Numeric, R: ReduceFamily, RA: ReduceArgs, __R: Runtime> ReduceKernel<In, Out, R, RA, __R>
impl<In: Numeric, Out: Numeric, R: ReduceFamily, RA: ReduceArgs, __R: Runtime> ReduceKernel<In, Out, R, RA, __R>
pub fn new( settings: KernelSettings, input: <RA::Input<In> as LaunchArgExpand>::CompilationArg, axis_reduce: <u32 as LaunchArgExpand>::CompilationArg, output: <RA::Output<Out> as LaunchArgExpand>::CompilationArg, params: ReduceParams, config: R::Config, ) -> Self
Trait Implementations§
Source§impl<In: Numeric, Out: Numeric, R: ReduceFamily, RA: ReduceArgs, __R: Runtime> Kernel for ReduceKernel<In, Out, R, RA, __R>
impl<In: Numeric, Out: Numeric, R: ReduceFamily, RA: ReduceArgs, __R: Runtime> Kernel for ReduceKernel<In, Out, R, RA, __R>
Auto Trait Implementations§
impl<In, Out, R, RA, __R> Freeze for ReduceKernel<In, Out, R, RA, __R>where
<<RA as ReduceArgs>::Input<In> as LaunchArgExpand>::CompilationArg: Freeze,
<<RA as ReduceArgs>::Output<Out> as LaunchArgExpand>::CompilationArg: Freeze,
<R as ReduceFamily>::Config: Freeze,
impl<In, Out, R, RA, __R> RefUnwindSafe for ReduceKernel<In, Out, R, RA, __R>where
<<RA as ReduceArgs>::Input<In> as LaunchArgExpand>::CompilationArg: RefUnwindSafe,
<<RA as ReduceArgs>::Output<Out> as LaunchArgExpand>::CompilationArg: RefUnwindSafe,
<R as ReduceFamily>::Config: RefUnwindSafe,
Out: RefUnwindSafe,
RA: RefUnwindSafe,
In: RefUnwindSafe,
__R: RefUnwindSafe,
impl<In, Out, R, RA, __R> Send for ReduceKernel<In, Out, R, RA, __R>
impl<In, Out, R, RA, __R> Sync for ReduceKernel<In, Out, R, RA, __R>
impl<In, Out, R, RA, __R> Unpin for ReduceKernel<In, Out, R, RA, __R>where
<<RA as ReduceArgs>::Input<In> as LaunchArgExpand>::CompilationArg: Unpin,
<<RA as ReduceArgs>::Output<Out> as LaunchArgExpand>::CompilationArg: Unpin,
<R as ReduceFamily>::Config: Unpin,
Out: Unpin,
RA: Unpin,
In: Unpin,
__R: Unpin,
impl<In, Out, R, RA, __R> UnwindSafe for ReduceKernel<In, Out, R, RA, __R>where
<<RA as ReduceArgs>::Input<In> as LaunchArgExpand>::CompilationArg: UnwindSafe,
<<RA as ReduceArgs>::Output<Out> as LaunchArgExpand>::CompilationArg: UnwindSafe,
<R as ReduceFamily>::Config: UnwindSafe,
Out: UnwindSafe,
RA: UnwindSafe,
In: UnwindSafe,
__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