hipextgetlinktypeandhopcount Interface Reference

hipextgetlinktypeandhopcount Interface Reference#

HIPFORT API Reference: hipfort::hipextgetlinktypeandhopcount Interface Reference
hipfort::hipextgetlinktypeandhopcount Interface Reference

Returns the link type and hop count between two devices. More...

Public Member Functions

integer(kind(hipsuccess)) function hipextgetlinktypeandhopcount_ (device1, device2, linktype, hopcount)
 

Detailed Description

Returns the link type and hop count between two devices.

Parameters
[in]device1Ordinal for device1
[in]device2Ordinal for device2
[out]linktypeReturns the link type (See hsa_amd_link_info_type_t) between the two devices
[out]hopcountReturns the hop count between the two devices

Queries and returns the HSA link type and the hop count between the two specified devices.

Returns
hipSuccess, hipInvalidDevice, hipErrorRuntimeOther

Member Function/Subroutine Documentation

◆ hipextgetlinktypeandhopcount_()

integer(kind(hipsuccess)) function hipfort::hipextgetlinktypeandhopcount::hipextgetlinktypeandhopcount_ ( integer(c_int), value  device1,
integer(c_int), value  device2,
type(c_ptr), value  linktype,
type(c_ptr), value  hopcount 
)

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