Tomoaki Teshima
4cec9e5ff1
fix native detection on Jetson
2020-06-26 16:36:59 +09:00
Alexander Alekhin
5ed65460d1
Merge pull request #17526 from cyyever:fix_cuda_detection
2020-06-20 21:07:05 +00:00
Alexander Alekhin
e3d502310f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-19 07:33:50 +00:00
Alexander Alekhin
6bd87e8146
Merge pull request #17571 from tomoaki0705:fixAutomaticCC
2020-06-18 07:39:14 +00:00
Tomoaki Teshima
1cba763189
fix build error of automatic CC detection
2020-06-17 22:02:51 +09:00
Alexander Alekhin
d01cbe9320
cudacodec(build): fix detection in CMake, cleanup duplicate includes
2020-06-17 09:09:40 +00:00
Tomoaki Teshima
d4af89781b
fix corner case of libnvcuvid
...
* detect header automatically and not based on version number
2020-06-11 23:06:18 +09:00
cyy
c6638d62e6
respect CUDA_HOST_COMPILER when detecting CUDA arch
2020-06-11 15:57:08 +08:00
Alexander Alekhin
7722a2b8a8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-04 17:58:34 +00:00
Tomoaki Teshima
156406b56c
select the architecture based on nvcc result
...
* cache the result
* DRY
* brush up based on review
2020-06-02 05:07:53 +09:00
Alexander Alekhin
ba7b0f4c54
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-15 11:23:46 +00:00
Alexander Alekhin
a45928045a
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
...
* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC
see CMP0023 (CMake 2.8.12+)
* cmake: fix 3rdparty list
- don't include OpenCV modules
2019-12-13 17:52:40 +03:00
Vishal Chiluka
bca49b99ca
Removing static linking of cuda library
2019-08-05 21:42:10 +05:30
Alexander Alekhin
0fc584961c
cmake: workaround to fix link issues with stubs/libcuda.so.1
2019-07-06 16:29:59 +00:00
Yashas Samaga B L
ae279966c2
Merge pull request #14660 from YashasSamaga:dnn-cuda-build
...
add cuDNN dependency and setup build for cuda4dnn (#14660 )
* update cmake for cuda4dnn
- Adds FindCUDNN
- Adds new options:
* WITH_CUDA
* OPENCV_DNN_CUDA
- Adds CUDA4DNN preprocessor symbol for the DNN module
* FIX: append EXCLUDE_CUDA instead of overwrite
* remove cuDNN dependency for user apps
* fix unused variable warning
2019-06-02 14:47:15 +03:00
Alexander Alekhin
7fb70e1701
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-12-18 19:07:43 +00:00
Peter J. Stieber
50ef9830e2
Added Turing to the _generations list.
2018-12-18 08:52:15 -08:00
Alexander Alekhin
0c16d8f6c3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-12-13 15:12:26 +03:00
Tomoaki Teshima
3e710d8eec
use correct CC value for Jetson Xavier
2018-12-13 13:35:19 +09:00
Alexander Alekhin
465ae048a0
Merge pull request #12887 from alalek:fix_cmake_conditions
2018-10-24 13:17:54 +00:00
Alexander Alekhin
d6a8e08acc
cmake: fix variable expand in CMake conditions
2018-10-21 15:02:40 +00:00
Alexander Alekhin
9c23f2f1a6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-10-20 11:37:54 +00:00
jasjuang
a66fd527b0
add support for latest Turing gpu and cuda 10
2018-10-15 10:40:24 -07:00
Hamdi Sahloul
0e80f56e44
Bugfix: Detect CUDA archs for Windows
2018-08-16 17:10:08 +09:00
Alexander Alekhin
4eb2966559
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-08-07 20:12:10 +03:00
Sacha
9ff4475695
Support WITH_CUDA with clang compiler.
2018-08-03 16:42:28 +10:00
Alexander Alekhin
4560909a5e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-07-17 19:27:48 +03:00
Alexander Alekhin
e79c729b20
CUDA: allow to use external FindCUDA from modern CMake
...
CMake 3.9.0+ is required
2018-07-12 14:33:14 +03:00
Alexander Alekhin
5e68f35500
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-05-22 19:02:01 +03:00
Alexander Alekhin
d4a8a9ee96
cmake: filter NVCC compiler flags (Wimplicit-fallthrough, OPENCV_CUDA_NVCC_FILTEROUT_OPTIONS)
...
issue 11552
2018-05-21 17:54:11 +03:00
Alexander Alekhin
000a13b6a3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-05-03 14:30:38 +00:00
Alexander Alekhin
2a330e3006
cuda: eliminate warnings
2018-04-26 15:06:59 +03:00
Tomoaki Teshima
779a42678d
fix CUDA build crash
...
* add --std=c++11 flag to nvcc definition
* remove not used abs functions
2018-04-11 17:19:09 +09:00
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
2018-03-27 16:16:59 +03:00
Balint Cristian
0c4e294504
Enable CUDA_NVCC_FLAGS at arch detect step.
2017-08-31 12:57:43 +03:00
Boris Fomitchev
c48807c383
Merge pull request #9418 from borisfom:cuda9
...
CUDA9 build fixed, added detection (#9418 )
* CUDA9 build fixed, added detection
* Replacing deprecated __shfl_xxx with __shfl_sync, fixing bogus CUDA9 warnings
2017-08-24 07:11:44 +00:00
Alexander Alekhin
f694192878
cmake: use CMAKE_CXX_COMPILER_VERSION (CMake 2.8.8+)
...
- '-fvisibility' flag was updated
- PVAPI library detection was changed
2017-08-21 18:06:40 +03:00
Tomoaki Teshima
9cd42650dc
build with cc 6.2 on Jetson TX2
2017-04-10 22:19:17 +09:00
Alexander Alekhin
0724d13bcd
build: cuda warnings
2016-12-04 03:10:05 +03:00
StevenPuttemans
fa32abe5f3
add 5.2 and 6.1 compute capability support
2016-10-14 10:14:12 +02:00
Stephane Thiell
3335963987
cmake: add support for Nvidia GPU Tesla K80
2016-09-01 12:07:32 -07:00
Vladislav Vinogradov
d76f258aeb
update CUDA architecture flags initialization
...
* remove obsolete paths
* add Pascal arch support
2016-07-13 13:03:16 +03:00
Guy Sheffer
0a48b9ae77
Fix #6500 cmake bug that adds D_FORCE_INLINES to NVCC
2016-05-26 13:45:50 +03:00
atinfinity
ed8368fed7
fixed to use NVCUVID in 'cudacodec' module.
2016-01-31 01:28:15 +09:00
Andreas Franek
01c5a0ed12
Simplifies cross compilation with CUDA for ARM boards. CUDA arch is set for all ARM targets, --unresolved-symbols=ignore-in-shared-libs is set when cross-compiling for ARM and FindCUDA.cmake was adjusted to find shared library stubs within the CUDA toolkit.
2015-11-03 12:30:34 +01:00
Alexander Smorkalov
1df0f1da97
Precise default CUDA version for Tegra X1 chips.
2015-05-30 23:30:56 +02:00
Vadim Pisarevsky
8e37a693e5
Merge pull request #3758 from ilya-lavrenov:aarch64
2015-03-02 10:50:31 +00:00
Quentin Minster
98d7e52b0a
Update OpenCVDetectCUDA.cmake
...
Add check for CUDA version >= 7.0 (currently in RC1), which drops support for arches 1.x.
2015-02-27 00:41:31 +01:00
Ilya Lavrenov
c5a80193a8
aarch64 support
2015-02-26 19:43:32 +03:00
Vladislav Vinogradov
e4d0652899
[FindCUDA] improvements for cross-platform build
...
* improve `CUDA_TARGET_CPU_ARCH` cache initialization,
allow to override initial value from calling script;
* add `CUDA_TARGET_OS_VARIANT` option to select OS variant;
* add `CUDA_TARGET_TRIPLET` option to select target triplet from
`${CUDA_TOOLKIT_ROOT_DIR}/targets` folder;
* remove `CUDA_TOOLKIT_TARGET_DIR` option, now it is calculated from
`CUDA_TARGET_TRIPLET`, the old approach still can be used for compatibility;
* for CUDA 6.5 and newer try to locate static libraries too, because
in 6.5 toolkit for ARM cross compilation only static libraries are included.
2014-12-23 17:48:18 +03:00