Skip to content

Commit fc0f636

Browse files
committed
FindO2GPU.cmake: improve debug message
1 parent 1debb61 commit fc0f636

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎dependencies/FindO2GPU.cmake‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# or submit itself to any jurisdiction.
1111

1212
# NOTE!!!! - Whenever this file is changed, move it over to alidist/resources
13-
# FindO2GPU.cmake Version 19
13+
# FindO2GPU.cmake Version 20
1414

1515
set(CUDA_COMPUTETARGET_DEFAULT_FULL 80-real;86-real;89-real;120-real;75-virtual)
1616
set(HIP_AMDGPUTARGET_DEFAULT_FULL gfx906;gfx908)
@@ -255,7 +255,7 @@ if(ENABLE_CUDA)
255255
endif()
256256

257257
set(CUDA_ENABLED ON)
258-
message(STATUS "CUDA found (Version ${CMAKE_CUDA_COMPILER_VERSION}, Architectures ${CMAKE_CUDA_ARCHITECTURES})")
258+
message(STATUS "CUDA found (${CMAKE_CUDA_COMPILER}, Version ${CMAKE_CUDA_COMPILER_VERSION}, Architectures ${CMAKE_CUDA_ARCHITECTURES})")
259259
elseif(NOT ENABLE_CUDA STREQUAL "AUTO")
260260
message(FATAL_ERROR "CUDA not found (Compiler: ${CMAKE_CUDA_COMPILER})")
261261
else()
@@ -402,7 +402,7 @@ if(ENABLE_HIP)
402402
if(HIP_AMDGPUTARGET)
403403
set(CMAKE_HIP_ARCHITECTURES "${HIP_AMDGPUTARGET}")
404404
endif()
405-
message(STATUS "HIP Found (${hip_HIPCC_EXECUTABLE} version ${hip_VERSION}, ${CMAKE_HIP_COMPILER}, Architectures ${CMAKE_HIP_ARCHITECTURES})")
405+
message(STATUS "HIP Found (${hip_HIPCC_EXECUTABLE}, ${CMAKE_HIP_COMPILER}, Version ${hip_VERSION}, Architectures ${CMAKE_HIP_ARCHITECTURES})")
406406
else()
407407
set(HIP_ENABLED OFF)
408408
endif()

0 commit comments

Comments
 (0)