hipmemcpy2dfromarray Interface Reference#
hipfort::hipmemcpy2dfromarray Interface Reference
Copies data between host and device. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipmemcpy2dfromarray_ (dst, dpitch, src, woffset, hoffset, width, height, mykind) |
Detailed Description
Copies data between host and device.
- Parameters
-
[in] dst - Destination memory address [in] dpitch - Pitch of destination memory [in] src - Source memory address [in] wOffset - Source starting X offset [in] hOffset - Source starting Y offset [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, hipMemcpy2DToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync
Member Function/Subroutine Documentation
◆ hipmemcpy2dfromarray_()
| integer(kind(hipsuccess)) function hipfort::hipmemcpy2dfromarray::hipmemcpy2dfromarray_ | ( | 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 | ||
| ) |
The documentation for this interface was generated from the following file: