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
Dieser Commit ist enthalten in:
Deepak Mewar
2023-02-27 01:14:03 -05:00
committet von Naveen Krishna Chatradhi
Ursprung 849e43451d
Commit 51d91b9071
7 geänderte Dateien mit 14 neuen und 14 gelöschten Zeilen
+3 -3
Datei anzeigen
@@ -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)