[][src]Struct cuda::runtime::CudaStream

pub struct CudaStream { /* fields omitted */ }

Methods

impl CudaStream[src]

pub fn default() -> CudaStream[src]

pub fn create_current() -> CudaResult<CudaStream>[src]

pub fn as_raw(&self) -> cudaStream_t[src]

pub fn ptr_eq(&self, other: &CudaStream) -> bool[src]

pub fn add_callback(
    &mut self,
    callback: extern "C" fn(stream: cudaStream_t, status: cudaError_t, user_data: *mut c_void),
    user_data: *mut c_void
) -> CudaResult
[src]

pub fn synchronize(&mut self) -> CudaResult[src]

pub fn wait_event(&mut self, event: &mut CudaEvent) -> CudaResult[src]

Trait Implementations

impl Drop for CudaStream[src]

impl Send for CudaStream[src]

impl Sync for CudaStream[src]

impl Debug for CudaStream[src]

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]