hipmemcpy2dtoarray Interface Reference

hipmemcpy2dtoarray Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpy2dtoarray Interface Reference
hipfort::hipmemcpy2dtoarray Interface Reference

Copies data between host and device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpy2dtoarray_ (dst, woffset, hoffset, src, spitch, width, height, mykind)
 

Detailed Description

Copies data between host and device.

Parameters
[in]dst- Destination memory address
[in]wOffset- Destination starting X offset
[in]hOffset- Destination starting Y offset
[in]src- Source memory address
[in]spitch- Pitch of source memory
[in]width- Width of matrix transfer (columns in bytes)
[in]height- Height of matrix transfer (rows)
[in]myKind- Type of transfer
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidPitchValue, hipErrorInvalidDevicePointer, hipErrorInvalidMemcpyDirection
See also
hipMemcpy, hipMemcpyToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync

Member Function/Subroutine Documentation

◆ hipmemcpy2dtoarray_()

integer(kind(hipsuccess)) function hipfort::hipmemcpy2dtoarray::hipmemcpy2dtoarray_ ( type(c_ptr), value  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 
)

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