hipgraphgetedges Interface Reference#
hipfort::hipgraphgetedges Interface Reference
Returns a graph's dependency edges. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipgraphgetedges_ (graph, from, to, numedges) |
Detailed Description
Returns a graph's dependency edges.
- Parameters
-
[in] graph - Instance of the graph to get the edges from. [out] from - Pointer to the graph nodes to return edge endpoints. [out] to - Pointer to the graph nodes to return edge endpoints. [out] numEdges - Returns number of edges.
- Returns
hipSuccess,hipErrorInvalidValue
from and to may both be NULL, in which case this function only returns the number of edges in numEdges. Otherwise, numEdges entries will be filled in. If numEdges is higher than the actual number of edges, the remaining entries in from and to will be set to NULL, and the number of edges actually returned will be written to numEdges.
Member Function/Subroutine Documentation
◆ hipgraphgetedges_()
| integer(kind(hipsuccess)) function hipfort::hipgraphgetedges::hipgraphgetedges_ | ( | type(c_ptr), value | graph, |
| type(c_ptr) | from, | ||
| type(c_ptr) | to, | ||
| type(c_ptr), value | numedges | ||
| ) |
The documentation for this interface was generated from the following file: