pub fn stream_create() -> Option<CudaStream>Expand description
Create a CUDA stream. Returns None if libcudart is unavailable or stream
creation fails. The returned stream must be released with
stream_destroy. Intended for clients (e.g. the codec’s nvJPEG backend)
that submit async device work and synchronise on it.