pub unsafe extern "C" fn cuGraphAddChildGraphNode(
phGraphNode: *mut CUgraphNode,
hGraph: CUgraph,
dependencies: *const CUgraphNode,
numDependencies: usize,
childGraph: CUgraph,
) -> CUresult
Expand description
\brief Creates a child graph node and adds it to a graph
Creates a new node which executes an embedded graph, and adds it to \p hGraph with \p numDependencies dependencies specified via \p dependencies. 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.
If \p hGraph contains allocation or free nodes, this call will return an error.
The node executes an embedded child graph. The child graph is cloned in this call.
\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 childGraph - The graph to clone into this node
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr
\sa ::cuGraphAddNode, ::cuGraphChildGraphNodeGetGraph, ::cuGraphCreate, ::cuGraphDestroyNode, ::cuGraphAddEmptyNode, ::cuGraphAddKernelNode, ::cuGraphAddHostNode, ::cuGraphAddMemcpyNode, ::cuGraphAddMemsetNode, ::cuGraphClone