Alexander Smorkalov
1df0f1da97
Precise default CUDA version for Tegra X1 chips.
10 years ago
Quentin Minster
98d7e52b0a
Update OpenCVDetectCUDA.cmake
...
Add check for CUDA version >= 7.0 (currently in RC1), which drops support for arches 1.x.
10 years ago
Ilya Lavrenov
c5a80193a8
aarch64 support
10 years ago
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.
10 years ago
Vladislav Vinogradov
8392296eda
remove -fvisibility-inlines-hidden from CUDA compiler flags
...
it generates warning
10 years ago
Alexander Smorkalov
284b2fc1e7
Cut path to CUDA libraries to prevent generation of OpenCVModules.cmake with abs path.
11 years ago
Vladislav Vinogradov
8b8c368148
fixed two warnings in gpu sources (-Wshadow, -Wno-sign-promo)
11 years ago
Vladislav Vinogradov
81acc5e73e
added `-Xptxas;-dlcm=ca` and `-target-os-variant=Android` to nvcc flags
11 years ago
Vladislav Vinogradov
26cb0ce1d5
fixed compilation warnings in .cu files
11 years ago
Vladislav Vinogradov
20641b4a0b
fixed CC arch/pts for android (used sm_32)
11 years ago
Roman Donchenko
104b14e0e0
Fixed CMake warnings/bugs caused by #1670 and #1714
...
include() doesn't create a variable scope, so the settings of
CMAKE_MODULE_PATH and CMAKE_FIND_ROOT_PATH_MODE_* were polluting
everything included after OpenCVDetectCUDA.cmake.
Also, FindCUDA includes FindPackageHandleStandardArgs, which includes
CMakeParseArguments, which causes warnings related to policy CMP0017.
Setting it to NEW seems safe enough.
11 years ago
Vladislav Vinogradov
5e75a22559
fixed find package CUDA for cross-compilation
...
replaced find_host_package with find_package and
set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH, because NEVER
doesn't work for CUDA_CUDA_LIBRARY, which is located in
/usr/arm-linux-gnueabihf/lib/libcuda.so for ARM
11 years ago
Vladislav Vinogradov
06c1f9a329
added own version of FindCUDA.cmake
11 years ago
Vladislav Vinogradov
e5947f581a
fix CUDA 5.5 support (npp, arm cross compilation) in CMake scripts:
...
The patch was submitted to CMake and might be available
in the next CMake release.
But until we have the fix in CMake we should add workaround in our scripts.
11 years ago
Roman Donchenko
49c6533227
Move the minimal CUDA version into the minimal version list.
11 years ago
Vladislav Vinogradov
4e4d2da0b9
fix #3296 : Unsupported gpu architecture 'compute_21'
11 years ago
Roman Donchenko
168e2a4ccb
Removed CMake version checks that we don't need anymore.
11 years ago
Vladislav Vinogradov
4b0f6e2d43
updated default parameters for CUDA CC in CMake:
...
* removed 2.0 PTX from default parameters since it has become obsolete
* added 3.5 BIN to prevent JIT compilation for super-Kepler
12 years ago
Vladislav Vinogradov
371a9cd833
fixed build with CUDA 5.5 on arm platforms
12 years ago
Vladislav Vinogradov
9488ed46ee
fixed compiler warning
...
removed -fvisibility-inlines-hidden compiler option for CUDA sources
12 years ago
Vladislav Vinogradov
3eeaa9189c
Revert "Revert "Merge pull request #836 from jet47:gpu-modules""
12 years ago
Vladislav Vinogradov
09a7e86a39
fixed NPP library search (it was splitted)
12 years ago
Andrey Kamaev
416fb50594
Revert "Merge pull request #836 from jet47:gpu-modules"
...
This reverts commit fba72cb60d
, reversing
changes made to 02131ffb62
.
12 years ago
Vladislav Vinogradov
1b00a3ed54
gpucodec module for video decoding/encoding
12 years ago
Alexander Smorkalov
a2561ee0cd
Code review notes fixed.
12 years ago
Vladislav Vinogradov
870563ba25
fixed compilation warning for CUDA files
...
command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
12 years ago
Vladislav Vinogradov
ecb2ebfba4
Move opengl iterop code to cv::ogl namespace
...
Fixed issues: #2737 #2848
12 years ago
marina.kolpakova
7a08bbbcc7
add CUDA_GENERATION macro
12 years ago
Vladislav Vinogradov
78c924baad
removed obsolete CARMA toolchain and CMake variable
12 years ago
Vladislav Vinogradov
395f0201e3
fixed build for CARMA:
...
- added CMake toolchain file
- added WITH_NVCUVID flag
12 years ago
saskathex
eb326cdbc8
Fixed misspelled words.
12 years ago
Anatoly Baksheev
b1aa7aecf0
fixed CC for CAMRA
12 years ago
marina.kolpakova
3882bbbf35
improve carma build
...
- exclude system paths from library search paths
- remove hardcoded paths to compiler
- enable compiling with 3d-parties
- enable build as shared libraries
12 years ago
Vladislav Vinogradov
2f1ca1b6b3
fixed build for CARMA:
...
* added CMake toolchain file
* added WITH_NVCUVID flag
12 years ago
Vladislav Vinogradov
da93a1dab9
fixed build for CARMA platform
12 years ago
marina.kolpakova
fceb62386d
fix for 2504: WITH_CUDA disabled with OSX in 2.4.3.
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Vladislav Vinogradov
8abcad6b00
fixed CUDA_FAST_MATH flag
12 years ago
Anatoly Baksheev
1d68850cb2
Added CUDA fast math flag
12 years ago
Anatoly Baksheev
dffba48517
Added host compiler check before CUDA detection. For not supported compilers CUDA will be disabled.
12 years ago
Anatoly Baksheev
e60a50c43c
removed /EHa flag for cuda compilation
12 years ago
marina.kolpakova
ee0dd4d496
disabled -Wunused-but-set-variable because of multiple warnings during building nvcc auto generated files (GCC 4.6)
12 years ago
Marina Kolpakova
fb3d6ecb98
merged documentation and android service from trunk
13 years ago
Andrey Kamaev
c474e27c1d
One more fix for zlib search #1902
13 years ago
Marina Kolpakova
2777ebb8a0
merged GPU scan
13 years ago
Marina Kolpakova
1365e28a54
initial support of GPU LBP classifier: added new style xml format loading
13 years ago
Marina Kolpakova
e7f6c4b7ef
scan operations are moved in separate header
13 years ago
Andrey Kamaev
c3577a288b
Merged the trunk r8291:8321
13 years ago
Anatoly Baksheev
1313d8a570
added check for CMake 2.8.3 for CUDA support
13 years ago