Skip to main content

cudaGraphNodeGetLocalId

Function cudaGraphNodeGetLocalId 

Source
pub unsafe extern "C" fn cudaGraphNodeGetLocalId(
    hNode: cudaGraphNode_t,
    nodeId: *mut c_uint,
) -> cudaError_t
Expand description

Returns the node id of a given graph node.

Returns the node id of hNode in *nodeId. The nodeId matches that referenced by cudaGraphDebugDotPrint. 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: cudaGraphGetNodes, cudaGraphDebugDotPrint, cudaGraphNodeGetContainingGraph, cudaGraphNodeGetToolsId, cudaGraphGetId, cudaGraphExecGetId.