Skip to main content

cudaStreamCreate

Function cudaStreamCreate 

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

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.

ยงParameters

  • pStream: - Pointer to new stream identifier