Struct kn_cuda_sys::wrapper::handle::CudaStream
source · pub struct CudaStream { /* private fields */ }Implementations§
source§impl CudaStream
impl CudaStream
pub fn new(device: CudaDevice) -> Self
pub fn synchronize(&self)
pub fn device(&self) -> CudaDevice
pub unsafe fn inner(&self) -> cudaStream_t
pub fn record_event(&self) -> CudaEvent
pub fn record_existing_event(&self, event: &CudaEvent)
pub fn wait_for_event(&self, event: &CudaEvent)
pub unsafe fn begin_capture(&self)
pub unsafe fn end_capture(&self) -> CudaGraph
Trait Implementations§
source§impl Debug for CudaStream
impl Debug for CudaStream
Auto Trait Implementations§
impl RefUnwindSafe for CudaStream
impl !Send for CudaStream
impl !Sync for CudaStream
impl Unpin for CudaStream
impl UnwindSafe for CudaStream
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