Skip to main content

stream_destroy

Function stream_destroy 

Source
pub unsafe fn stream_destroy(stream: CudaStream)
Expand description

Destroy a CUDA stream. No-op if libcudart is unavailable.

ยงSafety

stream must be a live stream returned by stream_create and must not be used after this call.