pub struct OutLayoutLaunch<'a, R: Runtime> {
pub shape_out: <Sequence<FastDivmod> as LaunchArg>::RuntimeArg<'a, R>,
pub shape_m: <u32 as LaunchArg>::RuntimeArg<'a, R>,
pub shape_n: <u32 as LaunchArg>::RuntimeArg<'a, R>,
pub config: GlobalMemoryConfig,
/* private fields */
}Fields§
§shape_out: <Sequence<FastDivmod> as LaunchArg>::RuntimeArg<'a, R>§shape_m: <u32 as LaunchArg>::RuntimeArg<'a, R>§shape_n: <u32 as LaunchArg>::RuntimeArg<'a, R>§config: GlobalMemoryConfigImplementations§
Source§impl<'a, R: Runtime> OutLayoutLaunch<'a, R>
impl<'a, R: Runtime> OutLayoutLaunch<'a, R>
Sourcepub fn new(
shape_out: <Sequence<FastDivmod> as LaunchArg>::RuntimeArg<'a, R>,
shape_m: <u32 as LaunchArg>::RuntimeArg<'a, R>,
shape_n: <u32 as LaunchArg>::RuntimeArg<'a, R>,
config: GlobalMemoryConfig,
) -> Self
pub fn new( shape_out: <Sequence<FastDivmod> as LaunchArg>::RuntimeArg<'a, R>, shape_m: <u32 as LaunchArg>::RuntimeArg<'a, R>, shape_n: <u32 as LaunchArg>::RuntimeArg<'a, R>, config: GlobalMemoryConfig, ) -> Self
New kernel
Source§impl<'a, R: Runtime> OutLayoutLaunch<'a, R>
impl<'a, R: Runtime> OutLayoutLaunch<'a, R>
pub fn from_args( client: &ComputeClient<R::Server>, problem: &ConvolutionProblem, config: GlobalMemoryConfig, ) -> Self
Trait Implementations§
Source§impl<'a, R: Runtime> ArgSettings<R> for OutLayoutLaunch<'a, R>
impl<'a, R: Runtime> ArgSettings<R> for OutLayoutLaunch<'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 OutLayoutLaunch<'a, R>
impl<'a, R> RefUnwindSafe for OutLayoutLaunch<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for OutLayoutLaunch<'a, R>
impl<'a, R> Sync for OutLayoutLaunch<'a, R>
impl<'a, R> Unpin for OutLayoutLaunch<'a, R>where
R: Unpin,
impl<'a, R> UnwindSafe for OutLayoutLaunch<'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