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


[ROCm/amdsmi commit: 467f3e3bb7]
Esse commit está contido em:
Deepak Mewar
2023-02-27 04:10:34 -05:00
commit de Naveen Krishna Chatradhi
commit a970cea1b0
8 arquivos alterados com 16 adições e 16 exclusões
+3 -3
Ver Arquivo
@@ -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)
```