Function cuGraphExecEventWaitNodeSetEvent

Source
pub unsafe extern "C" fn cuGraphExecEventWaitNodeSetEvent(
    hGraphExec: CUgraphExec,
    hNode: CUgraphNode,
    event: CUevent,
) -> CUresult
Expand description

\brief Sets the event for an event wait node in the given graphExec

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

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

\param hGraphExec - The executable graph in which to set the specified node \param hNode - event wait node from the graph from which graphExec was instantiated \param event - Updated event to use

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr

\sa ::cuGraphExecNodeSetParams, ::cuGraphAddEventWaitNode, ::cuGraphEventWaitNodeGetEvent, ::cuGraphEventRecordNodeSetEvent, ::cuEventRecordWithFlags, ::cuStreamWaitEvent, ::cuGraphExecKernelNodeSetParams, ::cuGraphExecMemcpyNodeSetParams, ::cuGraphExecMemsetNodeSetParams, ::cuGraphExecHostNodeSetParams, ::cuGraphExecChildGraphNodeSetParams, ::cuGraphExecEventRecordNodeSetEvent, ::cuGraphExecExternalSemaphoresSignalNodeSetParams, ::cuGraphExecExternalSemaphoresWaitNodeSetParams, ::cuGraphExecUpdate, ::cuGraphInstantiate