hipgraphgetrootnodes Interface Reference#
hipfort::hipgraphgetrootnodes Interface Reference
Returns graph's root nodes. More...
Public Member Functions | |
integer(kind(hipsuccess)) function | hipgraphgetrootnodes_ (graph, pRootNodes, pNumRootNodes) |
Detailed Description
Returns graph's root nodes.
- Parameters
-
[in] graph - instance of the graph to get the nodes. [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.
- Warning
- : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.
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: