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. Seeevent_record()for details on what is captured by an event. ReturnsCUDA_SUCCESSif all captured work has been completed, orCUDA_ERROR_NOT_READYif any captured work is incomplete. For the purposes of Unified Memory, a return value ofCUDA_SUCCESSis equivalent to having calledevent_synchronize().- Parameters:
h_event (intptr_t) – Event to query.
See also
cuEventQuery