cuda.bindings._v2.driver.graph_node_get_containing_graph#

cuda.bindings._v2.driver.graph_node_get_containing_graph(intptr_t h_node) → intptr_t#

Returns the graph that contains a given graph node.

Returns the graph that contains h_node in *ph_graph. If h_node is in a child graph, the child graph it is in is returned.

Parameters:

h_node (intptr_t) – Node to query.

Returns:

Pointer to return the containing graph.

Return type:

intptr_t

See also

cuGraphNodeGetContainingGraph