pub unsafe extern "C" fn hipExtGetLinkTypeAndHopCount(
device1: c_int,
device2: c_int,
linktype: *mut u32,
hopcount: *mut u32,
) -> hipError_t
Expand description
@brief Returns the link type and hop count between two devices
@param [in] device1 Ordinal for device1 @param [in] device2 Ordinal for device2 @param [out] linktype Returns the link type (See hsa_amd_link_info_type_t) between the two devices @param [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, #hipErrorInvalidValue