pub struct RuntimeArgsLaunch<'a, R: Runtime> {
pub shape_k: <u32 as LaunchArg>::RuntimeArg<'a, R>,
pub channels: <u32 as LaunchArg>::RuntimeArg<'a, R>,
pub padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<'a, R>,
pub operation: ConvolutionOperation,
/* private fields */
}Fields§
§shape_k: <u32 as LaunchArg>::RuntimeArg<'a, R>§channels: <u32 as LaunchArg>::RuntimeArg<'a, R>§padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<'a, R>§operation: ConvolutionOperationImplementations§
Source§impl<'a, R: Runtime> RuntimeArgsLaunch<'a, R>
impl<'a, R: Runtime> RuntimeArgsLaunch<'a, R>
Sourcepub fn new(
shape_k: <u32 as LaunchArg>::RuntimeArg<'a, R>,
channels: <u32 as LaunchArg>::RuntimeArg<'a, R>,
padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<'a, R>,
operation: ConvolutionOperation,
) -> Self
pub fn new( shape_k: <u32 as LaunchArg>::RuntimeArg<'a, R>, channels: <u32 as LaunchArg>::RuntimeArg<'a, R>, padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<'a, R>, operation: ConvolutionOperation, ) -> Self
New kernel
Trait Implementations§
Source§impl<'a, R: Runtime> ArgSettings<R> for RuntimeArgsLaunch<'a, R>
impl<'a, R: Runtime> ArgSettings<R> for RuntimeArgsLaunch<'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 RuntimeArgsLaunch<'a, R>
impl<'a, R> RefUnwindSafe for RuntimeArgsLaunch<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for RuntimeArgsLaunch<'a, R>
impl<'a, R> Sync for RuntimeArgsLaunch<'a, R>
impl<'a, R> Unpin for RuntimeArgsLaunch<'a, R>where
R: Unpin,
impl<'a, R> UnwindSafe for RuntimeArgsLaunch<'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