We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b98aa4 commit 95ac650Copy full SHA for 95ac650
cmake/OpenCVDetectCUDA.cmake
@@ -162,7 +162,12 @@ if(CUDA_FOUND)
162
if(NOT _nvcc_res EQUAL 0)
163
message(STATUS "Automatic detection of CUDA generation failed. Going to build for all known architectures.")
164
# TX1 (5.3) TX2 (6.2) Xavier (7.2) V100 (7.0)
165
- set(__cuda_arch_bin "5.3 6.2 7.2 7.0")
+ ocv_filter_available_architecture(__cuda_arch_bin
166
+ 5.3
167
+ 6.2
168
+ 7.2
169
+ 7.0
170
+ )
171
else()
172
set(__cuda_arch_bin "${_nvcc_out}")
173
endif()
0 commit comments