hipdeviceenablepeeraccess Interface Reference

hipdeviceenablepeeraccess Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceenablepeeraccess Interface Reference
hipfort::hipdeviceenablepeeraccess Interface Reference

Enable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceenablepeeraccess_ (peerDeviceId, flags)
 

Detailed Description

Enable direct access from current device's virtual address space to memory allocations physically located on a peer device.

Memory which already allocated on peer device will be mapped into the address space of the current device. In addition, all future memory allocations on peerDeviceId will be mapped into the address space of the current device when the memory is allocated. The peer memory remains accessible from the current device until a call to hipDeviceDisablePeerAccess or hipDeviceReset.

Parameters
[in]peerDeviceId
[in]flagsReturns hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue,
Returns
hipErrorPeerAccessAlreadyEnabled if 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: