cuda.bindings._v2.driver.stream_synchronize#
- cuda.bindings._v2.driver.stream_synchronize(intptr_t h_stream)#
Wait until a stream’s tasks are completed.
Waits until the device has completed all operations in the stream specified by
h_stream. If the context was created with theCU_CTX_SCHED_BLOCKING_SYNCflag, the CPU thread will block until the stream is finished with all of its tasks.ote_null_stream.
- Args:
h_stream (intptr_t): Stream to wait for.
See also
cuStreamSynchronize