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

hipmemcpypeer Interface Reference

hipmemcpypeer Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpypeer Interface Reference
hipfort::hipmemcpypeer Interface Reference

Copies memory from one device to memory on another device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpypeer_ (dst, dstDeviceId, src, srcDeviceId, sizeBytes)
 

Detailed Description

Copies memory from one device to memory on another device.

Parameters
[out]dst- Destination device pointer.
[in]dstDeviceId- Destination device
[in]src- Source device pointer
[in]srcDeviceId- Source device
[in]sizeBytes- Size of memory copy in bytes
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice

Member Function/Subroutine Documentation

◆ hipmemcpypeer_()

integer(kind(hipsuccess)) function hipfort::hipmemcpypeer::hipmemcpypeer_ ( type(c_ptr), value  dst,
integer(c_int), value  dstDeviceId,
type(c_ptr), value  src,
integer(c_int), value  srcDeviceId,
integer(c_size_t), value  sizeBytes 
)

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