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