nvcc fatal: неподдерживаемая архитектура GPU 'compute_52' - сборка OpenCV 2.5
Я не могу скомпилировать OpenCV 2.5 на Red Hat 7.1
уже пробовал различные варианты cmake, такие как:
cmake -D BUILD_TIFF = ON -D CUDA_GENERATION = Авто../ cmake -D BUILD_TIFF=ON -D WITH_CUDA=OFF ../
Вот вывод терминала:
Scanning dependencies of target pch_Generate_opencv_test_videostab
Scanning dependencies of target pch_Generate_opencv_videostab
[ 27%] Built target pch_Generate_opencv_perf_cudaoptflow
[ 27%] Generating precomp.hpp
[ 27%] Generating test_precomp.hpp
[ 27%] Generating precomp.hpp.gch/opencv_videostab_Release.gch
[ 27%] Generating test_precomp.hpp.gch/opencv_test_videostab_Release.gch
[ 27%] Built target pch_Generate_opencv_test_cudaoptflow
[ 27%] Processing OpenCL kernels (core)
[ 27%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o
**nvcc fatal : Unsupported gpu architecture 'compute_52'**
**CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message):
Error generating**
/home/yioannidis/Downloads/opencv2_5/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o