hipdeviceenablepeeraccess Interface Reference#
hipfort::hipdeviceenablepeeraccess Interface Reference
Enables direct access to memory allocations on a peer device. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdeviceenablepeeraccess_ (peerdeviceid, flags) |
Detailed Description
Enables direct access to memory allocations on a peer device.
When this API is successful, all memory allocations on peer device will be mapped into the address space of the current device. In addition, any future memory allocation on the peer device will remain accessible from the current device, until the access is disabled using hipDeviceDisablePeerAccess or device is reset using hipDeviceReset.
- Parameters
-
[in] peerDeviceId - Peer device to enable direct access to from the current device [in] flags - Reserved for future use, must be zero
- Returns
hipSuccess,hipErrorInvalidDevice,hipErrorInvalidValue,-
hipErrorPeerAccessAlreadyEnabledif peer access is already enabled for this device.
Member Function/Subroutine Documentation
◆ hipdeviceenablepeeraccess_()
| integer(kind(hipsuccess)) function hipfort::hipdeviceenablepeeraccess::hipdeviceenablepeeraccess_ | ( | integer(c_int), value | peerdeviceid, |
| integer(c_int), value | flags | ||
| ) |
The documentation for this interface was generated from the following file: