Renamed API amdsmi_dev_set_power_profile to

amdsmi_set_gpu_power_profile

grep -rli 'amdsmi_dev_set_power_profile' * | xargs -i@ sed -i
's/amdsmi_dev_set_power_profile/amdsmi_set_gpu_power_profile/g' @

Change-Id: I10d7ee19fd86c11bbb7deafefb37df92e78aa2a3


[ROCm/amdsmi commit: dec22a9b44]
This commit is contained in:
Deepak Mewar
2023-02-25 08:04:42 -05:00
committato da Naveen Krishna Chatradhi
parent 66ee0ae0c6
commit 8b81aaf620
9 ha cambiato i file con 17 aggiunte e 17 eliminazioni
@@ -288,7 +288,7 @@ void TestMutualExclusion::Run(void) {
amdsmi_dev_power_cap_range_get
amdsmi_set_power_cap
amdsmi_dev_get_power_profile_presets
amdsmi_dev_set_power_profile
amdsmi_set_gpu_power_profile
amdsmi_dev_get_memory_total
amdsmi_dev_get_memory_usage
amdsmi_dev_get_memory_busy_percent
@@ -172,7 +172,7 @@ void TestPowerReadWrite::Run(void) {
return;
}
ret = amdsmi_dev_set_power_profile(processor_handles_[dv_ind], 0, new_prof);
ret = amdsmi_set_gpu_power_profile(processor_handles_[dv_ind], 0, new_prof);
CHK_ERR_ASRT(ret)
amdsmi_dev_perf_level_t pfl;