Renamed API amdsmi_dev_reset_xgmi_error
amdsmi_dev_reset_xgmi_error -> amdsmi_reset_gpu_xgmi_error grep -rli 'amdsmi_dev_reset_xgmi_error' * | xargs -i@ sed -i 's/amdsmi_dev_reset_xgmi_error/amdsmi_reset_gpu_xgmi_error/g' @ Change-Id: Ic7e4c4b345fdf6187aed42d53fb7ae8536c2edea
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
a8acfbf8ff
commit
6256bf6f1a
@@ -2849,7 +2849,7 @@ except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
|
||||
## amdsmi_dev_reset_xgmi_error
|
||||
## amdsmi_reset_gpu_xgmi_error
|
||||
Description: Reset the XGMI error status for a device
|
||||
|
||||
Input parameters:
|
||||
@@ -2857,7 +2857,7 @@ Input parameters:
|
||||
|
||||
Output: None
|
||||
|
||||
Exceptions that can be thrown by `amdsmi_dev_reset_xgmi_error` function:
|
||||
Exceptions that can be thrown by `amdsmi_reset_gpu_xgmi_error` function:
|
||||
* `AmdSmiLibraryException`
|
||||
* `AmdSmiRetryException`
|
||||
* `AmdSmiParameterException`
|
||||
@@ -2870,7 +2870,7 @@ try:
|
||||
print("No GPUs on machine")
|
||||
else:
|
||||
for device in devices:
|
||||
amdsmi_dev_reset_xgmi_error(device)
|
||||
amdsmi_reset_gpu_xgmi_error(device)
|
||||
except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user