Renamed API amdsmi_dev_reset_gpu

to amdsmi_reset_gpu

grep -rli 'amdsmi_dev_reset_gpu' * | xargs -i@ sed -i
's/amdsmi_dev_reset_gpu/amdsmi_reset_gpu/g' @

Change-Id: Iebd03bc710fed1a75f262726ab33cd1a42d641a7
This commit is contained in:
Deepak Mewar
2023-02-27 00:56:31 -05:00
committed by Naveen Krishna Chatradhi
parent b9b495e486
commit 98f87d9633
7 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -2465,7 +2465,7 @@ try:
except AmdSmiException as e:
print(e)
```
## amdsmi_dev_reset_gpu
## amdsmi_reset_gpu
Description: Reset the gpu associated with the device with provided device handle
Input parameters:
@@ -2473,7 +2473,7 @@ Input parameters:
Output: None
Exceptions that can be thrown by `amdsmi_dev_reset_gpu` function:
Exceptions that can be thrown by `amdsmi_reset_gpu` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2486,7 +2486,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_dev_reset_gpu(device)
amdsmi_reset_gpu(device)
except AmdSmiException as e:
print(e)
```