Alexander Alekhin
e0a9468488
cmake: allow extra compile options for tests
5 years ago
Peter Würtz
5012fc5d23
Merge pull request #16684 from pwuertz:ignore_clang_mat_inl
...
* Ignore clang warnings for deprecated enum+enum operations in mat.inl.hpp
* build: added customization macros, cmake flags for OpenCV build
5 years ago
Alexander Alekhin
84bb67e49b
exclude opencv_contrib modules
5 years ago
Ivan Galanin
f9bd025722
Merge pull request #16639 from iigalanin:patch-1
...
* Update to new ICV packages
MacOS ia32 ICV package is no longer built.
* cmake(ippicv): add Apple 32-bit check
* Updated commit hash
5 years ago
Alexander Alekhin
77dd40c96c
Merge pull request #16619 from alalek:cmake_custom_cxx_standard_master
...
* cmake: allow customization of CMAKE_CXX_STANDARD value
* cmake: extra skip flag OPENCV_SKIP_CMAKE_CXX_STANDARD
* cmake: dump CMAKE_CXX_STANDARD value
- compiler option is missing in dumped flags
5 years ago
Alexander Alekhin
d81a0da3e0
dnn: use OpenVINO 2020.1 defines
5 years ago
Alexander Alekhin
ef93aea0da
cmake: update handling of MSVC /MP flag
5 years ago
Ilya Lavrenov
41f444a230
CMAKE: more robust custom IE libraries support
...
backporting of commit 98d96f2cc8
5 years ago
Ilya Lavrenov
98d96f2cc8
CMAKE: more robust custom IE libraries support
5 years ago
Alexander Alekhin
85a59ef292
cmake: hide IPPICV symbols using --exclude-libs
5 years ago
Alexander Alekhin
01c1b341a8
cmake: enable C++11 implicitly
5 years ago
Rajkiran Natarajan
579dcf12bd
GCC 10 warnings not caught by CMake ignore regex
5 years ago
Sayed Adel
bd531bd828
core:vsx fix inline asm constraints
...
generalize constraints to 'wa' for VSX registers
5 years ago
Alexander Alekhin
4af55e64e9
cmake: support OPENCV_ABI_SKIP_MODULES_LIST
...
backporting of commit f163778da7
5 years ago
Alexander Alekhin
8af87d5792
cmake: apply '-Wl,--as-needed' linker option
5 years ago
h6197627
fb3a334bbe
cmake: fix Linux system OpenEXR detection
5 years ago
Alexander Alekhin
f163778da7
cmake: support OPENCV_ABI_SKIP_MODULES_LIST
5 years ago
Alexander Alekhin
d064079a4e
build: eliminate build warnings
5 years ago
Tatsuro Shibamura
971ae00942
Merge pull request #16027 from shibayan:arm64-windows10
...
* Support ARM64 Windows 10 platform
* Fixed detection issue for ARM64 Windows 10
* Try enabling ARM NEON intrin
* build: disable NEON with MSVC compiler
* samples(directx): gdi32 dependency
5 years ago
Alexander Alekhin
424e1150ae
cmake: fix OpenCV_ARCH
5 years ago
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
5 years ago
Alexander Alekhin
6ea29a7696
cmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P
...
Drop:
- discouraged CMAKE_CL_64
- MSVC64
- MINGW64
5 years ago
Pádraig Brady
7b298b0995
Fix pch generation when linker flags used with GCC
...
-c is required to avoid linking (and the associated missing "main" message)
when linker flags like "-Wl,-z,relro" are passed to GCC
5 years ago
Alexander Alekhin
1ddcfc5c68
gapi: update CMakeLists.txt, fix TBB dependency handling
5 years ago
Lubov Batanina
7523c777c5
Merge pull request #15537 from l-bat:ngraph
...
* Support nGraph
* Fix resize
5 years ago
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
5 years ago
Alexander Alekhin
af92a517a7
cmake: set _WIN32_WINNT for Windows 7 API
5 years ago
SSE4
2e20f06f8e
- fix FindOpenEXR to respect OPENEXR_ROOT
...
Signed-off-by: SSE4 <tomskside@gmail.com>
5 years ago
Alexander Alekhin
a893969ec9
core(simd): v_setall template
5 years ago
Alexander Alekhin
21c38bbdaf
cmake(cpu optmizations): fix cleanup of OPENCV_DEPENDANT_TARGETS_* vars
5 years ago
Yashas Samaga B L
613c12e590
Merge pull request #14827 from YashasSamaga:cuda4dnn-csl-low
...
CUDA backend for the DNN module
* stub cuda4dnn design
* minor fixes for tests and doxygen
* add csl public api directory to module headers
* add low-level CSL components
* add high-level CSL components
* integrate csl::Tensor into backbone code
* switch to CPU iff unsupported; otherwise, fail on error
* add fully connected layer
* add softmax layer
* add activation layers
* support arbitary rank TensorDescriptor
* pass input wrappers to `initCUDA()`
* add 1d/2d/3d-convolution
* add pooling layer
* reorganize and refactor code
* fixes for gcc, clang and doxygen; remove cxx14/17 code
* add blank_layer
* add LRN layer
* add rounding modes for pooling layer
* split tensor.hpp into tensor.hpp and tensor_ops.hpp
* add concat layer
* add scale layer
* add batch normalization layer
* split math.cu into activations.cu and math.hpp
* add eltwise layer
* add flatten layer
* add tensor transform api
* add asymmetric padding support for convolution layer
* add reshape layer
* fix rebase issues
* add permute layer
* add padding support for concat layer
* refactor and reorganize code
* add normalize layer
* optimize bias addition in scale layer
* add prior box layer
* fix and optimize normalize layer
* add asymmetric padding support for pooling layer
* add event API
* improve pooling performance for some padding scenarios
* avoid over-allocation of compute resources to kernels
* improve prior box performance
* enable layer fusion
* add const layer
* add resize layer
* add slice layer
* add padding layer
* add deconvolution layer
* fix channelwise ReLU initialization
* add vector traits
* add vectorized versions of relu, clipped_relu, power
* add vectorized concat kernels
* improve concat_with_offsets performance
* vectorize scale and bias kernels
* add support for multi-billion element tensors
* vectorize prior box kernels
* fix address alignment check
* improve bias addition performance of conv/deconv/fc layers
* restructure code for supporting multiple targets
* add DNN_TARGET_CUDA_FP64
* add DNN_TARGET_FP16
* improve vectorization
* add region layer
* improve tensor API, add dynamic ranks
1. use ManagedPtr instead of a Tensor in backend wrapper
2. add new methods to tensor classes
- size_range: computes the combined size of for a given axis range
- tensor span/view can be constructed from a raw pointer and shape
3. the tensor classes can change their rank at runtime (previously rank was fixed at compile-time)
4. remove device code from tensor classes (as they are unused)
5. enforce strict conditions on tensor class APIs to improve debugging ability
* fix parametric relu activation
* add squeeze/unsqueeze tensor API
* add reorg layer
* optimize permute and enable 2d permute
* enable 1d and 2d slice
* add split layer
* add shuffle channel layer
* allow tensors of different ranks in reshape primitive
* patch SliceOp to allow Crop Layer
* allow extra shape inputs in reshape layer
* use `std::move_backward` instead of `std::move` for insert in resizable_static_array
* improve workspace management
* add spatial LRN
* add nms (cpu) to region layer
* add max pooling with argmax ( and a fix to limits.hpp)
* add max unpooling layer
* rename DNN_TARGET_CUDA_FP32 to DNN_TARGET_CUDA
* update supportBackend to be more rigorous
* remove stray include from preventing non-cuda build
* include op_cuda.hpp outside condition #if
* refactoring, fixes and many optimizations
* drop DNN_TARGET_CUDA_FP64
* fix gcc errors
* increase max. tensor rank limit to six
* add Interp layer
* drop custom layers; use BackendNode
* vectorize activation kernels
* fixes for gcc
* remove wrong assertion
* fix broken assertion in unpooling primitive
* fix build errors in non-CUDA build
* completely remove workspace from public API
* fix permute layer
* enable accuracy and perf. tests for DNN_TARGET_CUDA
* add asynchronous forward
* vectorize eltwise ops
* vectorize fill kernel
* fixes for gcc
* remove CSL headers from public API
* remove csl header source group from cmake
* update min. cudnn version in cmake
* add numerically stable FP32 log1pexp
* refactor code
* add FP16 specialization to cudnn based tensor addition
* vectorize scale1 and bias1 + minor refactoring
* fix doxygen build
* fix invalid alignment assertion
* clear backend wrappers before allocateLayers
* ignore memory lock failures
* do not allocate internal blobs
* integrate NVTX
* add numerically stable half precision log1pexp
* fix indentation, following coding style, improve docs
* remove accidental modification of IE code
* Revert "add asynchronous forward"
This reverts commit 1154b9da9da07e9b52f8a81bdcea48cf31c56f70.
* [cmake] throw error for unsupported CC versions
* fix rebase issues
* add more docs, refactor code, fix bugs
* minor refactoring and fixes
* resolve warnings/errors from clang
* remove haveCUDA() checks from supportBackend()
* remove NVTX integration
* changes based on review comments
* avoid exception when no CUDA device is present
* add color code for CUDA in Net::dump
5 years ago
Fei Wu
90af2835a2
Fix issue 15730.
5 years ago
Pavel Grunt
83e2e124a3
OpenCVFindMKL: Fix a typo
5 years ago
Alexander Alekhin
c4e2e17b0c
cmake: fix UWP scripts path
5 years ago
Alexander Alekhin
42ac089e12
build: update AVX2 check
...
- _mm256_bslli_epi128() works in GCC 4.9.3+ only
- Android NDK r10 doesn't support this instruction
5 years ago
Alexander Alekhin
bdc097495a
fix avx512 detection
...
- renamed Cascade Lake AVX512_CEL => AVX512_CLX (align with Intel SDE tool)
- fixed CLX instruction sets (no IFMA/VBMI)
- added flag to bypass CPU baseline check: OPENCV_SKIP_CPU_BASELINE_CHECK
5 years ago
Alexander Alekhin
2b66495a9d
dnn: use OpenVINO 2019R3 defines
5 years ago
Alexander Alekhin
c92f3072b4
cmake: add check for IPP IW license files
5 years ago
mipsopen-fwu
b1ea91d8bd
Merge pull request #15422 from mipsopen-fwu:msa-dev
...
* Added MSA implementations for mips platforms. Intrinsics for MSA and build scripts for MIPS platforms are added.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed some unused code in mips.toolchain.cmake.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Added comments for mips toolchain configuration and disabled compiling warnings for libpng.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Fixed the build error of unsupported opcode 'pause' when mips isa_rev is less than 2.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed FP16 related item in MSA option defines in OpenCVCompilerOptimizations.cmake.
2. Use CV_CPU_COMPILE_MSA instead of __mips_msa for MSA feature check in cv_cpu_dispatch.h.
3. Removed hasSIMD128() in intrin_msa.hpp.
4. Define CPU_MSA as 150.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed unnecessary CV_SIMD128_64F guarding in intrin_msa.hpp.
2. Removed unnecessary CV_MSA related code block in dotProd_8u().
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Defined CPU_MSA_FLAGS_ON as "-mmsa".
2. Removed CV_SIMD128_64F guardings in intrin_msa.hpp.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed unused msa_mlal_u16() and msa_mlal_s16 from msa_macros.h.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
5 years ago
Alexander Alekhin
c657c6cbac
cmake: use 'long long' for atomic check
5 years ago
Maksim Shabunin
5a75808516
Windows: partially restore install config generation
5 years ago
Maksim Shabunin
8b42995e8b
Add option to skip nested cmake structure on Windows
5 years ago
Alexander Alekhin
a0d227714e
dnn: use OpenVINO 2019R3 defines
5 years ago
huihut
fe42933ac5
Merge pull request #15433 from huihut:master
...
* fix 'chmod' is not recognized as an internal or external command in Windows
https://github.com/opencv/opencv/issues/14939
* cmake: update PCH command handling
5 years ago
Maksim Shabunin
9d4f01626c
cmake: add directory creation to download helper scripts
5 years ago
Maksim Shabunin
d974d4c6ce
cmake: download tries, customizable download parameters
5 years ago
Maksim Shabunin
8c849a48cc
Ported install layout refactoring from master branch
5 years ago
Maksim Shabunin
4e67eb6c42
Extracted install layout configuration to separate file
5 years ago
Ilya Lavrenov
d0c4a92b4c
Adopted detection of Inference Engine
5 years ago
Alexander Alekhin
464972855e
cmake: add libatomic check
5 years ago