hipmemcpypeer Interface Reference

hipmemcpypeer Interface Reference#

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

Copies memory between two peer accessible devices. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpypeer_ (dst, dstdeviceid, src, srcdeviceid, sizebytes)
 

Detailed Description

Copies memory between two peer accessible devices.

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: