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

hipmemcpypeerasync Interface Reference

hipmemcpypeerasync Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpypeerasync Interface Reference
hipfort::hipmemcpypeerasync Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpypeerasync_ (dst, dstDeviceId, src, srcDevice, sizeBytes, stream)
 

Detailed Description

Copies memory from one device to memory on another device.

Parameters
[out]dst- Destination device pointer.
[in]dstDevice- Destination device
[in]src- Source device pointer
[in]srcDevice- Source device
[in]sizeBytes- Size of memory copy in bytes
[in]stream- Stream identifier
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice

Member Function/Subroutine Documentation

◆ hipmemcpypeerasync_()

integer(kind(hipsuccess)) function hipfort::hipmemcpypeerasync::hipmemcpypeerasync_ ( type(c_ptr), value  dst,
integer(c_int), value  dstDeviceId,
type(c_ptr), value  src,
integer(c_int), value  srcDevice,
integer(c_size_t), value  sizeBytes,
type(c_ptr), value  stream 
)

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