pub unsafe extern "C" fn cuGraphChildGraphNodeGetGraph(
hNode: CUgraphNode,
phGraph: *mut CUgraph,
) -> CUresultExpand description
Gets a handle to the embedded graph of a child graph node.
Gets a handle to the embedded graph in a child graph node. This call does not clone the graph. Changes to the graph will be reflected in the node, and the node retains ownership of the graph.
Allocation and free nodes cannot be added to the returned graph. Attempting to do so will return an error.
Note: Graph objects are not threadsafe. More here.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
hNode: Node to get the embedded graph for.phGraph: Location to store a handle to the graph.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_VALUE
See also: cuGraphAddChildGraphNode, cuGraphNodeFindInClone.