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
Vladislav Vinogradov
4e4d2da0b9
fix #3296 : Unsupported gpu architecture 'compute_21'
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
09a7e86a39
fixed NPP library search (it was splitted)
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
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
marina.kolpakova
fceb62386d
fix for 2504: WITH_CUDA disabled with OSX in 2.4.3.
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
Anatoly Baksheev
10459a886b
Added check for CUDA toolkit version ( older can't compile Kepler )
13 years ago
Anatoly Baksheev
962754141a
Added check for CUDA toolkit version ( older can't compile Kepler )
13 years ago
Anatoly Baksheev
215dd2a41b
Merged revision(s) 8304 from trunk/opencv/cmake/OpenCVDetectCUDA.cmake:
...
Added check for CUDA toolkit version ( older can't compile Kepler )
........
13 years ago
Anatoly Baksheev
03f122ca88
Added check for CUDA toolkit version ( older can't compile Kepler )
13 years ago
Marina Kolpakova
025f6674db
update for kepler arch support
13 years ago
Anatoly Baksheev
c05ebdffd8
Added default compilation for Kepler
13 years ago
Vladislav Vinogradov
2d81ecce23
fixed required CUDA version in OpenCVDetectCUDA.cmake
13 years ago
Vladislav Vinogradov
6f7e3434ca
moved finding CUDA_npp_LIBRARY to OpenCVDetectCUDA.cmake
13 years ago
Andrey Kamaev
984eb99428
Global CMake reorganization:
...
[~] Automatically tracked dependencies between modules
[+] Support for optional module dependencies
[+] Options to choose modules to build
[~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
[+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
[~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
13 years ago