cuda.bindings._v2.driver.event_query#

cuda.bindings._v2.driver.event_query(intptr_t h_event)#

Queries an event’s status.

Queries the status of all work currently captured by h_event. See event_record() for details on what is captured by an event. Returns CUDA_SUCCESS if all captured work has been completed, or CUDA_ERROR_NOT_READY if any captured work is incomplete. For the purposes of Unified Memory, a return value of CUDA_SUCCESS is equivalent to having called event_synchronize().

Parameters:

h_event (intptr_t) – Event to query.

See also

cuEventQuery