hipgraphgetedges Interface Reference

hipgraphgetedges Interface Reference#

HIPFORT API Reference: hipfort::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.

[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.
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

: 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

◆ 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: