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
Este cometimento está contido em:
Deepak Mewar criou e Naveen Krishna Chatradhi cometeu 2023-05-11 10:51:57 -04:00
1 ascendente 8c76a96cfb
cometimento 4347ad6a0c
9 ficheiros modificados
+19 -19

Não existem ficheiros que correspondam à sua pesquisa

+3 -3
Ver ficheiro
@@ -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)