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

hipmemcpyhtoa Interface Reference

hipmemcpyhtoa Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpyhtoa Interface Reference
hipfort::hipmemcpyhtoa Interface Reference

Copies data between host and device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpyhtoa_ (dstArray, dstOffset, srcHost, count)
 

Detailed Description

Copies data between host and device.

Parameters
[in]dstArrayDestination memory address
[in]dstOffsetOffset in bytes of destination array
[in]srcHostSource host pointer
[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

◆ hipmemcpyhtoa_()

integer(kind(hipsuccess)) function hipfort::hipmemcpyhtoa::hipmemcpyhtoa_ ( type(c_ptr)  dstArray,
integer(c_size_t), value  dstOffset,
type(c_ptr), value  srcHost,
integer(c_size_t), value  count 
)

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