cmake(cuda): repair ccbin, re-implement execute_process() cache

- preventive fix for arch "11.0" (CUDA_ARCH_BIN_OR_PTX_10 bug)
- new var: OPENCV_CUDA_DETECTION_NVCC_FLAGS
- new var: OPENCV_CMAKE_CUDA_DEBUG
This commit is contained in:
Alexander Alekhin
2020-07-03 21:11:11 +00:00
parent 524a2fffe9
commit 8bf1b9a422
3 changed files with 84 additions and 42 deletions
@@ -82,9 +82,6 @@
# error "Insufficient Cuda Runtime library version, please update it."
# endif
# if defined(CUDA_ARCH_BIN_OR_PTX_10)
# error "OpenCV CUDA module doesn't support NVIDIA compute capability 1.0"
# endif
#endif
//! @cond IGNORED