pub struct Stream { /* private fields */ }Expand description
Handler for non-blocking CUDA Stream
Implementations§
Trait Implementations§
Source§impl Contexted for Stream
impl Contexted for Stream
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 Stream
impl RefUnwindSafe for Stream
impl !Send for Stream
impl !Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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