Alexander Alekhin
4eb16122c0
ocl: change processing of OpenCL failures
...
disable "unwanted" messages
10 years ago
Alexander Karsakov
237cb93143
Added extra checks to ocl::Image2D
11 years ago
Alexander Alekhin
579a7fff6d
ocl: restore clFinish() in unmap() for AMD devices
...
This reverts commit 7d91b8efcd
.
11 years ago
Alexander Karsakov
3a263c6326
Added tests for Image2D
11 years ago
vbystricky
a8aa6381d9
Optimize OpenCL version of conversScaleAbs function
11 years ago
ElenaGvozdeva
070e5ec042
Changed predictOptimalVectorWidth function, now it is possible to choose vector size.
11 years ago
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
11 years ago
vbystricky
1d280352f4
Add code for print errors of OpenCL kernels runing
11 years ago
Ilya Lavrenov
98e7d4ceec
changed optimal vector width for Intel
11 years ago
Alexander Karsakov
7d91b8efcd
Removed redundant clFinish() after clEnqueueUnmapMemObject()
...
sss
11 years ago
Alexander Karsakov
d4e6812be2
Added check AmdFft version to be sure that AmdFft binaries are available
11 years ago
Elena Gvozdeva
31ac73c315
fix for cv::memopTypeToStr
11 years ago
Ilya Lavrenov
7017b1250a
used new stratehy in cv::accumulate**
11 years ago
Ilya Lavrenov
2c6b7a52e9
improved cv::ocl::predictOptimalVectorWidth
11 years ago
Ilya Lavrenov
2f46cf5ddb
changed base types for cv::memopTypeToStr
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
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
11 years ago
Vadim Pisarevsky
05e7c29de5
fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
11 years ago
Alexander Karsakov
66ac46214d
Final refactoring, fixes
11 years ago
Alexander Karsakov
1d2cf0e20e
Added nonzero_rows support
11 years ago
Ilya Lavrenov
f2a2467de3
enabled BufferPool
11 years ago
Zhigang Gong
2e49ca4903
Avoid unmap an umat(ocl) which hasn't been mapped at all.
...
According to opencl 1.2 spec 5.4.2:
enqueues a command to unmap a previously mapped region of a memory object.
...
CL_INVALID_VALUE if mapped_ptr is not a valid pointer returned by
clEnqueueMapBuffer, or clEnqueueMapImage for memobj.
So if the u->data is not from a clEnqueueMapBuffer call, we should not
call clEnqueueUnmapMemObject() unmap it. With this patch, the cases
./opencv_test_video --gtest_filter=OCL_Video/FarnebackOpticalFlow.Mat/*
could work well with beignet 0.9.1, Otherwise, it will get a
CL_INVALID_VALUE at the clEnqueueUnmapMemObject().
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
11 years ago
Ilya Lavrenov
2fe07abf83
use vectors for devices of all vendors
11 years ago
Alexander Alekhin
c5d3c08256
ocl: add try-catch for OpenCL device getter
11 years ago
Alexander Alekhin
157257b072
ocl: don't use OpenCL CPU device in default setup
11 years ago
Ilya Lavrenov
0528d2e2b3
added 32s to 32u conversion
11 years ago
Alexander Alekhin
d9daa0cbaa
ocl: added runtime flags for debugging
11 years ago
Hans Johnson
4c7ed03b5f
COMP: Fix problem with narrowing in c++11
...
modules/core/src/arithm.cpp:345:51:
error: constant expression evaluates to 4294967295 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
static int CV_DECL_ALIGNED(16) v64f_absmask[] = { 0xffffffff, 0x7fffffff, 0xffffffff, 0x7fffffff };
^~~~~~~~~~
Converted to unsigned int. This variable is only used to initialize a bit pattern anywhy for a 128bit type.
11 years ago
Ilya Lavrenov
33173d900a
optimized cv::meanStdDev
11 years ago
Ilya Lavrenov
c83455d8a4
optimized cv::repeat
11 years ago
Ilya Lavrenov
1e5694e082
heuristic for Intel
11 years ago
GregoryMorse
b1443bc1bc
WinRT core compatibility fixes
...
Update system.cpp
Update system.cpp
Update ocl.cpp
Update matching.cpp
Update ocl.cpp
Update matching.cpp
11 years ago
Aaron Kunze
1f8b41f390
Optimizes filter2D for Intel GPUs
11 years ago
Aaron Kunze
ebbac3c66d
Optimizes OpenCL resize and optical flow to use image extension.
11 years ago
Ilya Lavrenov
19d470749b
added macro for denoting region for suppression of "Wdeprecated-declarations"
11 years ago
Alexander Alekhin
3578f0afe9
ocl: workaround for synchronization issue in ::map()
11 years ago
Alexander Alekhin
06738468af
TAPI: stiching: add custom OpenCL kernels for MultiBandBlender
11 years ago
Aaron Kunze
629ddf0bf8
Resolves bug #3450 (Improperly cleaning up resources in DllMain)
11 years ago
Konstantin Matskevich
c2355d3a12
case-insensitivity
11 years ago
Konstantin Matskevich
79fc3a6203
added gpu type selection in OPENCV_OPENCL_DEVICE parser
11 years ago
Ilya Lavrenov
eb8b4c58c7
fixed bug in cv::ocl::predictOptimalVectorWidth
11 years ago
Ilya Lavrenov
291458a859
generalized OpenCL version of cv::sepFilter2D; removed some restrictions and added 3-channels support
11 years ago
Konstantin Matskevich
f9f730c426
update error message
11 years ago
Konstantin Matskevich
eebf92ba58
fix for incorrect opencl device selection
11 years ago
Ilya Lavrenov
82e6edfba2
optimized sep filter
11 years ago
Ilya Lavrenov
6be7869ae8
fix for unsupported doubles
11 years ago
Alexander Alekhin
48196ad10b
ocl: cleanup workarounds
11 years ago
Ilya Lavrenov
2755ae5df9
experiments
11 years ago
Alexander Karsakov
8660588fe9
Pass vendor macro to opencl kernel
11 years ago
mlyashko
eb2e8a11fa
changed kernel.set to support unsuccssful set
11 years ago