hipgraphgetnodes Interface Reference

hipgraphgetnodes Interface Reference#

HIPFORT API Reference: hipfort::hipgraphgetnodes Interface Reference
hipfort::hipgraphgetnodes Interface Reference

Returns graph nodes. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgraphgetnodes_ (graph, nodes, numNodes)
 

Detailed Description

Returns graph nodes.

Parameters
[in]graph- instance of graph to get the nodes.
[out]nodes- pointer to return the graph nodes.
[out]numNodes- returns number of graph nodes.
Returns
hipSuccess, hipErrorInvalidValue

nodes may be NULL, in which case this function will return the number of nodes in numNodes. Otherwise, numNodes entries will be filled in. If numNodes is higher than the actual number of nodes, the remaining entries in nodes will be set to NULL, and the number of nodes actually obtained will be returned in numNodes.

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

◆ hipgraphgetnodes_()

integer(kind(hipsuccess)) function hipfort::hipgraphgetnodes::hipgraphgetnodes_ ( type(c_ptr), value  graph,
type(c_ptr)  nodes,
type(c_ptr), value  numNodes 
)

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