BEGIN 1778107091.2244265 EXEC /__w/TheRock/TheRock/build/core/amdsmi/build /usr/local/therock-tools/bin/cmake -E env --unset=ROCM_PATH --unset=ROCM_DIR --unset=HIP_PATH --unset=HIP_DIR -- /usr/local/therock-tools/bin/cmake --build /__w/TheRock/TheRock/build/core/amdsmi/build 0.2 [1/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o 0.2 [2/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_ethtool_ioctl.cpp.o 0.2 [3/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o 0.2 [4/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:179:14: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.2 179 | return status_code; 0.2 | ~~~~~~ ^~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:194:14: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.2 194 | return status_code; 0.2 | ~~~~~~ ^~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:211:12: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.2 211 | return status_code; 0.2 | ~~~~~~ ^~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:379:10: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.2 379 | return status_code; 0.2 | ~~~~~~ ^~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:426:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.2 426 | bitmask[i / 64] |= (1ULL << (i % 64)); 0.2 | ~~~~~~~ ~~^~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:430:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.2 430 | bitmask[core / 64] |= (1ULL << (core % 64)); 0.2 | ~~~~~~~ ~~~~~^~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:461:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.2 461 | bitmask[i / 64] |= (1ULL << (i % 64)); 0.2 | ~~~~~~~ ~~^~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:465:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.2 465 | bitmask[core / 64] |= (1ULL << (core % 64)); 0.2 | ~~~~~~~ ~~~~~^~~~ 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:36: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.2 1189 | std::uint64_t m_current_offset{0}; 0.2 | ^ 0.2 9 warnings generated. 0.2 [5/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_nic_system.cpp.o 0.2 [6/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/boot_decode.c.o 0.2 [7/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o 0.2 [8/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:73:17: warning: result of comparison of constant 2 with expression of type 'LINK_DIRECTORY_TYPE' (aka 'enum _LINK_DIRECTORY_TYPE') is always true [-Wtautological-constant-out-of-range-compare] 0.2 73 | if (directory < sizeof(kKFDLinkPath) / sizeof(kKFDLinkPath[0])) { 0.2 | ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:418:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.2 418 | (flags_ & CRAT_IOLINK_FLAGS_BI_DIRECTIONAL) ? cap_true : cap_false; 0.2 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:41:45: note: expanded from macro 'CRAT_IOLINK_FLAGS_BI_DIRECTIONAL' 0.2 41 | #define CRAT_IOLINK_FLAGS_BI_DIRECTIONAL (1 << 31) 0.2 | ~~^~~~~ 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:23: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_io_link.h:26: 0.2 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/map:62: 0.2 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_tree.h:67: 0.2 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/ext/alloc_traits.h:34: 0.2 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:33: 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:7: warning: destructor called on non-final 'amd::smi::IOLink' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 0.2 151 | __pointer->~_Tp(); 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:675:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 0.2 675 | { std::_Destroy(__p); } 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:613:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 0.2 613 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:599:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 0.2 599 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:972:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 0.2 972 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:1712:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.2 1712 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:464:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.2 464 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:1009:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.2 1009 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, 0.2 | ^ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:212:19: note: in instantiation of function template specialization 'std::make_shared' requested here 0.2 212 | link = std::make_shared(node_indx, link_indx, directory); 0.2 | ^ 0.2 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:19: note: qualify call to silence this warning 0.2 151 | __pointer->~_Tp(); 0.2 | ^ 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:34: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.2 1189 | std::uint64_t m_current_offset{0}; 0.2 | ^ 0.2 4 warnings generated. 0.2 [9/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_sysfs.cpp.o 0.2 [10/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/third_party/shared_mutex/shared_mutex.cc:47: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.2 1189 | std::uint64_t m_current_offset{0}; 0.2 | ^ 0.2 1 warning generated. 0.2 [11/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:152:28: warning: implicit conversion changes signedness: 'int' to 'key_type' (aka 'unsigned int') [-Wsign-conversion] 0.2 152 | socket_model_map[current_socket_id] = *model_name; 0.2 | ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:439:75: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.2 439 | (bdf_info.device_number << 3) | (bdf_info.function_number << 0), 0.2 | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:439:41: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.2 438 | return {(bdf_info.domain_number << 16) | (bdf_info.bus_number << 8) | 0.2 | ~ 0.2 439 | (bdf_info.device_number << 3) | (bdf_info.function_number << 0), 0.2 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:438:67: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.2 438 | return {(bdf_info.domain_number << 16) | (bdf_info.bus_number << 8) | 0.2 | ~ ~~~~~~~~~~~~~~~~~~~~^~~~ 0.2 4 warnings generated. 0.2 [12/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd_data_manager.cc.o 0.2 [13/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_counters.cc:40: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.2 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.2 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.2 1189 | std::uint64_t m_current_offset{0}; 0.2 | ^ 0.2 1 warning generated. 0.2 [14/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/scoped_fd.cc.o 0.3 [15/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_power_mon.cc:31: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [16/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/aca_tables.c.o 0.3 [17/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/aca_version.c.o 0.3 [18/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:44:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 0.3 44 | v = *(uint16_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:48:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 0.3 48 | v = *(uint32_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:52:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] 0.3 52 | v = *(uint64_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:187:26: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 187 | num_instance = static_cast(v); 0.3 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:190:21: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 190 | num_smn = static_cast(v); 0.3 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.3 5 warnings generated. 0.3 [19/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o 0.3 [20/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/aca_fields.c.o 0.3 [21/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1750:10: warning: implicit conversion changes signedness: 'int' to '__useconds_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1750 | usleep(waitTime); 0.3 | ~~~~~~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1823:43: warning: implicit conversion changes signedness: 'rep' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 1823 | violation_status->reference_timestamp = current_time; 0.3 | ~ ^~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:2792:31: warning: result of comparison of constant 18446744073709551615 with expression of type 'uint32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 0.3 2792 | << (info->vram_bit_width == std::numeric_limits::max() 0.3 | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4059:19: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 4059 | info->dpm_cap = dpm; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4962:19: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 4962 | info->max_clk = max_freq; 0.3 | ~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4963:19: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 4963 | info->min_clk = min_freq; 0.3 | ~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:5212:18: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 5212 | afids[i] = afid; 0.3 | ~ ^~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:168:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 0.3 168 | auto rstatus = std::forward(f)(gpu_index, std::forward(args)...); 0.3 | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1450:14: note: in instantiation of function template specialization 'rsmi_wrapper' requested here 0.3 1450 | status = rsmi_wrapper(rsmi_dev_serial_number_get, processor_handle, 0, 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:168:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 0.3 168 | auto rstatus = std::forward(f)(gpu_index, std::forward(args)...); 0.3 | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1458:14: note: in instantiation of function template specialization 'rsmi_wrapper' requested here 0.3 1458 | status = rsmi_wrapper(rsmi_dev_name_get, processor_handle, 0, board_info->product_name, 0.3 | ^ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:72: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 10 warnings generated. 0.3 [22/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_logger.cc:53: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [23/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_devlink_netlink.cpp.o 0.3 [24/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_npm.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_npm.cc:17: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [25/187] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o 0.3 [26/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_gpu_metrics.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:104:73: warning: implicit conversion changes signedness: 'rep' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 104 | return duration_cast(system_clock::now().time_since_epoch()).count(); 0.3 | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 2 warnings generated. 0.3 [27/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_logger.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_logger.cc:53: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [28/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:41:5: warning: array designators are a C99 extension [-Wc99-designator] 0.3 41 | [AMDSMI_CONTAINER_LXC] = "lxc", 0.3 | ^~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:205:60: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.3 205 | std::string name = (len > 0) ? std::string(exe_realpath, len) : "N/A"; 0.3 | ~~~ ^~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:36: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 3 warnings generated. 0.3 [29/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:104:73: warning: implicit conversion changes signedness: 'rep' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 104 | return duration_cast(system_clock::now().time_since_epoch()).count(); 0.3 | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 2 warnings generated. 0.3 [30/187] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi.c.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: remove extraneous parentheses around the comparison to silence this warning 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ~ ^ ~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: use '=' to turn this equality comparison into an assignment 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ^~ 0.3 | = 0.3 1 warning generated. 0.3 [31/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:23: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [32/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1240:21: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 1240 | *total += std::stol(bytes); 0.3 | ~~ ^~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1417:56: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1417 | info->cache[info->num_cache_types].cache_level = cache_level; 0.3 | ~ ^~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1418:58: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1418 | info->cache[info->num_cache_types].cache_size_kb = cache_size; 0.3 | ~ ^~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1421:50: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1421 | info->cache[info->num_cache_types].flags = cache_type; 0.3 | ~ ^~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 5 warnings generated. 0.3 [33/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1240:21: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 1240 | *total += std::stol(bytes); 0.3 | ~~ ^~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1417:56: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1417 | info->cache[info->num_cache_types].cache_level = cache_level; 0.3 | ~ ^~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1418:58: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1418 | info->cache[info->num_cache_types].cache_size_kb = cache_size; 0.3 | ~ ^~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1421:50: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1421 | info->cache[info->num_cache_types].flags = cache_type; 0.3 | ~ ^~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 5 warnings generated. 0.3 [34/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/json_util.c.o 0.3 [35/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_nic_subsystem.cpp.o 0.3 [36/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/json_printer.c.o 0.3 [37/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_io_link.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:73:17: warning: result of comparison of constant 2 with expression of type 'LINK_DIRECTORY_TYPE' (aka 'enum _LINK_DIRECTORY_TYPE') is always true [-Wtautological-constant-out-of-range-compare] 0.3 73 | if (directory < sizeof(kKFDLinkPath) / sizeof(kKFDLinkPath[0])) { 0.3 | ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:418:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 418 | (flags_ & CRAT_IOLINK_FLAGS_BI_DIRECTIONAL) ? cap_true : cap_false; 0.3 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:41:45: note: expanded from macro 'CRAT_IOLINK_FLAGS_BI_DIRECTIONAL' 0.3 41 | #define CRAT_IOLINK_FLAGS_BI_DIRECTIONAL (1 << 31) 0.3 | ~~^~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_io_link.h:26: 0.3 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/map:62: 0.3 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_tree.h:67: 0.3 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/ext/alloc_traits.h:34: 0.3 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:33: 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:7: warning: destructor called on non-final 'amd::smi::IOLink' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 0.3 151 | __pointer->~_Tp(); 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:675:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 0.3 675 | { std::_Destroy(__p); } 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:613:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 0.3 613 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:599:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 0.3 599 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:972:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 0.3 972 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:1712:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.3 1712 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:464:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.3 464 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:1009:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.3 1009 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:212:19: note: in instantiation of function template specialization 'std::make_shared' requested here 0.3 212 | link = std::make_shared(node_indx, link_indx, directory); 0.3 | ^ 0.3 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:19: note: qualify call to silence this warning 0.3 151 | __pointer->~_Tp(); 0.3 | ^ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:34: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 4 warnings generated. 0.3 [38/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_main.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1344:11: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.3 1344 | buf[len] = '\0'; 0.3 | ~~~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1352:38: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] 0.3 1352 | auto end = path.begin() + path.length() - MAX_BDF_LENGTH; 0.3 | ~ ~~~~~^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:576:44: warning: unused function 'GetEnvVarUIntegerSets' [-Wunused-function] 0.3 576 | static inline std::unordered_set GetEnvVarUIntegerSets(const char* ev_str) { 0.3 | ^~~~~~~~~~~~~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 4 warnings generated. 0.3 [39/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/main.c.o 0.3 [40/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_counters.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_counters.cc:40: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [41/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:120:20: warning: unused variable 'kDevGpuOdPath' [-Wunused-variable] 0.3 120 | static const char* kDevGpuOdPath = "gpu_od"; 0.3 | ^~~~~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 2 warnings generated. 0.3 [42/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd_data_manager.cc.o 0.3 [43/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_drm.cc:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [44/187] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o 0.3 [45/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_cper.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:102:45: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 102 | ctx.buffer = std::make_unique(ctx.file_size); 0.3 | ~~~ ~~~~^~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:194:44: warning: implicit conversion changes signedness: 'int' to '__size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 194 | offset += sizeof(struct cper_sec_desc) * idx; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:205:85: warning: implicit conversion changes signedness: 'int' to '__size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 205 | sizeof(struct cper_sec_desc) * idx); 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:422:68: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 422 | auto headers = amdsmi_get_gpu_cper_headers(ctx.buffer.get(), ctx.file_size); 0.3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~~~~~~~ 0.3 4 warnings generated. 0.3 [46/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_monitor.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_monitor.cc:36: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [47/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_monitor.cc:36: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [48/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_nic_interface.cpp.o 0.3 [49/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_board_temp.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:168:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 168 | std::string hexDump = createHexDump(&metrics, file.gcount(), "GPU Board Temperature Metrics"); 0.3 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:237:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 237 | std::string hexDump = createHexDump(&metrics, file.gcount(), "Baseboard Temperature Metrics"); 0.3 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:34: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 3 warnings generated. 0.3 [50/187] Building CXX object src/nic/ai-nic/amdsmi_unified/CMakeFiles/amdsminic.dir/src/smi_nic.cpp.o 0.3 [51/187] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o 0.3 [52/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 0.3 996 | unsigned char buff[bytesPerLine + 1]; 0.3 | ^~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: note: function parameter 'bytesPerLine' with unknown value cannot be used in a constant expression 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:989:78: note: declared here 0.3 989 | void logHexDump(const char* desc, const void* addr, const size_t len, size_t bytesPerLine) { 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:1420:10: warning: implicit conversion changes signedness: 'int' to '__useconds_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1420 | usleep(waitTime); 0.3 | ~~~~~~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:90:20: warning: unused function 'debugFilesDiscovered' [-Wunused-function] 0.3 90 | static inline void debugFilesDiscovered(std::vector files) { 0.3 | ^~~~~~~~~~~~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:26: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 4 warnings generated. 0.3 [53/187] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o 0.3 [54/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_npm.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_npm.cc:17: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [55/187] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o 0.3 [56/187] Building CXX object src/CMakeFiles/amd_smi.dir/nic/ai-nic/amd_smi_ainic_device.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/nic/ai-nic/amd_smi_ainic_device.cc:23: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/impl/nic/amd_smi_ainic_device.h:62:12: warning: private field 'nic_idx_' is not used [-Wunused-private-field] 0.3 62 | uint32_t nic_idx_; 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/impl/nic/amd_smi_ainic_device.h:63:16: warning: private field 'bdf_' is not used [-Wunused-private-field] 0.3 63 | amdsmi_bdf_t bdf_; 0.3 | ^ 0.3 2 warnings generated. 0.3 [57/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/ras_decode_api.c.o 0.3 [58/187] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o 0.3 [59/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_dyn_gpu_metrics.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:23: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [60/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:44:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 0.3 44 | v = *(uint16_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:48:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 0.3 48 | v = *(uint32_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:52:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] 0.3 52 | v = *(uint64_t*)(*ptr); 0.3 | ^~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:187:26: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 187 | num_instance = static_cast(v); 0.3 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:190:21: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 190 | num_smn = static_cast(v); 0.3 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.3 5 warnings generated. 0.3 [61/187] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:439:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.3 439 | if (num_dpm) *num_dpm = dpm; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:440:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.3 440 | if (max_freq) *max_freq = max; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:441:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.3 441 | if (min_freq) *min_freq = min; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:442:45: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.3 442 | if (sleep_state_freq) *sleep_state_freq = sleep_freq; 0.3 | ~ ^~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:52: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 5 warnings generated. 0.3 [62/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_board_temp.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:168:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 168 | std::string hexDump = createHexDump(&metrics, file.gcount(), "GPU Board Temperature Metrics"); 0.3 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:237:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 237 | std::string hexDump = createHexDump(&metrics, file.gcount(), "Baseboard Temperature Metrics"); 0.3 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:34: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 3 warnings generated. 0.3 [63/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_power_mon.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_power_mon.cc:31: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.3 [64/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1344:11: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.3 1344 | buf[len] = '\0'; 0.3 | ~~~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1352:38: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] 0.3 1352 | auto end = path.begin() + path.length() - MAX_BDF_LENGTH; 0.3 | ~ ~~~~~^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:576:44: warning: unused function 'GetEnvVarUIntegerSets' [-Wunused-function] 0.3 576 | static inline std::unordered_set GetEnvVarUIntegerSets(const char* ev_str) { 0.3 | ^~~~~~~~~~~~~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:23: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 4 warnings generated. 0.3 [65/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1750:10: warning: implicit conversion changes signedness: 'int' to '__useconds_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1750 | usleep(waitTime); 0.3 | ~~~~~~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1823:43: warning: implicit conversion changes signedness: 'rep' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 1823 | violation_status->reference_timestamp = current_time; 0.3 | ~ ^~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:2792:31: warning: result of comparison of constant 18446744073709551615 with expression of type 'uint32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 0.3 2792 | << (info->vram_bit_width == std::numeric_limits::max() 0.3 | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4059:19: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 4059 | info->dpm_cap = dpm; 0.3 | ~ ^~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4962:19: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 4962 | info->max_clk = max_freq; 0.3 | ~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:4963:19: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 4963 | info->min_clk = min_freq; 0.3 | ~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:5212:18: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.3 5212 | afids[i] = afid; 0.3 | ~ ^~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:168:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 0.3 168 | auto rstatus = std::forward(f)(gpu_index, std::forward(args)...); 0.3 | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1450:14: note: in instantiation of function template specialization 'rsmi_wrapper' requested here 0.3 1450 | status = rsmi_wrapper(rsmi_dev_serial_number_get, processor_handle, 0, 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:168:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 0.3 168 | auto rstatus = std::forward(f)(gpu_index, std::forward(args)...); 0.3 | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:1458:14: note: in instantiation of function template specialization 'rsmi_wrapper' requested here 0.3 1458 | status = rsmi_wrapper(rsmi_dev_name_get, processor_handle, 0, board_info->product_name, 0.3 | ^ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi.cc:72: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 10 warnings generated. 0.3 [66/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/aca_decode.c.o 0.3 [67/187] Building C object src/CMakeFiles/amd_smi.dir/ras-decode/error_map.c.o 0.3 [68/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_utils.cc.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 0.3 996 | unsigned char buff[bytesPerLine + 1]; 0.3 | ^~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: note: function parameter 'bytesPerLine' with unknown value cannot be used in a constant expression 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:989:78: note: declared here 0.3 989 | void logHexDump(const char* desc, const void* addr, const size_t len, size_t bytesPerLine) { 0.3 | ^ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:1420:10: warning: implicit conversion changes signedness: 'int' to '__useconds_t' (aka 'unsigned int') [-Wsign-conversion] 0.3 1420 | usleep(waitTime); 0.3 | ~~~~~~ ^~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:90:20: warning: unused function 'debugFilesDiscovered' [-Wunused-function] 0.3 90 | static inline void debugFilesDiscovered(std::vector files) { 0.3 | ^~~~~~~~~~~~~~~~~~~~ 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:26: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 4 warnings generated. 0.3 [69/187] Linking CXX static library build/libamdsminic.a 0.3 [70/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_common.cc.o 0.3 [71/187] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi.c.o 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: remove extraneous parentheses around the comparison to silence this warning 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ~ ^ ~ 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: use '=' to turn this equality comparison into an assignment 0.3 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.3 | ^~ 0.3 | = 0.3 1 warning generated. 0.3 [72/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_drm.cc.o 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_drm.cc:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.3 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.3 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.3 1189 | std::uint64_t m_current_offset{0}; 0.3 | ^ 0.3 1 warning generated. 0.4 [73/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/third_party/shared_mutex/shared_mutex.cc:47: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.4 1189 | std::uint64_t m_current_offset{0}; 0.4 | ^ 0.4 1 warning generated. 0.4 [74/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_cper.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:102:45: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 102 | ctx.buffer = std::make_unique(ctx.file_size); 0.4 | ~~~ ~~~~^~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:194:44: warning: implicit conversion changes signedness: 'int' to '__size_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 194 | offset += sizeof(struct cper_sec_desc) * idx; 0.4 | ~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:205:85: warning: implicit conversion changes signedness: 'int' to '__size_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 205 | sizeof(struct cper_sec_desc) * idx); 0.4 | ~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_cper.cc:422:68: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 422 | auto headers = amdsmi_get_gpu_cper_headers(ctx.buffer.get(), ctx.file_size); 0.4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~~~~~~~ 0.4 4 warnings generated. 0.4 [75/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_device.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:120:20: warning: unused variable 'kDevGpuOdPath' [-Wunused-variable] 0.4 120 | static const char* kDevGpuOdPath = "gpu_od"; 0.4 | ^~~~~~~~~~~~~ 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:23: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.4 1189 | std::uint64_t m_current_offset{0}; 0.4 | ^ 0.4 2 warnings generated. 0.4 [76/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_lib_loader.cc.o 0.4 [77/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_system.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:152:28: warning: implicit conversion changes signedness: 'int' to 'key_type' (aka 'unsigned int') [-Wsign-conversion] 0.4 152 | socket_model_map[current_socket_id] = *model_name; 0.4 | ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:439:75: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 439 | (bdf_info.device_number << 3) | (bdf_info.function_number << 0), 0.4 | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:439:41: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 438 | return {(bdf_info.domain_number << 16) | (bdf_info.bus_number << 8) | 0.4 | ~ 0.4 439 | (bdf_info.device_number << 3) | (bdf_info.function_number << 0), 0.4 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_system.cc:438:67: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.4 438 | return {(bdf_info.domain_number << 16) | (bdf_info.bus_number << 8) | 0.4 | ~ ~~~~~~~~~~~~~~~~~~~~^~~~ 0.4 4 warnings generated. 0.4 [78/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_gpu_device.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:179:14: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.4 179 | return status_code; 0.4 | ~~~~~~ ^~~~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:194:14: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.4 194 | return status_code; 0.4 | ~~~~~~ ^~~~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:211:12: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.4 211 | return status_code; 0.4 | ~~~~~~ ^~~~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:379:10: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int32_t' (aka 'int') [-Wsign-conversion] 0.4 379 | return status_code; 0.4 | ~~~~~~ ^~~~~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:426:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.4 426 | bitmask[i / 64] |= (1ULL << (i % 64)); 0.4 | ~~~~~~~ ~~^~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:430:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.4 430 | bitmask[core / 64] |= (1ULL << (core % 64)); 0.4 | ~~~~~~~ ~~~~~^~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:461:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.4 461 | bitmask[i / 64] |= (1ULL << (i % 64)); 0.4 | ~~~~~~~ ~~^~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:465:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.4 465 | bitmask[core / 64] |= (1ULL << (core % 64)); 0.4 | ~~~~~~~ ~~~~~^~~~ 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_gpu_device.cc:36: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.4 1189 | std::uint64_t m_current_offset{0}; 0.4 | ^ 0.4 9 warnings generated. 0.4 [79/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_uuid.cc.o 0.4 [80/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_socket.cc.o 0.4 [81/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/scoped_fd.cc.o 0.4 [82/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/amd_smi_utils.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:439:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.4 439 | if (num_dpm) *num_dpm = dpm; 0.4 | ~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:440:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.4 440 | if (max_freq) *max_freq = max; 0.4 | ~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:441:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.4 441 | if (min_freq) *min_freq = min; 0.4 | ~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:442:45: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 0.4 442 | if (sleep_state_freq) *sleep_state_freq = sleep_freq; 0.4 | ~ ^~~~~~~~~~ 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/amd_smi_utils.cc:52: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.4 1189 | std::uint64_t m_current_offset{0}; 0.4 | ^ 0.4 5 warnings generated. 0.4 [83/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_main.cc.o 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1344:11: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.4 1344 | buf[len] = '\0'; 0.4 | ~~~ ^~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:1352:38: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] 0.4 1352 | auto end = path.begin() + path.length() - MAX_BDF_LENGTH; 0.4 | ~ ~~~~~^~~~~~~~ 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:576:44: warning: unused function 'GetEnvVarUIntegerSets' [-Wunused-function] 0.4 576 | static inline std::unordered_set GetEnvVarUIntegerSets(const char* ev_str) { 0.4 | ^~~~~~~~~~~~~~~~~~~~~ 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_main.cc:23: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.4 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.4 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.4 1189 | std::uint64_t m_current_offset{0}; 0.4 | ^ 0.4 4 warnings generated. 0.5 [84/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_monitor.cc:36: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [85/187] Building C object src/CMakeFiles/amd_smi_static.dir/__/esmi_ib_library/src/e_smi_plat.c.o 0.5 [86/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_kfd_data_manager.cc.o 0.5 [87/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_power_mon.cc:31: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [88/187] Building C object src/CMakeFiles/amd_smi_static.dir/__/esmi_ib_library/src/e_smi_monitor.c.o 0.5 [89/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/amd_smi/fdinfo.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:41:5: warning: array designators are a C99 extension [-Wc99-designator] 0.5 41 | [AMDSMI_CONTAINER_LXC] = "lxc", 0.5 | ^~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:205:60: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] 0.5 205 | std::string name = (len > 0) ? std::string(exe_realpath, len) : "N/A"; 0.5 | ~~~ ^~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/amd_smi/fdinfo.cc:36: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 3 warnings generated. 0.5 [90/187] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1433:18: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1433 | f->current = -1; 0.5 | ~ ^~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:59: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:417:33: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 416 | prim_key, get_structured_data_subkey_by_position( 0.5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 417 | prim_key, static_cast((get_structured_subkeys_size(prim_key) - 1))))); 0.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1597:54: note: in instantiation of member function 'amd::smi::TagTextContents_t<>::get_structured_data_subkey_last' requested here 0.5 1597 | auto upper_bound_data = txt_power_dev_od_voltage.get_structured_data_subkey_last(prim_key); 0.5 | ^ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2250:15: warning: implicit conversion changes signedness: 'value_type' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2250 | *pisolate = partition_status[partition_id]; 0.5 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2302:36: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'value_type' (aka 'int') [-Wsign-conversion] 0.5 2302 | partition_status[partition_id] = pisolate; 0.5 | ~ ^~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2396:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2396 | policy->policies[policy->num_supported].policy_id = value; 0.5 | ~ ^~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2501:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2501 | policy->policies[policy->num_supported].policy_id = value; 0.5 | ~ ^~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2631:40: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int' [-Wsign-conversion] 0.5 2631 | return amd::smi::ErrnoToRsmiStatus(ret); 0.5 | ~~~ ^~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:3077:76: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 3076 | b->transfer_rate.frequency[cur_index] = 0.5 | ~ 0.5 3077 | static_cast(link_speed[cur_index / WIDTH_DATA_LENGTH]) * 100 * 1000000L; 0.5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:51: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 9 warnings generated. 0.5 [91/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:23: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [92/187] Building C object src/CMakeFiles/amd_smi_static.dir/__/esmi_ib_library/src/e_smi_utils.c.o 0.5 [93/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_board_temp.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:168:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 168 | std::string hexDump = createHexDump(&metrics, file.gcount(), "GPU Board Temperature Metrics"); 0.5 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:237:54: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 237 | std::string hexDump = createHexDump(&metrics, file.gcount(), "Baseboard Temperature Metrics"); 0.5 | ~~~~~~~~~~~~~ ~~~~~^~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_board_temp.cc:34: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 3 warnings generated. 0.5 [94/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1240:21: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 1240 | *total += std::stol(bytes); 0.5 | ~~ ^~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1417:56: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1417 | info->cache[info->num_cache_types].cache_level = cache_level; 0.5 | ~ ^~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1418:58: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1418 | info->cache[info->num_cache_types].cache_size_kb = cache_size; 0.5 | ~ ^~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:1421:50: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1421 | info->cache[info->num_cache_types].flags = cache_type; 0.5 | ~ ^~~~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc:23: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_kfd.h:33: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 5 warnings generated. 0.5 [95/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/error_map.c.o 0.5 [96/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_utils.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 0.5 996 | unsigned char buff[bytesPerLine + 1]; 0.5 | ^~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:996:22: note: function parameter 'bytesPerLine' with unknown value cannot be used in a constant expression 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:989:78: note: declared here 0.5 989 | void logHexDump(const char* desc, const void* addr, const size_t len, size_t bytesPerLine) { 0.5 | ^ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:1420:10: warning: implicit conversion changes signedness: 'int' to '__useconds_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1420 | usleep(waitTime); 0.5 | ~~~~~~ ^~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:90:20: warning: unused function 'debugFilesDiscovered' [-Wunused-function] 0.5 90 | static inline void debugFilesDiscovered(std::vector files) { 0.5 | ^~~~~~~~~~~~~~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_utils.cc:26: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 4 warnings generated. 0.5 [97/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/json_util.c.o 0.5 [98/187] Building C object src/CMakeFiles/amd_smi_static.dir/__/esmi_ib_library/src/e_smi.c.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 0.5 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.5 | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: remove extraneous parentheses around the comparison to silence this warning 0.5 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.5 | ~ ^ ~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/esmi_ib_library/src/e_smi.c:1209:16: note: use '=' to turn this equality comparison into an assignment 0.5 1209 | else if((type == SET_FLOOR_FREQUENCY_SOCKET)) 0.5 | ^~ 0.5 | = 0.5 1 warning generated. 0.5 [99/187] cd /__w/TheRock/TheRock/build/core/amdsmi/build && /usr/local/therock-tools/bin/cmake -E rm -f /__w/TheRock/TheRock/build/core/amdsmi/stamp/stage.stamp 0.5 [100/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/third_party/shared_mutex/shared_mutex.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/third_party/shared_mutex/shared_mutex.cc:47: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [101/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_logger.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_logger.cc:53: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_main.h:38: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [102/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:104:73: warning: implicit conversion changes signedness: 'rep' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 104 | return duration_cast(system_clock::now().time_since_epoch()).count(); 0.5 | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_gpu_metrics.cc:23: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 2 warnings generated. 0.5 [103/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/aca_fields.c.o 0.5 [104/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/boot_decode.c.o 0.5 [105/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/aca_version.c.o 0.5 [106/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_device.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:120:20: warning: unused variable 'kDevGpuOdPath' [-Wunused-variable] 0.5 120 | static const char* kDevGpuOdPath = "gpu_od"; 0.5 | ^~~~~~~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_device.cc:23: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 2 warnings generated. 0.5 [107/187] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1433:18: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 1433 | f->current = -1; 0.5 | ~ ^~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:59: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:417:33: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 416 | prim_key, get_structured_data_subkey_by_position( 0.5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 417 | prim_key, static_cast((get_structured_subkeys_size(prim_key) - 1))))); 0.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1597:54: note: in instantiation of member function 'amd::smi::TagTextContents_t<>::get_structured_data_subkey_last' requested here 0.5 1597 | auto upper_bound_data = txt_power_dev_od_voltage.get_structured_data_subkey_last(prim_key); 0.5 | ^ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2250:15: warning: implicit conversion changes signedness: 'value_type' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2250 | *pisolate = partition_status[partition_id]; 0.5 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2302:36: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'value_type' (aka 'int') [-Wsign-conversion] 0.5 2302 | partition_status[partition_id] = pisolate; 0.5 | ~ ^~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2396:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2396 | policy->policies[policy->num_supported].policy_id = value; 0.5 | ~ ^~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2501:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 2501 | policy->policies[policy->num_supported].policy_id = value; 0.5 | ~ ^~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2631:40: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int' [-Wsign-conversion] 0.5 2631 | return amd::smi::ErrnoToRsmiStatus(ret); 0.5 | ~~~ ^~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:3077:76: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 3076 | b->transfer_rate.frequency[cur_index] = 0.5 | ~ 0.5 3077 | static_cast(link_speed[cur_index / WIDTH_DATA_LENGTH]) * 100 * 1000000L; 0.5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:51: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 9 warnings generated. 0.5 [108/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_npm.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_npm.cc:17: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [109/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/main.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/main.cc:61: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [110/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:73:17: warning: result of comparison of constant 2 with expression of type 'LINK_DIRECTORY_TYPE' (aka 'enum _LINK_DIRECTORY_TYPE') is always true [-Wtautological-constant-out-of-range-compare] 0.5 73 | if (directory < sizeof(kKFDLinkPath) / sizeof(kKFDLinkPath[0])) { 0.5 | ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:418:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 418 | (flags_ & CRAT_IOLINK_FLAGS_BI_DIRECTIONAL) ? cap_true : cap_false; 0.5 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:41:45: note: expanded from macro 'CRAT_IOLINK_FLAGS_BI_DIRECTIONAL' 0.5 41 | #define CRAT_IOLINK_FLAGS_BI_DIRECTIONAL (1 << 31) 0.5 | ~~^~~~~ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:23: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_io_link.h:26: 0.5 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/map:62: 0.5 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_tree.h:67: 0.5 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/ext/alloc_traits.h:34: 0.5 In file included from /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:33: 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:7: warning: destructor called on non-final 'amd::smi::IOLink' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 0.5 151 | __pointer->~_Tp(); 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/alloc_traits.h:675:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 0.5 675 | { std::_Destroy(__p); } 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:613:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 0.5 613 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:599:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 0.5 599 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:972:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 0.5 972 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr_base.h:1712:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.5 1712 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:464:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.5 464 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:1009:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, unsigned int &, unsigned int &, amd::smi::_LINK_DIRECTORY_TYPE &>' requested here 0.5 1009 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, 0.5 | ^ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:212:19: note: in instantiation of function template specialization 'std::make_shared' requested here 0.5 212 | link = std::make_shared(node_indx, link_indx, directory); 0.5 | ^ 0.5 /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_construct.h:151:19: note: qualify call to silence this warning 0.5 151 | __pointer->~_Tp(); 0.5 | ^ 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_io_link.cc:34: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 4 warnings generated. 0.5 [111/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_counters.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_counters.cc:40: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [112/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/fan_read_write.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/fan_read_write.cc:127:67: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.5 127 | ret = amdsmi_set_gpu_fan_speed(processor_handles_[dv_ind], 0, new_speed); 0.5 | ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ 0.5 1 warning generated. 0.5 [113/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/test_common.cc.o 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_common.cc:139:32: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 139 | test->num_iterations = std::stoi(optarg); 0.5 | ~ ^~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_common.cc:143:27: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 143 | test->verbosity = std::stoi(optarg); 0.5 | ~ ^~~~~~~~~~~~~~~~~ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_common.cc:147:35: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.5 147 | test->monitor_verbosity = std::stoi(optarg); 0.5 | ~ ^~~~~~~~~~~~~~~~~ 0.5 3 warnings generated. 0.5 [114/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/evt_notif_read_write.cc.o 0.5 [115/187] Linking CXX shared library src/libamd_smi.so.26.4.0 0.5 [116/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/init_shutdown_refcount.cc.o 0.5 [117/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/nic/ai-nic/amd_smi_ainic_device.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/src/nic/ai-nic/amd_smi_ainic_device.cc:23: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/impl/nic/amd_smi_ainic_device.h:62:12: warning: private field 'nic_idx_' is not used [-Wunused-private-field] 0.5 62 | uint32_t nic_idx_; 0.5 | ^ 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/impl/nic/amd_smi_ainic_device.h:63:16: warning: private field 'bdf_' is not used [-Wunused-private-field] 0.5 63 | amdsmi_bdf_t bdf_; 0.5 | ^ 0.5 2 warnings generated. 0.5 [118/187] Creating library symlink src/libamd_smi.so.26 src/libamd_smi.so 0.5 [119/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/gpu_busy_read.cc.o 0.5 [120/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/frequencies_read_write.cc.o 0.5 [121/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/fan_read.cc.o 0.5 [122/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/gpu_cache_read.cc.o 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/gpu_cache_read.cc:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.5 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.5 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.5 1189 | std::uint64_t m_current_offset{0}; 0.5 | ^ 0.5 1 warning generated. 0.5 [123/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/mem_util_read.cc.o 0.5 [124/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/ras_decode_api.c.o 0.5 [125/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/test_utils.cc.o 0.6 [126/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/mem_page_info_read.cc.o 0.6 [127/187] Generating amdsmi_wrapper.py, python_package/amdsmi/amdsmi_wrapper.py 0.6 [128/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/dynamic_metrics_test.cc.o 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/dynamic_metrics_test.cc:31: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 1 warning generated. 0.6 [129/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/gpu_partition_metrics_read.cc.o 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:35: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 1 warning generated. 0.6 [130/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/main.c.o 0.6 [131/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:44:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 0.6 44 | v = *(uint16_t*)(*ptr); 0.6 | ^~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:48:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 0.6 48 | v = *(uint32_t*)(*ptr); 0.6 | ^~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:52:12: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] 0.6 52 | v = *(uint64_t*)(*ptr); 0.6 | ^~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:187:26: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.6 187 | num_instance = static_cast(v); 0.6 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi_binary_parser.cc:190:21: warning: implicit conversion changes signedness: 'int64_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.6 190 | num_smn = static_cast(v); 0.6 | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 0.6 5 warnings generated. 0.6 [132/187] Building C object goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:684:39: warning: passing 'uint64_t *' (aka 'unsigned long *') to parameter of type 'int64_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] 0.6 684 | metric, &gpu_temperature_temp))) { 0.6 | ^~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/amdsmi.h:7070:85: note: passing argument to parameter 'temperature' here 0.6 7070 | amdsmi_temperature_metric_t metric, int64_t* temperature); 0.6 | ^ 0.6 1 warning generated. 0.6 [133/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/gpu_metrics_read.cc.o 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/gpu_metrics_read.cc:37: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 1 warning generated. 0.6 [134/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/api_support_read.cc.o 0.6 [135/187] Generating python_package/amdsmi/libamd_smi.so 0.6 [136/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/test_base.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_base.cc:118:12: warning: implicit conversion changes signedness: 'amdsmi_status_t' to 'int' [-Wsign-conversion] 0.6 118 | exit(err); 0.6 | ~~~~ ^~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_base.cc:339:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.6 339 | for (size_t i = le; i < description_.size(); i += le) { 0.6 | ~ ^~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_base.cc:339:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 0.6 339 | for (size_t i = le; i < description_.size(); i += le) { 0.6 | ~~ ^~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_base.cc:424:18: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 424 | return_value = std::stoi(devices_to_test); 0.6 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/test_base.cc:32: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 5 warnings generated. 0.6 [137/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/metrics_counter_read.cc.o 0.6 [138/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/memory_read_write.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/memory_read_write.cc:239:58: warning: implicit conversion from 'const long' to 'double' may lose precision [-Wimplicit-int-float-conversion] 0.6 239 | (static_cast(ttm_info.current_pages) * page_size) / (1024.0 * 1024.0 * 1024.0); 0.6 | ~ ^~~~~~~~~ 0.6 1 warning generated. 0.6 [139/187] Generating python_package/amdsmi/__init__.py, python_package/amdsmi/amdsmi_exception.py, python_package/amdsmi/amdsmi_interface.py, python_package/amdsmi/README.md, python_package/amdsmi/LICENSE 0.6 [140/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/aca_decode.c.o 0.6 [141/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/pci_read_write.cc.o 0.6 [142/187] Generating amdsmi_cli/BDF.py 0.6 [143/187] Generating amdsmi_cli/Release_Notes.md 0.6 [144/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/overdrive_read_write.cc.o 0.6 [145/187] Generating amdsmi_cli/README.md 0.6 [146/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/computepartition_read_write.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/computepartition_read_write.cc:148:9: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 0.6 148 | sleep(waitTime); 0.6 | ~~~~~ ^~~~~~~~ 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/computepartition_read_write.cc:40: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 2 warnings generated. 0.6 [147/187] Generating amdsmi_cli/amdsmi_cli_exceptions.py 0.6 [148/187] Generating amdsmi_cli/__init__.py 0.6 [149/187] Generating amdsmi_cli/amdsmi_helpers.py 0.6 [150/187] Generating amdsmi_cli/amdsmi_cli.py 0.6 [151/187] Generating amdsmi_cli/amdsmi_logger.py 0.6 [152/187] Generating amdsmi_cli/amdsmi_parser.py 0.6 [153/187] Generating amdsmi_cli/amdsmi_rocm_smi_compat.py 0.6 [154/187] Generating amdsmi_cli/amdsmi_init.py 0.6 [155/187] Generating amdsmi_cli/amdsmi_commands.py 0.6 [156/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/perf_determinism.cc.o 0.6 [157/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/frequencies_read.cc.o 0.6 [158/187] Linking CXX shared library rocm_smi/librocm_smi64.so.1.0 0.6 [159/187] cd /__w/TheRock/TheRock/build/core/amdsmi/build/amdsmi_cli && /usr/local/therock-tools/bin/cmake -E create_symlink ../libexec/amdsmi_cli/amdsmi_cli.py /__w/TheRock/TheRock/build/core/amdsmi/build/amdsmi_cli/bin/amd-smi 0.6 [160/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/json_printer.c.o 0.6 [161/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/overdrive_read.cc.o 0.6 [162/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/perf_cntr_read_write.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/perf_cntr_read_write.cc:109:9: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] 0.6 109 | sleep(sleep_sec); 0.6 | ~~~~~ ^~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/perf_cntr_read_write.cc:332:20: warning: implicit conversion turns string literal into bool: 'const char[28]' to 'bool' [-Wstring-conversion] 0.6 332 | ASSERT_FALSE("Unexpected exception caught"); 0.6 | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/build/third-party/googletest/dist/include/gtest/gtest.h:1835:52: note: expanded from macro 'ASSERT_FALSE' 0.6 1835 | #define ASSERT_FALSE(condition) GTEST_ASSERT_FALSE(condition) 0.6 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 0.6 /__w/TheRock/TheRock/build/third-party/googletest/dist/include/gtest/gtest.h:1816:25: note: expanded from macro 'GTEST_ASSERT_FALSE' 0.6 1816 | GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \ 0.6 | ~ ^~~~~~~~~ 0.6 /__w/TheRock/TheRock/build/third-party/googletest/dist/include/gtest/internal/gtest-internal.h:1450:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_' 0.6 1450 | ::testing::AssertionResult(expression)) \ 0.6 | ^~~~~~~~~~ 0.6 2 warnings generated. 0.6 [163/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/memorypartition_read_write.cc.o 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/tests/amd_smi_test/functional/memorypartition_read_write.cc:37: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_utils.h:44: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/../rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 1 warning generated. 0.6 [164/187] Creating library symlink rocm_smi/librocm_smi64.so.1 rocm_smi/librocm_smi64.so 0.6 [165/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/perf_level_read_write.cc.o 0.6 [166/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/id_info_read.cc.o 0.6 [167/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/power_read_write.cc.o 0.6 [168/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/err_cnt_read.cc.o 0.6 [169/187] Building C object src/CMakeFiles/amd_smi_static.dir/ras-decode/aca_tables.c.o 0.6 [170/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/power_read.cc.o 0.6 [171/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/process_info_read.cc.o 0.6 [172/187] Linking C shared library goamdsmi_shim/libgoamdsmi_shim64.so.1.0 0.6 [173/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/hw_topology_read.cc.o 0.6 [174/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/sys_info_read.cc.o 0.6 [175/187] Creating library symlink goamdsmi_shim/libgoamdsmi_shim64.so.1 goamdsmi_shim/libgoamdsmi_shim64.so 0.6 [176/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/mutual_exclusion.cc.o 0.6 [177/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/volt_read.cc.o 0.6 [178/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/temp_read.cc.o 0.6 [179/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/xgmi_read_write.cc.o 0.6 [180/187] Building C object goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/amdsmi_go_shim.c.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:684:39: warning: passing 'uint64_t *' (aka 'unsigned long *') to parameter of type 'int64_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] 0.6 684 | metric, &gpu_temperature_temp))) { 0.6 | ^~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/include/amd_smi/amdsmi.h:7070:85: note: passing argument to parameter 'temperature' here 0.6 7070 | amdsmi_temperature_metric_t metric, int64_t* temperature); 0.6 | ^ 0.6 1 warning generated. 0.6 [181/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/power_cap_read_write.cc.o 0.6 [182/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/volt_freq_curv_read.cc.o 0.6 [183/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/version_read.cc.o 0.6 [184/187] Building CXX object tests/amd_smi_test/CMakeFiles/amdsmitst.dir/functional/perf_level_read.cc.o 0.6 [185/187] Building CXX object src/CMakeFiles/amd_smi_static.dir/__/rocm_smi/src/rocm_smi.cc.o 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1433:18: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 1433 | f->current = -1; 0.6 | ~ ^~ 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:59: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_utils.h:417:33: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 416 | prim_key, get_structured_data_subkey_by_position( 0.6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.6 417 | prim_key, static_cast((get_structured_subkeys_size(prim_key) - 1))))); 0.6 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:1597:54: note: in instantiation of member function 'amd::smi::TagTextContents_t<>::get_structured_data_subkey_last' requested here 0.6 1597 | auto upper_bound_data = txt_power_dev_od_voltage.get_structured_data_subkey_last(prim_key); 0.6 | ^ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2250:15: warning: implicit conversion changes signedness: 'value_type' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 2250 | *pisolate = partition_status[partition_id]; 0.6 | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2302:36: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'value_type' (aka 'int') [-Wsign-conversion] 0.6 2302 | partition_status[partition_id] = pisolate; 0.6 | ~ ^~~~~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2396:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 2396 | policy->policies[policy->num_supported].policy_id = value; 0.6 | ~ ^~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2501:57: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] 0.6 2501 | policy->policies[policy->num_supported].policy_id = value; 0.6 | ~ ^~~~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:2631:40: warning: implicit conversion changes signedness: 'rsmi_status_t' to 'int' [-Wsign-conversion] 0.6 2631 | return amd::smi::ErrnoToRsmiStatus(ret); 0.6 | ~~~ ^~~ 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:3077:76: warning: implicit conversion changes signedness: 'long' to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] 0.6 3076 | b->transfer_rate.frequency[cur_index] = 0.6 | ~ 0.6 3077 | static_cast(link_speed[cur_index / WIDTH_DATA_LENGTH]) * 100 * 1000000L; 0.6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/src/rocm_smi.cc:51: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_device.h:39: 0.6 In file included from /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:44: 0.6 /__w/TheRock/TheRock/rocm-systems/projects/amdsmi/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h:1189:19: warning: private field 'm_current_offset' is not used [-Wunused-private-field] 0.6 1189 | std::uint64_t m_current_offset{0}; 0.6 | ^ 0.6 9 warnings generated. 0.7 [186/187] Linking CXX static library src/libamd_smi_static.a 0.8 [187/187] Linking CXX executable tests/amd_smi_test/amdsmitst END 1778107091.9809995 0.756572961807251 0