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(c_int) function hipdevicegetp2pattribute_ (myvalue, attr, srcdevice, dstdevice)
 
integer(kind(hipsuccess)) function hipdevicegetp2pattribute_typed (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(c_int) function hipfort::hipdevicegetp2pattribute::hipdevicegetp2pattribute_ ( type(c_ptr), value  myvalue,
integer(c_int), value  attr,
integer(c_int), value  srcdevice,
integer(c_int), value  dstdevice 
)

◆ hipdevicegetp2pattribute_typed()

integer(kind(hipsuccess)) function hipfort::hipdevicegetp2pattribute::hipdevicegetp2pattribute_typed ( integer(c_int), target  myvalue,
integer(kind(hipdevp2pattrperformancerank))  attr,
integer(c_int)  srcdevice,
integer(c_int)  dstdevice 
)

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