Li Peng
85b1c4060c
support axis in concat layer ocl path
...
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Li Peng
07bec6bdcd
reshape layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Alexander Alekhin
d8a737b4b0
dnn: SSD performance test
7 years ago
Alexander Alekhin
3a8a73ef6c
ocl: skip unstable tests
...
during pre-commit testing
7 years ago
Alexander Alekhin
15b909e80b
ocl: add SPIR Program loading test
...
SPIR kernels are located in opencv_extra
7 years ago
Alexander Alekhin
a82d2363f4
ocl: refactor Program API
...
- don't store ProgramSource in compiled Programs (resolved problem with "source" buffers lifetime)
- completelly remove Program::read/write methods implementation:
- replaced with method to query RAW OpenCL binary without any "custom" data
- deprecate Program::getPrefix() methods
7 years ago
Alexander Alekhin
13c4a02157
ocl: low-level API to support OpenCL binary programs
7 years ago
Li Peng
7b7033ac60
permute layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Juha Reunanen
5b41599911
Fix pointPolygonTest for large coordinate values ( #10222 )
...
* Add test that fails
* Fix integer pointPolygonTest for large coordinate values
* Review fixes:
- change type from long long to int64
- move test code to test_contours.cpp, and make it C++98 compliant
* Hopefully fix compiler error by using push_back instead of emplace_back
7 years ago
Vadim Pisarevsky
5ce38e516e
Merge pull request #10223 from vpisarev:ocl_mac_fixes
...
* fixed OpenCL functions on Mac, so that the tests pass
* fixed compile warnings; temporarily disabled OCL branch of TV L1 optical flow on mac
* fixed other few warnings on macos
7 years ago
woody.chow
611cf8d86f
Use Eigen::SelfAdjointEigenSolver in cv::eigen
7 years ago
Dmitry Kurtaev
bbbec300a6
nn.BatchNormalization and nn.Dropout layers from Torch
7 years ago
catree
6d06fcb414
Fix CUDA integral.
7 years ago
elenagvo
7bfb38055c
remove matrix release
7 years ago
elenagvo
81519537ae
fix the parameters order
7 years ago
elenagvo
0f12351a41
fix accelerators order
7 years ago
elenagvo
7aadbc9607
remove complex data structs
7 years ago
elenagvo
ce65975625
call HAL for GaussianBlur is fixed
7 years ago
elenagvo
a25c443d1f
add perf test for boxFilter CV8U to CV16U
7 years ago
elenagvo
c2c7333107
add hal for GaussianBlur
7 years ago
elenagvo
cb9e110adb
add HAL for BoxFilter
7 years ago
Alexander Alekhin
0595ab3eef
ocl: fix usage of invalid OpenCL cache on mixed 64/32-bit platforms
...
Observed during launch of 32/64-bit applications on Windows.
Added '32-bit' prefix for 32-bit OpenCL devices. No prefix on 64-bit configurations.
7 years ago
Alexander Alekhin
ac58405a71
calib3d: fix fisheye stereoRectify test
...
- don't write into testdata directory
- check matrices instead of result images
7 years ago
Alexander Alekhin
9bf6ec6fe1
Revert "Adapted estimateNewCameraMatrix to make it work with pincushion-like distortion."
...
This reverts commit 5384a2205a
.
7 years ago
Alexander Alekhin
22c0bb7dc9
cmake: fix WITH_VTK usage
...
'WITH_' variables is intended to enable CMake scripts with some autodetection logic.
'WITH_' can be off, but components is really enabled via command-line options
with proper variables setup (including 'HAVE_').
7 years ago
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
7 years ago
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
7 years ago
elenagvo
73ac5321f5
fix threshold HAL
7 years ago
catree
2e56a47f8c
Allow to use 3 points in SolvePnP if SOLVEPNP_ITERATIVE and useExtrinsicGuess==true. Add bibtex citations for P3P. Update SolvPnP tests.
7 years ago
elenagvo
762138e77e
define adaptiveMethod and thresholdType for HAL
7 years ago
Roman Cattaneo
d381e499ea
Fixes Issue #10181
...
This PR fixes incorrect division by zero handling in template
specialization of `Div_SIMD` for type `double`.
7 years ago
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
7 years ago
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
7 years ago
LaurentBerger
a44573c43b
Add ReLU and LeakyReLU activation function in ml module
7 years ago
Alexander Alekhin
486cfd1040
ts: detailed message
7 years ago
Pavel Rojtberg
3c795a0dab
add test_algorithm_rw using AKAZE
7 years ago
Pavel Rojtberg
6fbf0758bc
Python: wrap Algorithm::read and Algorithm::write
7 years ago
Wu Zhiwen
1f465a0ef9
dnn(ocl4dnn): fuseLayer() use umat_input/outputBlobs for OpenCL target
...
Also, fix bug when use OPENCL target but no OpenCL runtime
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Li Peng
a47fbd2610
Add ocl accuracy test for a few dnn nets
...
They are alexnet, mobilenet-ssd, resnet50, squeezeNet_v1_1,
yolo and fast_neural_style.
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Dmitry Kurtaev
99ed085752
Update PriorBox layer
7 years ago
elenagvo
c95bc0c7fd
add HAL for threshold
7 years ago
elenagvo
11ddb9332c
add HAL for adaptiveThreshold
7 years ago
LaurentBerger
606a5fd537
Try to solve issue 10166
7 years ago
Vadim Pisarevsky
ec076bfba3
Update imgproc.hpp
...
rewrote the added note in perhaps a cleaner way
7 years ago
Alexander Alekhin
92b35e6758
ocl: fix null pointer access crash
7 years ago
Alexander Alekhin
c38620e966
ocl: update OpenCL runtime loader
...
- fix compilation on Apple (undefined 'oclpath')
- don't warn on OPENCV_OPENCL_RUNTIME=disabled
7 years ago
Alexander Alekhin
b6abf0d3f9
ocl: drop obsolete cache directories after upgrade of OpenCL driver
...
Entries with the same platform name, the same device name and with different driver versions
are assumed obsolete.
7 years ago
Alexander Alekhin
cbf2b51e40
bindings(py): fix handling of 'isalgorithm'
7 years ago
Alexander Alekhin
13f374660f
dnn(ocl4dnn): drop unused batch_size_ in pooling
7 years ago
Alexander Alekhin
e34b64c979
dnn(ocl4dnn): refactor pooling OpenCL calls
7 years ago