Make amdsmi function name consistent
Some of the amdsmi function have the verb (set or get) at the end of the function. Move it to the middle to be consistent with other APIs. Change-Id: I8053d16f46af951c25aaaf8febf2896a33633fa1
Tá an tiomantas seo le fáil i:
1 tuismitheoir
a80bbd308c
tiomantas
221d6fdc5c
42 comhad athraithe
+1261
-1261
Níor tháinig aon chomhaid le do chuardach
@@ -649,10 +649,10 @@ int main() {
|
||||
|
||||
// Get temperature
|
||||
int64_t val_i64 = 0;
|
||||
ret = amdsmi_dev_temp_metric_get(device_handles[j], 0,
|
||||
ret = amdsmi_dev_get_temp_metric(device_handles[j], 0,
|
||||
AMDSMI_TEMP_CURRENT, &val_i64);
|
||||
CHK_AMDSMI_RET(ret)
|
||||
printf(" Output of amdsmi_dev_temp_metric_get:\n");
|
||||
printf(" Output of amdsmi_dev_get_temp_metric:\n");
|
||||
std::cout << "\t\tTemperature: " << val_i64 / 1000 << "C"
|
||||
<< "\n\n";
|
||||
|
||||
|
||||
@@ -299,10 +299,10 @@ int main() {
|
||||
|
||||
// Get temperature
|
||||
int64_t val_i64 = 0;
|
||||
ret = amdsmi_dev_temp_metric_get(device_handles[j], 0,
|
||||
ret = amdsmi_dev_get_temp_metric(device_handles[j], 0,
|
||||
AMDSMI_TEMP_CURRENT, &val_i64);
|
||||
CHK_AMDSMI_RET(ret)
|
||||
printf(" Output of amdsmi_dev_temp_metric_get:\n");
|
||||
printf(" Output of amdsmi_dev_get_temp_metric:\n");
|
||||
std::cout << "\t\tTemperature: " << val_i64 / 1000 << "C"
|
||||
<< "\n\n";
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir