From 6a3e5f1002e5cc32cd017b2992e0bbc85abb0f6a Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Tue, 10 Dec 2019 12:09:01 +0100 Subject: [PATCH] centos-7: opencv: Limit CUDA to binaries for CC 6.1 and intermediate code for 3.0, 5.2, and 7.5 --- centos-7/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile index 7f854e4..17079d4 100644 --- a/centos-7/Dockerfile +++ b/centos-7/Dockerfile @@ -168,6 +168,8 @@ RUN version=3.4.8 && \ -D WITH_IPP=OFF \ -D WITH_CUDA=ON \ -D WITH_CUBLAS=ON \ + -D CUDA_ARCH_BIN="61" \ + -D CUDA_ARCH_PTX="30 52 75" \ -D BUILD_opencv_cudacodec=OFF \ -D WITH_EIGEN=ON \ -D WITH_FFMPEG=ON \ -- GitLab