pub unsafe extern "C" fn hipGraphGetNodes(
graph: hipGraph_t,
nodes: *mut hipGraphNode_t,
numNodes: *mut usize,
) -> hipError_tExpand description
@brief Returns a graph’s nodes.
@param [in] graph - Instance of graph to get the nodes from. @param [out] nodes - Pointer to return the graph nodes. @param [out] numNodes - Returns the number of graph nodes. @returns #hipSuccess, #hipErrorInvalidValue
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.