Files
ffmpeg-PKGBUILD/015-ffmpeg-cuda11-fix.patch
T
2021-04-09 22:03:47 +00:00

16 lines
399 B
Diff

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