Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
Signed-off-by: ito-san <[email protected]>
  • Loading branch information
ito-san committed Dec 16, 2024
1 parent b85ee97 commit 6eb5fd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions system/system_monitor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ else()
set(CMAKE_CPU_PLATFORM "unknown")
endif()

message(WARNING "NVML_FOUND: " ${NVML_FOUND})

if(NVML_FOUND)
set(CMAKE_GPU_PLATFORM "nvml")
add_definitions(-D_GPU_NVML_)
Expand All @@ -62,10 +64,10 @@ else()
endif()
endif()

message(STATUS "HOST_SYSTEM_VERSION: " ${CMAKE_HOST_SYSTEM_VERSION})
message(STATUS "SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR})
message(STATUS "CPU PLATFORM: " ${CMAKE_CPU_PLATFORM})
message(STATUS "GPU PLATFORM: " ${CMAKE_GPU_PLATFORM})
message(WARNING "HOST_SYSTEM_VERSION: " ${CMAKE_HOST_SYSTEM_VERSION})
message(WARNING "SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR})
message(WARNING "CPU PLATFORM: " ${CMAKE_CPU_PLATFORM})
message(WARNING "GPU PLATFORM: " ${CMAKE_GPU_PLATFORM})

set(CPU_MONITOR_SOURCE
src/cpu_monitor/cpu_monitor_base.cpp
Expand Down
4 changes: 2 additions & 2 deletions system/system_monitor/cmake/FindNVML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(NVML DEFAULT_MSG NVML_LIBRARIES NVML_INCLUDE_DIRS)

message(STATUS "NVML include dir: ${NVML_INCLUDE_DIRS}")
message(STATUS "NVML library : ${NVML_LIBRARIES}")
message(WARNING "NVML include dir: ${NVML_INCLUDE_DIRS}")
message(WARNING "NVML library : ${NVML_LIBRARIES}")

0 comments on commit 6eb5fd3

Please sign in to comment.