hipdevicegetp2pattribute Interface Reference

hipdevicegetp2pattribute Interface Reference#

HIPFORT API Reference: hipfort::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]valuePointer of the value for the attrubute
[in]attrenum of hipDeviceP2PAttr to query
[in]srcDeviceThe source device of the link
[in]dstDeviceThe 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: