We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee0c473 commit 7d10b06Copy full SHA for 7d10b06
cmake/Modules_CUDA_fix/upstream/FindCUDA/select_compute_arch.cmake
@@ -242,8 +242,8 @@ function(CUDA_SELECT_NVCC_ARCH_FLAGS out_variable)
242
# remove dots and convert to lists
243
string(REGEX REPLACE "\\." "" cuda_arch_bin "${cuda_arch_bin}")
244
string(REGEX REPLACE "\\." "" cuda_arch_ptx "${cuda_arch_ptx}")
245
- string(REGEX MATCHALL "[0-9()]+" cuda_arch_bin "${cuda_arch_bin}")
246
- string(REGEX MATCHALL "[0-9]+" cuda_arch_ptx "${cuda_arch_ptx}")
+ string(REGEX MATCHALL "[0-9()]+a?" cuda_arch_bin "${cuda_arch_bin}")
+ string(REGEX MATCHALL "[0-9]+a?" cuda_arch_ptx "${cuda_arch_ptx}")
247
248
if(cuda_arch_bin)
249
list(REMOVE_DUPLICATES cuda_arch_bin)
0 commit comments