hipgraphaddmemcpynodetosymbol Interface Reference

hipgraphaddmemcpynodetosymbol Interface Reference#

HIPFORT API Reference: hipfort::hipgraphaddmemcpynodetosymbol Interface Reference
hipfort::hipgraphaddmemcpynodetosymbol Interface Reference

Creates a memcpy node to copy to a symbol on the device and adds it to a graph. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgraphaddmemcpynodetosymbol_ (pGraphNode, graph, pDependencies, numDependencies, symbol, src, count, offset, myKind)
 

Detailed Description

Creates a memcpy node to copy to a symbol on the device and adds it to a graph.

Parameters
[out]pGraphNode- pointer to graph node to create.
[in]graph- instance of graph to add the created node.
[in]pDependencies- pointer to the dependencies on the memcpy execution node.
[in]numDependencies- the number of the dependencies.
[in]symbol- Device symbol address.
[in]src- pointer to memory address of the src.
[in]count- the size of the memory to copy.
[in]offset- Offset from start of symbol in bytes.
[in]kind- the type of memory copy.
Returns
hipSuccess, hipErrorInvalidValue
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

◆ hipgraphaddmemcpynodetosymbol_()

integer(kind(hipsuccess)) function hipfort::hipgraphaddmemcpynodetosymbol::hipgraphaddmemcpynodetosymbol_ ( type(c_ptr)  pGraphNode,
type(c_ptr), value  graph,
type(c_ptr)  pDependencies,
integer(c_size_t), value  numDependencies,
type(c_ptr), value  symbol,
type(c_ptr), value  src,
integer(c_size_t), value  count,
integer(c_size_t), value  offset,
integer(kind(hipmemcpyhosttohost)), value  myKind 
)

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