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(c_int) 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.

Constructor & Destructor Documentation

◆ hipgraphgetedges_()

integer(c_int) function hipfort::hipgraphgetedges_::hipgraphgetedges_ ( type(c_ptr), value  graph,
type(c_ptr), value  from,
type(c_ptr), value  to,
type(c_ptr), value  numedges 
)

The documentation for this interface was generated from the following file: