From 72efda6f21146d182df20fa600f519ab0d9b58a9 Mon Sep 17 00:00:00 2001 From: Pranjal Swarup Date: Fri, 8 Nov 2024 16:11:57 -0500 Subject: [PATCH] remove trailing white spaces --- source/lib/rocprof-sys/library/rocm_smi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib/rocprof-sys/library/rocm_smi.cpp b/source/lib/rocprof-sys/library/rocm_smi.cpp index c4fee7df..4df2ce9d 100644 --- a/source/lib/rocprof-sys/library/rocm_smi.cpp +++ b/source/lib/rocprof-sys/library/rocm_smi.cpp @@ -154,8 +154,8 @@ data::sample(uint32_t _dev_id) &m_busy_perc); ROCPROFSYS_RSMI_GET(get_settings(m_dev_id).temp, rsmi_dev_temp_metric_get, _dev_id, RSMI_TEMP_TYPE_JUNCTION, RSMI_TEMP_CURRENT, &m_temp); - RSMI_POWER_TYPE power_type = RSMI_CURRENT_POWER; - ROCPROFSYS_RSMI_GET(get_settings(m_dev_id).power, rsmi_dev_power_get, _dev_id, &m_power, + RSMI_POWER_TYPE power_type = RSMI_CURRENT_POWER; + ROCPROFSYS_RSMI_GET(get_settings(m_dev_id).power, rsmi_dev_power_get, _dev_id, &m_power, &power_type) ROCPROFSYS_RSMI_GET(get_settings(m_dev_id).mem_usage, rsmi_dev_memory_usage_get, _dev_id, RSMI_MEM_TYPE_VRAM, &m_mem_usage);