hipmemcpyatoh Interface Reference

hipmemcpyatoh Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpyatoh Interface Reference
hipfort::hipmemcpyatoh Interface Reference

Copies data between host and device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpyatoh_ (dst, srcarray, srcoffset, count)
 

Detailed Description

Copies data between host and device.

Parameters
[in]dst- Destination memory address
[in]srcArray- Source array
[in]srcOffset- Offset in bytes of source array
[in]count- Size of memory copy in bytes
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidPitchValue, hipErrorInvalidDevicePointer, hipErrorInvalidMemcpyDirection
See also
hipMemcpy, hipMemcpy2DToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync

Member Function/Subroutine Documentation

◆ hipmemcpyatoh_()

integer(kind(hipsuccess)) function hipfort::hipmemcpyatoh::hipmemcpyatoh_ ( type(c_ptr), value  dst,
type(c_ptr), value  srcarray,
integer(c_size_t), value  srcoffset,
integer(c_size_t), value  count 
)

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