Renamed API amdsmi_dev_set_od_clk_info

to amdsmi_set_gpu_od_clk_info

grep -rli 'amdsmi_dev_set_od_clk_info' * | xargs -i@ sed -i
's/amdsmi_dev_set_od_clk_info/amdsmi_set_gpu_od_clk_info/g' @

Change-Id: I0f1fd5a80322a544f7d25e09146c9e52b82091f6


[ROCm/amdsmi commit: a72e1ec91d]
이 커밋은 다음에 포함됨:
Deepak Mewar 작성하고 Naveen Krishna Chatradhi가 2023-05-11 10:59:25 -04:00를 커밋함
1 부모 cd81fa970d
커밋 19d30f71bd
8 파일이 변경됨
+15 -15

검색과 일치하는 파일 없음

+3 -3
파일 보기
@@ -1591,7 +1591,7 @@ except AmdSmiException as e:
## amdsmi_dev_set_od_clk_info
## amdsmi_set_gpu_od_clk_info
Description: This function sets the clock frequency information
Input parameters:
@@ -1603,7 +1603,7 @@ or maximum (1) speed
Output: None
Exceptions that can be thrown by ` amdsmi_dev_set_od_clk_info` function:
Exceptions that can be thrown by ` amdsmi_set_gpu_od_clk_info` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -1616,7 +1616,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
amdsmi_dev_set_od_clk_info(
amdsmi_set_gpu_od_clk_info(
device,
AmdSmiFreqInd.AMDSMI_FREQ_IND_MAX,
1000,