hipmemcpyfromsymbol Interface Reference

hipmemcpyfromsymbol Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpyfromsymbol Interface Reference
hipfort::hipmemcpyfromsymbol Interface Reference

Copies data from the given symbol on the device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpyfromsymbol_ (dst, symbol, sizebytes, offset, mykind)
 

Detailed Description

Copies data from the given symbol on the device.

Parameters
[out]dst- Returns pointer to destinition memory address
[in]symbol- Pointer to the symbole address on the device
[in]sizeBytes- Size in bytes to copy
[in]offset- Offset in bytes from the start of symbole
[in]myKind- Type of memory transfer
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipmemcpyfromsymbol_()

integer(kind(hipsuccess)) function hipfort::hipmemcpyfromsymbol::hipmemcpyfromsymbol_ ( type(c_ptr), value  dst,
type(c_ptr), value  symbol,
integer(c_size_t), value  sizebytes,
integer(c_size_t), value  offset,
integer(kind(hipmemcpyhosttohost)), value  mykind 
)

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