hipmemcpydtoa Interface Reference

hipmemcpydtoa Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpydtoa Interface Reference
hipfort::hipmemcpydtoa Interface Reference

Copies from device memory to a 1D array. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpydtoa_ (dstarray, dstoffset, srcdevice, bytecount)
 

Detailed Description

Copies from device memory to a 1D array.

Parameters
[out]dstArray- Destination array
[in]dstOffset- Offset in bytes of destination array
[in]srcDevice- Source device pointer
[in]ByteCount- Size of memory copy 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

◆ hipmemcpydtoa_()

integer(kind(hipsuccess)) function hipfort::hipmemcpydtoa::hipmemcpydtoa_ ( type(c_ptr), value  dstarray,
integer(c_size_t), value  dstoffset,
type(c_ptr), value  srcdevice,
integer(c_size_t), value  bytecount 
)

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