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] device1 Ordinal for device1 [in] device2 Ordinal for device2 [out] linktype Returns the link type (See hsa_amd_link_info_type_t) between the two devices [out] hopcount Returns 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: