This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipmemcpydtoh Interface Reference

hipmemcpydtoh Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpydtoh Interface Reference
hipfort::hipmemcpydtoh Interface Reference

Copy data from Device to Host. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpydtoh_ (dst, src, sizeBytes)
 

Detailed Description

Copy data from Device to Host.

Parameters
[out]dstData being copy to
[in]srcData being copy from
[in]sizeBytesData size in bytes
Returns
hipSuccess, hipErrorDeInitialized, hipErrorNotInitialized, hipErrorInvalidContext, hipErrorInvalidValue
See also
hipArrayCreate, hipArrayDestroy, hipArrayGetDescriptor, hipMemAlloc, hipMemAllocHost, hipMemAllocPitch, hipMemcpy2D, hipMemcpy2DAsync, hipMemcpy2DUnaligned, hipMemcpyAtoA, hipMemcpyAtoD, hipMemcpyAtoH, hipMemcpyAtoHAsync, hipMemcpyDtoA, hipMemcpyDtoD, hipMemcpyDtoDAsync, hipMemcpyDtoH, hipMemcpyDtoHAsync, hipMemcpyHtoA, hipMemcpyHtoAAsync, hipMemcpyHtoDAsync, hipMemFree, hipMemFreeHost, hipMemGetAddressRange, hipMemGetInfo, hipMemHostAlloc, hipMemHostGetDevicePointer

Member Function/Subroutine Documentation

◆ hipmemcpydtoh_()

integer(kind(hipsuccess)) function hipfort::hipmemcpydtoh::hipmemcpydtoh_ ( type(c_ptr), value  dst,
type(c_ptr), value  src,
integer(c_size_t), value  sizeBytes 
)

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