[FFmpeg-devel] [PATCH] configure: bump default nvcc arch to compute_35
Anton Khirnov
anton at khirnov.net
Sat Jun 12 13:43:30 EEST 2021
From: Matthieu Patou <mpatou at fb.com>
compute_30 seems to be removed from CUDA SDK 11.0
Suggested-by: ffmpeg at fb.com
Signed-off-by: Anton Khirnov <anton at khirnov.net>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 6bfd98b384..d9e649d030 100755
--- a/configure
+++ b/configure
@@ -4381,7 +4381,7 @@ fi
if enabled cuda_nvcc; then
nvcc_default="nvcc"
- nvccflags_default="-gencode arch=compute_30,code=sm_30 -O2"
+ nvccflags_default="-gencode arch=compute_35,code=sm_35 -O2"
else
nvcc_default="clang"
nvccflags_default="--cuda-gpu-arch=sm_30 -O2"
--
2.30.2
More information about the ffmpeg-devel
mailing list