Renamed API amdsmi_dev_set_clk_range
It is renamed to amdsmi_set_gpu_clk_range
grep -rli 'amdsmi_dev_set_clk_range' * | xargs -i@ sed -i
's/amdsmi_dev_set_clk_range/amdsmi_set_gpu_clk_range/g' @
Change-Id: Iebb8d702ad9e9bf1720b8f116e45c4de668a0360
[ROCm/amdsmi commit: 9aabaa0baf]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
68665655d4
commit
9ceda84ee0
@@ -1899,7 +1899,7 @@ def amdsmi_get_energy_count(processor_handle: amdsmi_wrapper.amdsmi_processor_ha
|
||||
}
|
||||
|
||||
|
||||
def amdsmi_dev_set_clk_range(
|
||||
def amdsmi_set_gpu_clk_range(
|
||||
processor_handle: amdsmi_wrapper.amdsmi_processor_handle,
|
||||
min_clk_value: int,
|
||||
max_clk_value: int,
|
||||
@@ -1920,7 +1920,7 @@ def amdsmi_dev_set_clk_range(
|
||||
raise AmdSmiParameterException(clk_type, AmdSmiClkType)
|
||||
|
||||
_check_res(
|
||||
amdsmi_wrapper.amdsmi_dev_set_clk_range(
|
||||
amdsmi_wrapper.amdsmi_set_gpu_clk_range(
|
||||
processor_handle,
|
||||
ctypes.c_uint64(min_clk_value),
|
||||
ctypes.c_uint64(max_clk_value),
|
||||
|
||||
Reference in New Issue
Block a user