Function cudarc::driver::result::stream::destroy

source ·
pub unsafe fn destroy(stream: CUstream) -> Result<(), DriverError>
Expand description

Destroys a stream.

See cuda docs

Safety

This should only be called with stream created by create and not already destroyed. This follows default stream semantics, see relevant cuda docs.