Renamed API amdsmi_get_ras_block_features_enabled

to amdsmi_get_gpu_ras_block_features_enabled

grep -rli 'amdsmi_get_ras_block_features_enabled' * | xargs -i@ sed -i
's/amdsmi_get_ras_block_features_enabled/amdsmi_get_gpu_ras_block_features_enabled/g' @

Change-Id: I23d6c6145465f6a3f28a48717b2343a816ff5c9b
Цей коміт міститься в:
Deepak Mewar
2023-02-27 01:14:03 -05:00
зафіксовано Naveen Krishna Chatradhi
джерело 849e43451d
коміт 51d91b9071
7 змінених файлів з 14 додано та 14 видалено
+3 -3
Переглянути файл
@@ -941,7 +941,7 @@ except AmdSmiException as e:
print(e)
```
## amdsmi_get_ras_block_features_enabled
## amdsmi_get_gpu_ras_block_features_enabled
Description: Returns status of each RAS block for the given GPU
Input parameters:
@@ -955,7 +955,7 @@ Field | Description
`block` | RAS block
`status` | RAS block status
Exceptions that can be thrown by `amdsmi_get_ras_block_features_enabled` function:
Exceptions that can be thrown by `amdsmi_get_gpu_ras_block_features_enabled` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -968,7 +968,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
ras_block_features = amdsmi_get_ras_block_features_enabled(device)
ras_block_features = amdsmi_get_gpu_ras_block_features_enabled(device)
print(ras_block_features)
except AmdSmiException as e:
print(e)