Renamed API amdsmi_dev_set_od_volt_info

to amdsmi_set_gpu_od_volt_info

grep -rli 'amdsmi_dev_set_od_volt_info' * | xargs -i@ sed -i
's/amdsmi_dev_set_od_volt_info/amdsmi_set_gpu_od_volt_info/g' @

Change-Id: I2364f9f555c010e1022e2c946a65b72fcf3d2233
This commit is contained in:
Deepak Mewar
2023-02-27 04:10:34 -05:00
committed by Naveen Krishna Chatradhi
parent a72e1ec91d
commit 467f3e3bb7
8 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -1658,7 +1658,7 @@ except AmdSmiException as e:
```
## amdsmi_dev_set_od_volt_info
## amdsmi_set_gpu_od_volt_info
Description: This function sets 1 of the 3 voltage curve points
Input parameters:
@@ -1669,7 +1669,7 @@ Input parameters:
Output: None
Exceptions that can be thrown by ` amdsmi_dev_set_od_volt_info` function:
Exceptions that can be thrown by ` amdsmi_set_gpu_od_volt_info` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -1682,7 +1682,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_dev_set_od_volt_info(device, 1, 1000, 980)
amdsmi_set_gpu_od_volt_info(device, 1, 1000, 980)
except AmdSmiException as e:
print(e)
```