hipgraphgetrootnodes Interface Reference#
hipfort::hipgraphgetrootnodes Interface Reference
Returns a graph's root nodes. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipgraphgetrootnodes_ (graph, prootnodes, pnumrootnodes) |
Detailed Description
Returns a graph's root nodes.
- Parameters
-
[in] graph - Instance of the graph to get the nodes from. [out] pRootNodes - Pointer to return the graph's root nodes. [out] pNumRootNodes - Returns the number of graph's root nodes.
- Returns
hipSuccess,hipErrorInvalidValue
pRootNodes may be NULL, in which case this function will return the number of root nodes in pNumRootNodes. Otherwise, pNumRootNodes entries will be filled in. If pNumRootNodes is higher than the actual number of root nodes, the remaining entries in pRootNodes will be set to NULL, and the number of nodes actually obtained will be returned in pNumRootNodes.
Member Function/Subroutine Documentation
◆ hipgraphgetrootnodes_()
| integer(kind(hipsuccess)) function hipfort::hipgraphgetrootnodes::hipgraphgetrootnodes_ | ( | type(c_ptr), value | graph, |
| type(c_ptr) | prootnodes, | ||
| type(c_ptr), value | pnumrootnodes | ||
| ) |
The documentation for this interface was generated from the following file: