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

hipdevicegetp2pattribute Interface Reference

hipdevicegetp2pattribute Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetp2pattribute Interface Reference
hipfort::hipdevicegetp2pattribute Interface Reference

Returns a value for attr of link between two devices. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetp2pattribute_ (myValue, attr, srcDevice, dstDevice)
 

Detailed Description

Returns a value for attr of link between two devices.

Parameters
[out]value
[in]attr
[in]srcDevice
[in]dstDevice
Returns
hipSuccess, hipErrorInavlidDevice

Member Function/Subroutine Documentation

◆ hipdevicegetp2pattribute_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetp2pattribute::hipdevicegetp2pattribute_ ( type(c_ptr), value  myValue,
integer(kind(hipdevp2pattrperformancerank)), value  attr,
integer(c_int), value  srcDevice,
integer(c_int), value  dstDevice 
)

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