pub enum CubeCountInputArgs<'a, R: Runtime> {
FromProblem,
SmFirst {
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
},
CubeFirst {
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
},
Flattened {
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
},
Spread {
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>,
},
}
Variants§
FromProblem
SmFirst
Fields
§
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
CubeFirst
Fields
§
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
Flattened
Fields
§
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
Spread
Fields
§
m_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
n_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
§
batch_cubes: <u32 as LaunchArg>::RuntimeArg<'a, R>
Trait Implementations§
Source§impl<'a, R: Runtime> ArgSettings<R> for CubeCountInputArgs<'a, R>
impl<'a, R: Runtime> ArgSettings<R> for CubeCountInputArgs<'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 CubeCountInputArgs<'a, R>
impl<'a, R> RefUnwindSafe for CubeCountInputArgs<'a, R>
impl<'a, R> Send for CubeCountInputArgs<'a, R>
impl<'a, R> Sync for CubeCountInputArgs<'a, R>
impl<'a, R> Unpin for CubeCountInputArgs<'a, R>
impl<'a, R> UnwindSafe for CubeCountInputArgs<'a, R>
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