Function cuGraphChildGraphNodeGetGraph

Source
pub unsafe extern "C" fn cuGraphChildGraphNodeGetGraph(
    hNode: CUgraphNode,
    phGraph: *mut CUgraph,
) -> CUresult
Expand description

\brief 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.

\param hNode - Node to get the embedded graph for \param phGraph - Location to store a handle to the graph

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

\sa ::cuGraphAddChildGraphNode, ::cuGraphNodeFindInClone