cuda.bindings._v2.driver.stream_query#

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

Determine status of a compute stream.

Returns CUDA_SUCCESS if all operations in the stream specified by h_stream have completed, or CUDA_ERROR_NOT_READY if not. For the purposes of Unified Memory, a return value of CUDA_SUCCESS is equivalent to having called stream_synchronize().

Parameters:

h_stream (intptr_t) – Stream to query status of.

See also

cuStreamQuery