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


[ROCm/amdsmi commit: 2bd94db02c]
This commit is contained in:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:59:11 -04:00
1 parent 6229bac89b
commit cd81fa970d
10 files changed
+23 -23

No files matched your search

+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)
```