Renamed API amdsmi_dev_get_od_volt_curve_regions

to amdsmi_get_gpu_od_volt_curve_regions

grep -rli 'amdsmi_dev_get_od_volt_curve_regions' * | xargs -i@ sed -i
's/amdsmi_dev_get_od_volt_curve_regions/amdsmi_get_gpu_od_volt_curve_regions/g' @

Change-Id: I4b390c2d5173ca919c4ab5b1173a4fc40e2a0015
Šī revīzija ir iekļauta:
Deepak Mewar
2023-02-27 04:12:11 -05:00
revīziju iesūtīja Naveen Krishna Chatradhi
vecāks 467f3e3bb7
revīzija ced22230c4
9 mainīti faili ar 18 papildinājumiem un 18 dzēšanām
+3 -3
Parādīt failu
@@ -2168,7 +2168,7 @@ try:
except AmdSmiException as e:
print(e)
```
## amdsmi_dev_get_od_volt_curve_regions
## amdsmi_get_gpu_od_volt_curve_regions
Description: This function will retrieve the current valid regions in the
frequency/voltage space
@@ -2183,7 +2183,7 @@ Field | Description
`freq_range` | <table> <thead><tr><th> Subfield </th><th>Description</th></tr></thead><tbody><tr><td>`lower_bound`</td><td>lower bound freq range</td></tr><tr><td>`upper_bound`</td><td>upper bound freq range</td></tr></tbody></table>
`volt_range` | <table> <thead><tr><th> Subfield </th><th>Description</th></tr></thead><tbody><tr><td>`lower_bound`</td><td>lower bound volt range</td></tr><tr><td>`upper_bound`</td><td>upper bound volt range</td></tr></tbody></table>
Exceptions that can be thrown by ` amdsmi_dev_get_od_volt_curve_regions` function:
Exceptions that can be thrown by ` amdsmi_get_gpu_od_volt_curve_regions` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2196,7 +2196,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_dev_get_od_volt_curve_regions(device, 3)
amdsmi_get_gpu_od_volt_curve_regions(device, 3)
except AmdSmiException as e:
print(e)
```