Skip to main content

cudaGraphExecGetId

Function cudaGraphExecGetId 

Source
pub unsafe extern "C" fn cudaGraphExecGetId(
    hGraphExec: cudaGraphExec_t,
    graphID: *mut c_uint,
) -> cudaError_t
Expand description

Returns the id of a given graph exec.

Returns the id of hGraphExec in *graphId. The value in *graphId matches that referenced by cudaGraphDebugDotPrint.

§Parameters

  • hGraphExec: Graph to query.

§Return value

See also: cudaGraphGetNodes, cudaGraphDebugDotPrint, cudaGraphNodeGetContainingGraph, cudaGraphNodeGetLocalId, cudaGraphNodeGetToolsId, cudaGraphGetId.