Function rcudnn_sys::cudaGraphChildGraphNodeGetGraph[][src]

pub unsafe extern "C" fn cudaGraphChildGraphNodeGetGraph(
    node: cudaGraphNode_t,
    pGraph: *mut cudaGraph_t
) -> cudaError_t
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 node - Node to get the embedded graph for \param pGraph - Location to store a handle to the graph

\return ::cudaSuccess, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback

\sa ::cudaGraphAddChildGraphNode, ::cudaGraphNodeFindInClone