From 8beb9381886142649e9a508ccede3d19d0d4d433 Mon Sep 17 00:00:00 2001 From: Deepak Mewar Date: Tue, 10 Oct 2023 06:18:05 -0400 Subject: [PATCH] build issue fix with sample test code Change-Id: I03890879253f1be74311cf613a9baad55d197f75 [ROCm/amdsmi commit: 1f0f5ab63fd97931198818c4781209134ab61907] --- projects/amdsmi/example/amdsmi_esmi_intg_example.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/amdsmi/example/amdsmi_esmi_intg_example.cc b/projects/amdsmi/example/amdsmi_esmi_intg_example.cc index 28d4784121..f213b8a8f9 100644 --- a/projects/amdsmi/example/amdsmi_esmi_intg_example.cc +++ b/projects/amdsmi/example/amdsmi_esmi_intg_example.cc @@ -436,15 +436,15 @@ int main(int argc, char **argv) { cout<<"\n-------------------------------------------------\n"; - amdsmi_dimm_power_t pow; + amdsmi_dimm_power_t p; cout<<"\n| Socket DIMM power consumption\t\t |\n"; - ret = amdsmi_get_cpu_dimm_power_consumption(sockets[i], i, dimm_addr, &pow); + ret = amdsmi_get_cpu_dimm_power_consumption(sockets[i], i, dimm_addr, &p); CHK_AMDSMI_RET(ret) if(ret) { - cout<<"\n| Power(mWatts)\t\t |"<