Renamed API amdsmi_dev_get_ecc_enabled

to amdsmi_dev_get_gpu_ecc_enabled

grep -rli 'amdsmi_dev_get_ecc_enabled' * | xargs -i@ sed -i
's/amdsmi_dev_get_ecc_enabled/amdsmi_dev_get_gpu_ecc_enabled/g' @

Change-Id: I8cb31a2fc4128758a3545e1d17f743a6eff152a0
Ta zmiana jest zawarta w:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:51:57 -04:00
1 rodzic 8c76a96cfb
złożenie 4347ad6a0c
9 plików zmienionych
+19 -19

Żadne pliki nie pasują do Twojego wyszukiwania

+3 -3
Wyświetl plik
@@ -2664,7 +2664,7 @@ except AmdSmiException as e:
print(e)
```
## amdsmi_dev_get_ecc_enabled
## amdsmi_dev_get_gpu_ecc_enabled
Description: Retrieve the enabled ECC bit-mask
Input parameters:
@@ -2672,7 +2672,7 @@ Input parameters:
Output: Enabled ECC bit-mask
Exceptions that can be thrown by ` amdsmi_dev_get_ecc_enabled` function:
Exceptions that can be thrown by ` amdsmi_dev_get_gpu_ecc_enabled` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2685,7 +2685,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
enabled = amdsmi_dev_get_ecc_enabled(device)
enabled = amdsmi_dev_get_gpu_ecc_enabled(device)
print(enabled)
except AmdSmiException as e:
print(e)