summarylogtreecommitdiffstats
path: root/015-ffmpeg-cuda11-fix.patch
blob: b0bde34d1140777f052b6011fbc999fc37672813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/configure
+++ b/configure
@@ -4328,10 +4331,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