hipmemcpy2darraytoarray Interface Reference

hipmemcpy2darraytoarray Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpy2darraytoarray Interface Reference
hipfort::hipmemcpy2darraytoarray Interface Reference

Copies data between host and device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpy2darraytoarray_ (dst, woffsetdst, hoffsetdst, src, woffsetsrc, hoffsetsrc, width, height, mykind)
 

Detailed Description

Copies data between host and device.

Parameters
[in]dst- Destination memory address
[in]wOffsetDst- Destination starting X offset
[in]hOffsetDst- Destination starting Y offset
[in]src- Source memory address
[in]wOffsetSrc- Source starting X offset
[in]hOffsetSrc- Source starting Y offset (columns in bytes)
[in]width- Width of matrix transfer (columns in bytes)
[in]height- Height of matrix transfer (rows)
[in]myKind- Type of transfer
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidMemcpyDirection
See also
hipMemcpy, hipMemcpyToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync

Member Function/Subroutine Documentation

◆ hipmemcpy2darraytoarray_()

integer(kind(hipsuccess)) function hipfort::hipmemcpy2darraytoarray::hipmemcpy2darraytoarray_ ( type(c_ptr), value  dst,
integer(c_size_t), value  woffsetdst,
integer(c_size_t), value  hoffsetdst,
type(c_ptr), value  src,
integer(c_size_t), value  woffsetsrc,
integer(c_size_t), value  hoffsetsrc,
integer(c_size_t), value  width,
integer(c_size_t), value  height,
integer(kind(hipmemcpyhosttohost)), value  mykind 
)

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