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

hipmemcpy2dtoarrayasync Interface Reference

hipmemcpy2dtoarrayasync Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpy2dtoarrayasync Interface Reference
hipfort::hipmemcpy2dtoarrayasync Interface Reference

Copies data between host and device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpy2dtoarrayasync_ (dst, wOffset, hOffset, src, spitch, width, height, myKind, stream)
 

Detailed Description

Copies data between host and device.

Parameters
[in]dstDestination memory address
[in]wOffsetDestination starting X offset
[in]hOffsetDestination starting Y offset
[in]srcSource memory address
[in]spitchPitch of source memory
[in]widthWidth of matrix transfer (columns in bytes)
[in]heightHeight of matrix transfer (rows)
[in]kindType of transfer
[in]streamAccelerator view which the copy is being enqueued
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidPitchValue, hipErrorInvalidDevicePointer, hipErrorInvalidMemcpyDirection
See also
hipMemcpy, hipMemcpyToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync

Member Function/Subroutine Documentation

◆ hipmemcpy2dtoarrayasync_()

integer(kind(hipsuccess)) function hipfort::hipmemcpy2dtoarrayasync::hipmemcpy2dtoarrayasync_ ( type(c_ptr)  dst,
integer(c_size_t), value  wOffset,
integer(c_size_t), value  hOffset,
type(c_ptr), value  src,
integer(c_size_t), value  spitch,
integer(c_size_t), value  width,
integer(c_size_t), value  height,
integer(kind(hipmemcpyhosttohost)), value  myKind,
type(c_ptr), value  stream 
)

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