Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/modules/CUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ set(CUDA_gpu_detect_output "")
# The line below prevents CMake from inserting a variable with line
# breaks in the cache
message(STATUS "Found GPU arch ${__nvcc_out}")
string(REGEX MATCH "([1-9].[0-9])" __nvcc_out "${__nvcc_out}")
string(REGEX MATCHALL "([1-9].[0-9])" __nvcc_out "${__nvcc_out}")
if(__nvcc_out VERSION_LESS "3.5")
# drop support for cc < 3.5 and build for all known archs.
message(WARNING "GPU arch less than 3.5 is not supported.")
Expand Down