pub unsafe extern "C" fn cuGraphAddEventWaitNode(
phGraphNode: *mut CUgraphNode,
hGraph: CUgraph,
dependencies: *const CUgraphNode,
numDependencies: usize,
event: CUevent,
) -> CUresult
Expand description
\brief Creates an event wait node and adds it to a graph
Creates a new event wait node and adds it to \p hGraph with \p numDependencies dependencies specified via \p dependencies and event specified in \p event. It is possible for \p numDependencies to be 0, in which case the node will be placed at the root of the graph. \p dependencies may not have any duplicate entries. A handle to the new node will be returned in \p phGraphNode.
The graph node will wait for all work captured in \p event. See ::cuEventRecord() for details on what is captured by an event. \p event may be from a different context or device than the launch stream.
\param phGraphNode - Returns newly created node \param hGraph - Graph to which to add the node \param dependencies - Dependencies of the node \param numDependencies - Number of dependencies \param event - Event for the node
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_NOT_SUPPORTED, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr
\sa ::cuGraphAddNode, ::cuGraphAddEventRecordNode, ::cuEventRecordWithFlags, ::cuStreamWaitEvent, ::cuGraphCreate, ::cuGraphDestroyNode, ::cuGraphAddChildGraphNode, ::cuGraphAddEmptyNode, ::cuGraphAddKernelNode, ::cuGraphAddMemcpyNode, ::cuGraphAddMemsetNode