Skip to main content

cudaGraphExecEventRecordNodeSetEvent

Function cudaGraphExecEventRecordNodeSetEvent 

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

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

Sets the event of an event record 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 record node from the graph from which graphExec was instantiated.
  • event: Updated event to use.