Skip to main content

cudaGraphGetId

Function cudaGraphGetId 

Source
pub unsafe extern "C" fn cudaGraphGetId(
    hGraph: cudaGraph_t,
    graphID: *mut c_uint,
) -> cudaError_t
Expand description

Returns the id of a given graph.

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

ยงParameters

  • hGraph: Graph to query.