hipmemcpy2dfromarrayasync Interface Reference

hipmemcpy2dfromarrayasync Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpy2dfromarrayasync Interface Reference
hipfort::hipmemcpy2dfromarrayasync Interface Reference

Copies data between host and device asynchronously. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpy2dfromarrayasync_ (dst, dpitch, src, wOffset, hOffset, width, height, myKind, stream)
 

Detailed Description

Copies data between host and device asynchronously.

Parameters
[in]dstDestination memory address
[in]dpitchPitch of destination memory
[in]srcSource memory address
[in]wOffsetSource starting X offset
[in]hOffsetSource starting Y offset
[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, hipMemcpy2DToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync

Member Function/Subroutine Documentation

◆ hipmemcpy2dfromarrayasync_()

integer(kind(hipsuccess)) function hipfort::hipmemcpy2dfromarrayasync::hipmemcpy2dfromarrayasync_ ( type(c_ptr), value  dst,
integer(c_size_t), value  dpitch,
type(c_ptr), value  src,
integer(c_size_t), value  wOffset,
integer(c_size_t), value  hOffset,
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: