Skip to main content

cudaGraphExecEventWaitNodeSetEvent

Function cudaGraphExecEventWaitNodeSetEvent 

Source
pub unsafe extern "C" fn cudaGraphExecEventWaitNodeSetEvent(
    hGraphExec: cudaGraphExec_t,
    hNode: cudaGraphNode_t,
    event: cudaEvent_t,
) -> cudaError_t
Expand description

Sets the event for an event wait node in the given graphExec.

Sets the event of an event wait node in an executable graph hGraphExec. The node is identified by the corresponding node hNode in the non-executable graph, from which the executable graph was instantiated.

The modifications only affect future launches of hGraphExec. Already enqueued or running launches of hGraphExec are not affected by this call. hNode is also not modified by this call.

ยงParameters

  • hGraphExec: The executable graph in which to set the specified node.
  • hNode: Event wait node from the graph from which graphExec was instantiated.
  • event: Updated event to use.