pub struct PlainLayoutLaunch<'a, R: Runtime> { /* private fields */ }Implementations§
Source§impl<'a, R: Runtime> PlainLayoutLaunch<'a, R>
 
impl<'a, R: Runtime> PlainLayoutLaunch<'a, R>
Sourcepub fn new(len: <u32 as LaunchArg>::RuntimeArg<'a, R>) -> Self
 
pub fn new(len: <u32 as LaunchArg>::RuntimeArg<'a, R>) -> Self
New kernel
Source§impl<'a, R: Runtime> PlainLayoutLaunch<'a, R>
 
impl<'a, R: Runtime> PlainLayoutLaunch<'a, R>
pub fn from_shape(shape: &[usize], line_size: u8) -> Self
pub fn from_handle(handle: &TensorHandleRef<'_, R>, line_size: u8) -> Self
Trait Implementations§
Source§impl<'a, R: Runtime> ArgSettings<R> for PlainLayoutLaunch<'a, R>
 
impl<'a, R: Runtime> ArgSettings<R> for PlainLayoutLaunch<'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 PlainLayoutLaunch<'a, R>
impl<'a, R> RefUnwindSafe for PlainLayoutLaunch<'a, R>where
    R: RefUnwindSafe,
impl<'a, R> Send for PlainLayoutLaunch<'a, R>
impl<'a, R> Sync for PlainLayoutLaunch<'a, R>
impl<'a, R> Unpin for PlainLayoutLaunch<'a, R>where
    R: Unpin,
impl<'a, R> UnwindSafe for PlainLayoutLaunch<'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