Skip to main content

cuGraphNodeGetContainingGraph

Function cuGraphNodeGetContainingGraph 

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

Returns the graph that contains a given graph node.

Returns the graph that contains hNode in *phGraph. If hNode is in a child graph, the child graph it is in is returned.

ยงParameters

  • hNode: Node to query.