pub unsafe extern "C" fn cuGraphExecChildGraphNodeSetParams(
hGraphExec: CUgraphExec,
hNode: CUgraphNode,
childGraph: CUgraph,
) -> CUresult
Expand description
\brief Updates node parameters in the child graph node in the given graphExec.
Updates the work represented by \p hNode in \p hGraphExec as though the nodes contained in \p hNode’s graph had the parameters contained in \p childGraph’s nodes at instantiation. \p hNode must remain in the graph which was used to instantiate \p hGraphExec. Changed edges to and from \p hNode are ignored.
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.
The topology of \p childGraph, as well as the node insertion order, must match that of the graph contained in \p hNode. See ::cuGraphExecUpdate() for a list of restrictions on what can be updated in an instantiated graph. The update is recursive, so child graph nodes contained within the top level child graph will also be updated.
\param hGraphExec - The executable graph in which to set the specified node \param hNode - Host node from the graph which was used to instantiate graphExec \param childGraph - The graph supplying the updated parameters
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr
\sa ::cuGraphExecNodeSetParams, ::cuGraphAddChildGraphNode, ::cuGraphChildGraphNodeGetGraph, ::cuGraphExecKernelNodeSetParams, ::cuGraphExecMemcpyNodeSetParams, ::cuGraphExecMemsetNodeSetParams, ::cuGraphExecHostNodeSetParams, ::cuGraphExecEventRecordNodeSetEvent, ::cuGraphExecEventWaitNodeSetEvent, ::cuGraphExecExternalSemaphoresSignalNodeSetParams, ::cuGraphExecExternalSemaphoresWaitNodeSetParams, ::cuGraphExecUpdate, ::cuGraphInstantiate