mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
nvenc/nvdec: Add support CUDA Toolkit 10.0
This commit is contained in:
parent
47b68176a1
commit
04f3cf80d5
1 changed files with 9 additions and 8 deletions
17
configure.ac
17
configure.ac
|
@ -946,14 +946,15 @@ AG_GST_CHECK_FEATURE(CUDA, [NVIDIA CUDA API],, [
|
|||
CUDA_LIBS="-L$CUDA_PREFIX/lib -L$CUDA_PREFIX/lib64 -L$CUDA_PREFIX/lib/stubs -L$CUDA_PREFIX/lib64/stubs -lcuda -lcudart"
|
||||
fi
|
||||
else
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.2 cudart-9.2],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.1 cudart-9.1],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.0 cudart-9.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-8.0 cudart-8.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-7.5 cudart-7.5],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-7.0 cudart-7.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-6.5 cudart-6.5],, [
|
||||
AC_MSG_WARN([Could not find cuda headers/libraries])])])])])])])])
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-10.0 cudart-10.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.2 cudart-9.2],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.1 cudart-9.1],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-9.0 cudart-9.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-8.0 cudart-8.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-7.5 cudart-7.5],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-7.0 cudart-7.0],, [
|
||||
PKG_CHECK_MODULES([CUDA], [cuda-6.5 cudart-6.5],, [
|
||||
AC_MSG_WARN([Could not find cuda headers/libraries])])])])])])])])])
|
||||
fi
|
||||
|
||||
HAVE_CUDA_H=no
|
||||
|
|
Loading…
Reference in a new issue