cuda.bindings._v2.driver.stream_query#
- cuda.bindings._v2.driver.stream_query(intptr_t h_stream)#
Determine status of a compute stream.
Returns
CUDA_SUCCESSif all operations in the stream specified byh_streamhave completed, orCUDA_ERROR_NOT_READYif not. For the purposes of Unified Memory, a return value ofCUDA_SUCCESSis equivalent to having calledstream_synchronize().- Parameters:
h_stream (intptr_t) – Stream to query status of.
See also
cuStreamQuery