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 streamh_streamwhencuStreamDestroy()is called, the function will return immediately and the resources associated withh_streamwill be released automatically once the device has completed all work inh_stream.- Parameters:
h_stream (intptr_t) – Stream to destroy.
See also
cuStreamDestroy_v2