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
이 커밋은 다음에 포함됨:
Deepak Mewar
2023-02-27 04:12:11 -05:00
커밋한 사람 Naveen Krishna Chatradhi
부모 467f3e3bb7
커밋 ced22230c4
9개의 변경된 파일과 18개의 추가작업 그리고 18개의 파일을 삭제
+3 -3
파일 보기
@@ -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)
```