hipgraphaddmemallocnode Interface Reference

hipgraphaddmemallocnode Interface Reference#

HIPFORT API Reference: hipfort::hipgraphaddmemallocnode Interface Reference
hipfort::hipgraphaddmemallocnode Interface Reference

Creates a memory allocation node and adds it to a graph. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgraphaddmemallocnode_ (pgraphnode, graph, pdependencies, numdependencies, pnodeparams)
 

Detailed Description

Creates a memory allocation node and adds it to a graph.

Parameters
[out]pGraphNode- Pointer to the graph node to create and add to the graph
[in]graph- Instance of the graph node to be added
[in]pDependencies- Const pointer to the node dependencies
[in]numDependencies- The number of dependencies
[in,out]pNodeParams- Node parameters for memory allocation, returns a pointer to the allocated memory.
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipgraphaddmemallocnode_()

integer(kind(hipsuccess)) function hipfort::hipgraphaddmemallocnode::hipgraphaddmemallocnode_ ( type(c_ptr)  pgraphnode,
type(c_ptr), value  graph,
type(c_ptr)  pdependencies,
integer(c_size_t), value  numdependencies,
type(hipmemallocnodeparams pnodeparams 
)

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