pub struct OutLayoutLaunch<R: Runtime> {
pub shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>,
pub rows: <u32 as LaunchArg>::RuntimeArg<R>,
pub cols: <u32 as LaunchArg>::RuntimeArg<R>,
pub config: GlobalLayoutConfig,
/* private fields */
}Fields§
§shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>§rows: <u32 as LaunchArg>::RuntimeArg<R>§cols: <u32 as LaunchArg>::RuntimeArg<R>§config: GlobalLayoutConfigImplementations§
Source§impl<R: Runtime> OutLayoutLaunch<R>
impl<R: Runtime> OutLayoutLaunch<R>
Sourcepub fn new(
shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>,
rows: <u32 as LaunchArg>::RuntimeArg<R>,
cols: <u32 as LaunchArg>::RuntimeArg<R>,
config: GlobalLayoutConfig,
) -> Self
pub fn new( shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>, rows: <u32 as LaunchArg>::RuntimeArg<R>, cols: <u32 as LaunchArg>::RuntimeArg<R>, config: GlobalLayoutConfig, ) -> Self
New kernel
Source§impl<R: Runtime> OutLayoutLaunch<R>
impl<R: Runtime> OutLayoutLaunch<R>
pub fn from_args( problem: &ConvolutionProblem, config: GlobalLayoutConfig, ) -> Self
Auto Trait Implementations§
impl<R> Freeze for OutLayoutLaunch<R>
impl<R> RefUnwindSafe for OutLayoutLaunch<R>where
R: RefUnwindSafe,
impl<R> Send for OutLayoutLaunch<R>
impl<R> Sync for OutLayoutLaunch<R>
impl<R> Unpin for OutLayoutLaunch<R>where
R: Unpin,
impl<R> UnsafeUnpin for OutLayoutLaunch<R>
impl<R> UnwindSafe for OutLayoutLaunch<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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more