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 that is created.
[in]graph- Instance of graph to add the created node to.
[in]pDependencies- const pointer to the dependencies on the memcpy execution node.
[in]numDependencies- Number of dependencies.
[in]symbol- Device symbol address.
[in]src- Pointer to memory address of the src.
[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

◆ 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: