cuda.bindings._v2.driver.graph_add_event_wait_node#
- cuda.bindings._v2.driver.graph_add_event_wait_node(
- intptr_t h_graph,
- dependencies,
- intptr_t event,
Creates an event wait node and adds it to a graph.
Creates a new event wait node and adds it to
h_graphwithlen(dependencies)dependencies specified viadependenciesand event specified inevent. It is possible forlen(dependencies)to be 0, in which case the node will be placed at the root of the graph.dependenciesmay not have any duplicate entries. A handle to the new node will be returned inph_graph_node. The graph node will wait for all work captured inevent. Seeevent_record()for details on what is captured by an event.eventmay be from a different context or device than the launch stream.- Parameters:
- Returns:
Returns newly created node.
- Return type:
intptr_t
Note
This function will be deprecated in a future CUDA release. Please migrate to
cuGraphAddNode.See also
cuGraphAddEventWaitNode