Skip to content

Commit

Permalink
build: debugging CUDA arches
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed May 17, 2023
1 parent 0cd0bc3 commit 9a09c85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cuvec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ else()
endif()
cmake_policy(POP)

message(STATUS "CUDA version: ${CMAKE_CUDA_COMPILER_TOOLKIT_VERSION}")
message(STATUS "CUDA architectures: ${CMAKE_CUDA_ARCHITECTURES}")
message(STATUS "CUDA architectures (all): ${CMAKE_CUDA_ARCHITECTURES_ALL}")
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
endif()
Expand Down

0 comments on commit 9a09c85

Please sign in to comment.