Files
ffmpeg-PKGBUILD/015-ffmpeg-cuda11-fix.patch
T
2021-11-23 13:59:41 -03:00

16 lines
399 B
Diff

--- a/configure
+++ b/configure
@@ -4352,10 +4352,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