hipgraphgetnodes Interface Reference

hipgraphgetnodes Interface Reference#

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

Returns a graph's nodes. More...

Public Member Functions

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

Detailed Description

Returns a graph's nodes.

Parameters
[in]graph- Instance of graph to get the nodes from.
[out]nodes- Pointer to return the graph nodes.
[out]numNodes- Returns the 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.

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: