Files
ffmpeg-PKGBUILD/015-ffmpeg-cuda11.0-fix.patch
T
Daniel Bermond 3616570eef Add patch for cuda 11.0. Bring back svt-vp9 support.
cuda 11.0 minimum supported architecture is 5.2 (compute_52/sm_52).

svt-vp9 support is better now with the current upstream stable
version.
2020-07-23 01:39:09 +00:00

16 lines
399 B
Diff

--- 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