Skip to main content

cuGraphNodeGetLocalId

Function cuGraphNodeGetLocalId 

Source
pub unsafe extern "C" fn cuGraphNodeGetLocalId(
    hNode: CUgraphNode,
    nodeId: *mut c_uint,
) -> CUresult
Expand description

Returns the local node id of a given graph node.

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

§Parameters

  • hNode: Node to query.
  • nodeId: Pointer to return the nodeId.

§Return value

See also: cuGraphGetNodes, cuGraphDebugDotPrint, cuGraphNodeGetContainingGraph, cuGraphNodeGetToolsId, cuGraphGetId, cuGraphExecGetId.