summarylogtreecommitdiffstats
path: root/015-ffmpeg-cuda11-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to '015-ffmpeg-cuda11-fix.patch')
-rw-r--r--015-ffmpeg-cuda11-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/015-ffmpeg-cuda11-fix.patch b/015-ffmpeg-cuda11-fix.patch
new file mode 100644
index 000000000000..b1b7ebab499a
--- /dev/null
+++ b/015-ffmpeg-cuda11-fix.patch
@@ -0,0 +1,15 @@
+--- a/configure
++++ b/configure
+@@ -4351,10 +4351,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
+