hipgraphaddmemcpynodefromsymbol Interface Reference

hipgraphaddmemcpynodefromsymbol Interface Reference#

HIPFORT API Reference: hipfort::hipgraphaddmemcpynodefromsymbol Interface Reference
hipfort::hipgraphaddmemcpynodefromsymbol Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipgraphaddmemcpynodefromsymbol_ (pGraphNode, graph, pDependencies, numDependencies, dst, symbol, count, offset, myKind)
 

Detailed Description

Creates a memcpy node to copy from 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]dst- pointer to memory address to the destination.
[in]symbol- Device symbol address.
[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

◆ hipgraphaddmemcpynodefromsymbol_()

integer(kind(hipsuccess)) function hipfort::hipgraphaddmemcpynodefromsymbol::hipgraphaddmemcpynodefromsymbol_ ( type(c_ptr)  pGraphNode,
type(c_ptr), value  graph,
type(c_ptr)  pDependencies,
integer(c_size_t), value  numDependencies,
type(c_ptr), value  dst,
type(c_ptr), value  symbol,
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: