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

Constructor & Destructor Documentation

◆ hipgraphgetnodes_()

integer(c_int) function hipfort::hipgraphgetnodes_::hipgraphgetnodes_ ( type(c_ptr), value  graph,
type(c_ptr), value  nodes,
type(c_ptr), value  numnodes 
)

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