Renamed API amdsmi_dev_get_memory_total to

amdsmi_get_gpu_memory_total

grep -rli 'amdsmi_dev_get_memory_total' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_total/amdsmi_get_gpu_memory_total/g' @

Change-Id: I06dc20f4bf783c0ee824a6d4b4f7162166c598cb
This commit is contained in:
Deepak Mewar
2023-02-25 08:06:58 -05:00
committato da Naveen Krishna Chatradhi
parent dec22a9b44
commit cdad242947
9 ha cambiato i file con 18 aggiunte e 18 eliminazioni
@@ -131,9 +131,9 @@ void TestMemUtilRead::Run(void) {
#endif
for (uint32_t mem_type = AMDSMI_MEM_TYPE_FIRST;
mem_type <= AMDSMI_MEM_TYPE_LAST; ++mem_type) {
err = amdsmi_dev_get_memory_total(processor_handles_[i],
err = amdsmi_get_gpu_memory_total(processor_handles_[i],
static_cast<amdsmi_memory_type_t>(mem_type), &total);
err_chk("amdsmi_dev_get_memory_total()");
err_chk("amdsmi_get_gpu_memory_total()");
if (err != AMDSMI_STATUS_SUCCESS) {
return;
}
@@ -289,7 +289,7 @@ void TestMutualExclusion::Run(void) {
amdsmi_set_power_cap
amdsmi_dev_get_power_profile_presets
amdsmi_set_gpu_power_profile
amdsmi_dev_get_memory_total
amdsmi_get_gpu_memory_total
amdsmi_dev_get_memory_usage
amdsmi_dev_get_memory_busy_percent
amdsmi_dev_get_busy_percent