pub struct Kernel<'module> { /* private fields */ }
Expand description
CUDA Kernel function
Trait Implementations§
Source§impl Contexted for Kernel<'_>
impl Contexted for Kernel<'_>
fn get_context(&self) -> Arc<Context>
Source§fn guard_context(&self) -> ContextGuard
fn guard_context(&self) -> ContextGuard
RAII utility for push/pop onto the thread-local context stack
Source§fn sync_context(&self) -> Result<()>
fn sync_context(&self) -> Result<()>
Blocking until all tasks in current context end
Auto Trait Implementations§
impl<'module> Freeze for Kernel<'module>
impl<'module> RefUnwindSafe for Kernel<'module>
impl<'module> !Send for Kernel<'module>
impl<'module> !Sync for Kernel<'module>
impl<'module> Unpin for Kernel<'module>
impl<'module> UnwindSafe for Kernel<'module>
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