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.
This commit is contained in:
Daniel Bermond
2020-07-23 01:39:09 +00:00
parent 7b5541a529
commit 3616570eef
3 changed files with 32 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
--- 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