Renamed API amdsmi_set_perf_determinism_mode to

amdsmi_set_gpu_perf_determinism_mode

grep -rli 'amdsmi_set_perf_determinism_mode' * | xargs -i@ sed -i
's/amdsmi_set_perf_determinism_mode/amdsmi_set_gpu_perf_determinism_mode/g' @

Change-Id: I81b3a9738d3063d49ee2ed09a4223ee174d8d904
This commit is contained in:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:45:27 -04:00
1 parent 3ce4fa3eec
commit 0d5be2949b
8 files changed
+19 -19

No files matched your search

+3 -3
View File
@@ -1985,7 +1985,7 @@ try:
except AmdSmiException as e:
print(e)
```
## amdsmi_set_perf_determinism_mode
## amdsmi_set_gpu_perf_determinism_mode
Description: Enter performance determinism mode with provided device handle
Input parameters:
@@ -1994,7 +1994,7 @@ Input parameters:
Output: None
Exceptions that can be thrown by `amdsmi_set_perf_determinism_mode` function:
Exceptions that can be thrown by `amdsmi_set_gpu_perf_determinism_mode` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2007,7 +2007,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_set_perf_determinism_mode(device, 1333)
amdsmi_set_gpu_perf_determinism_mode(device, 1333)
except AmdSmiException as e:
print(e)
```