summarylogtreecommitdiffstats
path: root/015-ffmpeg-cuda11.0-fix.patch
blob: 3404a00d605ba4ac06da3c7a64a4b3d8ca6ea973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/configure
+++ b/configure
@@ -4312,10 +4312,10 @@ fi
 
 if enabled cuda_nvcc; then
     nvcc_default="nvcc"
-    nvccflags_default="-gencode arch=compute_30,code=sm_30 -O2"
+    nvccflags_default="-gencode arch=compute_52,code=sm_52 -O2"
 else
     nvcc_default="clang"
-    nvccflags_default="--cuda-gpu-arch=sm_30 -O2"
+    nvccflags_default="--cuda-gpu-arch=sm_52 -O2"
     NVCC_C=""
 fi