Vadim Pisarevsky
fbafc700ea
added v_reduce_sum4() universal intrinsic; corrected number of threads in cv::getNumThreads() in the case of GCD
8 years ago
Woody Chow
6e00c7651b
Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application
8 years ago
Alexander Alekhin
649bb7ac04
core: parallel_for_(): update RNG state of the main thread
8 years ago
Alexander Alekhin
b28fd79fdc
core: parallel_for_(): propagate RNG state from the main thread
8 years ago
mshabunin
695c518384
Updated TBB search script and code checks
9 years ago
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
9 years ago
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
9 years ago
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
9 years ago
Gregory Morse
af5bec70cd
merge Win10/VS2015 changes
9 years ago
Maksim Shabunin
5618f4a0ac
Fixed: Concurrency static scheduler release failed
10 years ago
Alexander Alekhin
a482dcce46
fix support for pthreads parallel_for
10 years ago
Maksim Shabunin
1f983ec39c
Fixed compilation of pthread-based parallel_for with gcc 4.4.3
10 years ago
kalistratovag
bf5393ae58
parallel for on pthreads initial commit
...
removing trailing whitespaces
Compilation error on Mac fix & warning on android
Warnings fixed on iOs
10 years ago
Maxim Kostin
d1a8171011
Added WinRT concurrency support.
10 years ago
Maxim Kostin
cdd23440c9
Adding support for WinRT(WinPhone 8/8.1 and Win Store) via CMake 3.1
...
- Substituted HAVE_WINRT with WINRT
- Fixed compilation issues in ocl.cpp and parallel.cpp
- Fixed compiler issue for WP8: "C2678: binary '+' : no operator found which takes a left-hand - Fixed gitignore
- Added #ifdef HAVE_OPENCL to remove compiler warnings in ocl.cpp
- Used NO_GETENV similar to '3rdparty\libjpeg\jmemmgr.c;
- Added ole32.lib for core module (for WindowsStore 8.0 builds)
- Made OpenCV_ARCH aware of ARM
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
10 years ago
Adam Borowski
7b0d1c932e
Get rid of sysctl includes on Linux.
...
The 'sysctl' syscall has been strongly deprecated on Linux for ages.
Currently, on old architectures it will spam syslog whenever used, and on
newer ones it's missing from the headers altogether. Opencv has migrated
away on Linux already, but #includes were left lingering. This commit
removes them on non-__APPLE__, unbreaking x32 (and probably others).
10 years ago
Maksim Shabunin
09fb7512ed
Fixed iOS framework compilation warnings
11 years ago
Maksim Shabunin
ef3d02214b
Fixing iOS clang warnings, part 2
11 years ago
Vadim Pisarevsky
e9729a9601
multiple yet minor fixes to make most of the tests pass on Mac with Iris graphics
11 years ago
peng xiao
2519a21935
Fix a potential bug of ParallelLoopBodyWrapper::operator(Range)
...
On a 32-bit compiler the calculation may result in data (size_t) overflow when running some paralleled algorithms (which can safely run on a 64-bit compiler).
This bug is found when running OpenCV's Retina tutorial on 32bit VS2010.
12 years ago
Alexander Smorkalov
6257df1c4b
API restricted on WinRT partially removed from core.
...
Additional CMAKE flag WITH_WINRT added.
12 years ago
Roman Donchenko
c16316c4b4
Replaced the semi-public CV_PARALLEL_FRAMEWORK macro with a function.
...
That way, core/internal.hpp doesn't have to depend on cvconfig.h, which we
don't ship.
12 years ago
Roman Donchenko
24d84a45b1
Made tests record in the XML output which parallel framework was used.
12 years ago
Daniil Osokin
6deda2531c
Fixed getNumThreads() for C=
12 years ago
Andrey Kamaev
fd4909360f
Remove windows.h include from opencv2/core/internal.hpp to avoid conflicts with TBB library.
13 years ago
Anatoly Baksheev
d681717702
warnings
13 years ago
Andrey Kamaev
40030d2ca0
Fix windows build warnings
13 years ago
Andrey Kamaev
7173c82382
Include unistd.h to parallel.cpp on UNIX-like systems
...
This fixes build without TBB and CUDA. Issue #2445
13 years ago
Andrey Kamaev
ebac3a02aa
Fix backward compatibility of opencv_core
13 years ago
Vadim Pisarevsky
78a0b9787c
fixed build errors on Mac; moved test for #2332 from imgproc to highgui
13 years ago
Andrey Kamaev
460644b8a4
Reimplement thread management functions:
...
* Refactor auto-detection of parallel frameworks
* Implement cv:getNumThreads, cv::setNumThreads and cv::getThreadNum for all supported frameworks
* From now cv::setNumThreads(0) can be used to turn off parallelisation
13 years ago
Andrey Kamaev
b54f59de90
Move thread-related functions implementation to parallel.cpp
13 years ago
Vadim Pisarevsky
bddd06e6c4
another fix for the updated parallel_for_ implementation
13 years ago
Vadim Pisarevsky
d64438dcfd
fixed build errors in the case of TBB and Concurrency
13 years ago
Vadim Pisarevsky
354a5f2686
added recommended number of stripes to parallel_for_, modified some of the functions to use larger stripes (for better performance)
13 years ago
Vadim Pisarevsky
e625d86485
added C= support; modified threading logic in threshold
13 years ago
Ilya Lavrenov
0e07b0d73a
uncommented auto enabling GCD on Mac
13 years ago
Ilya Lavrenov
077115bd4a
debug
13 years ago
Andrey Kamaev
8e2258c494
Fix Windows build after commit:41b6d25
13 years ago
Vadim Pisarevsky
ec8f926686
small correction for the previous patch in parallel.cpp
13 years ago
Vadim Pisarevsky
41b6d25bdd
added cross-platform Mutex implementation; enable platform-native (GDC/Concurrency) parallel_for_ implementation when TBB is not installed.
13 years ago
Vadim Pisarevsky
310b1ad7b9
moved parallel_for_ and ParallelLoopBody to core.hpp
13 years ago
Ilya Lavrenov
27c2aa3a4e
parallel version of bilateral filter was implemented using parallel_for_
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Alexey Spizhevoy
95efec7539
Added local outlier rejector. Added rigid motion estimator. Refactored videostab module.
13 years ago
Alexey Spizhevoy
8fc84b7a41
Updated FMM run() signature
13 years ago
Andrey Pavlenko
f1cf411ffe
fixing compilation on Windows
13 years ago
Andrey Kamaev
14a1549dac
Fixed Android build of new videostab module
13 years ago
Alexey Spizhevoy
f58c40bfab
Added licence message
13 years ago
Alexey Spizhevoy
a60dc947b1
Added first version of videostab module
13 years ago