cuda.bindings._v2.driver.stream_destroy_v2#

cuda.bindings._v2.driver.stream_destroy_v2(intptr_t h_stream)#

Destroys a stream.

Destroys the stream specified by h_stream. In case the device is still doing work in the stream h_stream when cuStreamDestroy() is called, the function will return immediately and the resources associated with h_stream will be released automatically once the device has completed all work in h_stream.

Parameters:

h_stream (intptr_t) – Stream to destroy.

See also

cuStreamDestroy_v2