hipdevicegetp2pattribute Interface Reference#
hipfort::hipdevicegetp2pattribute Interface Reference
Returns a value for attribute of link between two devices. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevicegetp2pattribute_ (myvalue, attr, srcdevice, dstdevice) |
Detailed Description
Returns a value for attribute of link between two devices.
- Parameters
-
[out] value Pointer of the value for the attrubute [in] attr enum of hipDeviceP2PAttr to query [in] srcDevice The source device of the link [in] dstDevice The destination device of the link
- Returns
hipSuccess,hipErrorInvalidDevice
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: