change sensor_type in amdsmi_dev_get_temp_metric() to enum

The sensor_type in amdsmi_dev_get_temp_metric() will be changed to
amdsmi_temperature_type_t

Change-Id: I72a7f271b0a55a025acc2ca523062a3d51cc036d


[ROCm/amdsmi commit: 79bd9c1d5f]
Tá an tiomantas seo le fáil i:
Bill(Shuzhou) Liu tiomanta 2023-01-04 13:01:04 -06:00
1 tuismitheoir 2d97dee0c2
tiomantas f29da5cce9
8 comhad athraithe
+13 -11

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -649,7 +649,7 @@ int main() {
// Get temperature
int64_t val_i64 = 0;
ret = amdsmi_dev_get_temp_metric(device_handles[j], 0,
ret = amdsmi_dev_get_temp_metric(device_handles[j], TEMPERATURE_TYPE_EDGE,
AMDSMI_TEMP_CURRENT, &val_i64);
CHK_AMDSMI_RET(ret)
printf(" Output of amdsmi_dev_get_temp_metric:\n");