pub struct Module { /* private fields */ }
Expand description
OOP-like wrapper of cuModule*
APIs
Implementations§
Trait Implementations§
Source§impl Contexted for Module
impl Contexted for Module
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 Freeze for Module
impl RefUnwindSafe for Module
impl !Send for Module
impl !Sync for Module
impl Unpin for Module
impl UnwindSafe for 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