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)
 
integer(kind(hipsuccess)) function hipgraphgetnodes_typed (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(c_int) function hipfort::hipgraphgetnodes::hipgraphgetnodes_ ( type(c_ptr), value  graph,
type(c_ptr), optional  nodes,
type(c_ptr), value  numnodes 
)

◆ hipgraphgetnodes_typed()

integer(kind(hipsuccess)) function hipfort::hipgraphgetnodes::hipgraphgetnodes_typed ( type(c_ptr), value  graph,
type(c_ptr), optional  nodes,
integer(c_size_t), target  numnodes 
)

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