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:
1 parent
6229bac89b
commit
cd81fa970d
10 files changed
+23
-23
No files matched your search
@@ -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)
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user