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(c_int) function hipextgetlinktypeandhopcount_ (device1, device2, linktype, hopcount)
 
integer(kind(hipsuccess)) function hipextgetlinktypeandhopcount_typed (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, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipextgetlinktypeandhopcount_()

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

◆ hipextgetlinktypeandhopcount_typed()

integer(kind(hipsuccess)) function hipfort::hipextgetlinktypeandhopcount::hipextgetlinktypeandhopcount_typed ( integer(c_int)  device1,
integer(c_int)  device2,
integer(c_int32_t), target  linktype,
integer(c_int32_t), target  hopcount 
)

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