pub unsafe extern "C" fn cudaGraphGetNodes(
graph: cudaGraph_t,
nodes: *mut cudaGraphNode_t,
numNodes: *mut size_t,
) -> cudaError_tExpand description
Returns a graph’s nodes.
Returns a list of graph's nodes. nodes may be NULL, in which case this function will return the number of nodes in numNodes. Otherwise, numNodes entries will be filled in. If numNodes is higher than the actual number of nodes, the remaining entries in nodes will be set to NULL, and the number of nodes actually obtained will be returned in numNodes.
§Parameters
graph: Graph to query.nodes: Pointer to return the nodes.numNodes: See description.