Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc4489f

Browse files
committedDec 3, 2024·
Update
[ghstack-poisoned]
1 parent 99f758e commit bc4489f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cmake/Modules_CUDA_fix/upstream/FindCUDA/select_compute_arch.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function(CUDA_SELECT_NVCC_ARCH_FLAGS out_variable)
193193
set(add_ptx TRUE)
194194
set(arch_name ${CMAKE_MATCH_1})
195195
endif()
196-
if(arch_name MATCHES "^([0-9]{1,2}\\.[0-9]a?(\\([0-9]\\.[0-9]\\))?)$")
196+
if(arch_name MATCHES "^([0-9]+\\.[0-9]a?(\\([0-9]+\\.[0-9]\\))?)$")
197197
set(arch_bin ${CMAKE_MATCH_1})
198198
set(arch_ptx ${arch_bin})
199199
else()

0 commit comments

Comments
 (0)
Please sign in to comment.