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 that is created.
[in]graph- Instance of graph to add the created node to.
[in]pDependencies- const pointer to the dependencies of the memcpy execution node.
[in]numDependencies- Number of the dependencies.
[in]dst- Pointer to memory address of the destination.
[in]symbol- Device symbol address.
[in]count- Size of the memory to copy.
[in]offset- Offset from start of symbol in bytes.
[in]kind- Type of memory copy.
Returns
hipSuccess, hipErrorInvalidValue

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: