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]dstDestination memory address
[in]srcArraySource array
[in]srcoffsetOffset in bytes of source array
[in]countSize 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)  srcArray,
integer(c_size_t), value  srcOffset,
integer(c_size_t), value  count 
)

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