cuda.bindings._v2.driver.graph_node_get_local_id#

cuda.bindings._v2.driver.graph_node_get_local_id(intptr_t h_node) → unsigned int#

Returns the local node id of a given graph node.

Returns the node id of h_node in *node_id. The node_id matches that referenced by cuGraphDebugDotPrint. The local node_id and graphId together can uniquely identify the node.

Parameters:

h_node (intptr_t) – Node to query.

Returns:

Pointer to return the node_id.

Return type:

unsigned int

See also

cuGraphNodeGetLocalId