Function cudaStreamCreate

Source
pub unsafe extern "C" fn cudaStreamCreate(
    pStream: *mut cudaStream_t,
) -> cudaError_t
Expand description

\brief Create an asynchronous stream

Creates a new asynchronous stream on the context that is current to the calling host thread. If no context is current to the calling host thread, then the primary context for a device is selected, made current to the calling thread, and initialized before creating a stream on it.

\param pStream - Pointer to new stream identifier

\return ::cudaSuccess, ::cudaErrorInvalidValue \notefnerr \note_init_rt \note_callback

\sa ::cudaStreamCreateWithPriority, ::cudaStreamCreateWithFlags, ::cudaStreamGetPriority, ::cudaStreamGetFlags, ::cudaStreamQuery, ::cudaStreamSynchronize, ::cudaStreamWaitEvent, ::cudaStreamAddCallback, ::cudaSetDevice, ::cudaStreamDestroy, ::cuStreamCreate