pub struct CudaEnqueue<'a> { /* private fields */ }Expand description
Borrowed authority for one already-admitted enqueue. Nested kernel and graph submissions use this proof rather than re-entering capture or memory admission. It cannot escape the callback or be reconstructed from a CUDA stream handle.
Implementations§
Source§impl CudaEnqueue<'_>
impl CudaEnqueue<'_>
pub fn stream(&self) -> &Arc<CudaStream> ⓘ
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CudaEnqueue<'a>
impl<'a> !UnwindSafe for CudaEnqueue<'a>
impl<'a> Freeze for CudaEnqueue<'a>
impl<'a> Send for CudaEnqueue<'a>
impl<'a> Sync for CudaEnqueue<'a>
impl<'a> Unpin for CudaEnqueue<'a>
impl<'a> UnsafeUnpin for CudaEnqueue<'a>
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