Message ID | 20210612104330.28551-1-anton@khirnov.net |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] configure: bump default nvcc arch to compute_35 | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
On 12.06.2021 12:43, Anton Khirnov wrote: > From: Matthieu Patou <mpatou@fb.com> > > compute_30 seems to be removed from CUDA SDK 11.0 It is, that's why just a few lines below there is a check that tests for that and upgrades the version if necessary.
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"