Renamed API amdsmi_dev_get_od_volt_info

to amdsmi_get_gpu_od_volt_info

grep -rli 'amdsmi_dev_get_od_volt_info' * | xargs -i@ sed -i
's/amdsmi_dev_get_od_volt_info/amdsmi_get_gpu_od_volt_info/g' @

Change-Id: Icd8658509b28523b7c04f8d2c53efb82689e294b
This commit is contained in:
Deepak Mewar
2023-02-27 04:06:56 -05:00
committed by Naveen Krishna Chatradhi
parent 78ce4979e1
commit 2bd94db02c
10 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -2071,7 +2071,7 @@ try:
except AmdSmiException as e:
print(e)
```
## amdsmi_dev_get_od_volt_info
## amdsmi_get_gpu_od_volt_info
Description: This function retrieves the voltage/frequency curve information
Input parameters:
@@ -2089,7 +2089,7 @@ Field | Description
`num_regions`| The current frequency index
Exceptions that can be thrown by ` amdsmi_dev_get_od_volt_info` function:
Exceptions that can be thrown by ` amdsmi_get_gpu_od_volt_info` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2102,7 +2102,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_dev_get_od_volt_info(dev)
amdsmi_get_gpu_od_volt_info(dev)
except AmdSmiException as e:
print(e)
```