Skip to content

Commit

Permalink
Revert "chore: debug"
Browse files Browse the repository at this point in the history
This reverts commit 6eb5fd3.
  • Loading branch information
ito-san committed Dec 17, 2024
1 parent 57706f7 commit 3d87e51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions system/system_monitor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ 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 @@ -64,10 +62,10 @@ else()
endif()
endif()

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})
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})

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 @@ -43,5 +43,5 @@ endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(NVML DEFAULT_MSG NVML_LIBRARIES NVML_INCLUDE_DIRS)

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

0 comments on commit 3d87e51

Please sign in to comment.