Renamed API amdsmi_dev_get_ecc_status

to amdsmi_dev_get_gpu_ecc_status

grep -rli 'amdsmi_dev_get_ecc_status' * | xargs -i@ sed -i
's/amdsmi_dev_get_ecc_status/amdsmi_dev_get_gpu_ecc_status/g' @

Change-Id: I11f9b818e251684d688f266e8721ff7a9277f6bd
Этот коммит содержится в:
Deepak Mewar
2023-02-27 01:30:33 -05:00
коммит произвёл Naveen Krishna Chatradhi
родитель 4347ad6a0c
Коммит 7232a79e18
9 изменённых файлов: 18 добавлений и 18 удалений
+3 -3
Просмотреть файл
@@ -2691,7 +2691,7 @@ except AmdSmiException as e:
print(e)
```
## amdsmi_dev_get_ecc_status
## amdsmi_dev_get_gpu_ecc_status
Description: Retrieve the ECC status for a GPU block
Input parameters:
@@ -2700,7 +2700,7 @@ Input parameters:
Output: ECC status for a requested GPU block
Exceptions that can be thrown by ` amdsmi_dev_get_ecc_status` function:
Exceptions that can be thrown by ` amdsmi_dev_get_gpu_ecc_status` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2713,7 +2713,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
status = amdsmi_dev_get_ecc_status(device, AmdSmiGpuBlock.UMC)
status = amdsmi_dev_get_gpu_ecc_status(device, AmdSmiGpuBlock.UMC)
print(status)
except AmdSmiException as e:
print(e)