- 13 Nov, 2014 1 commit
-
-
Tom Stellard authored
Move some static functions into the FarnebackOpticalFlow class as well, so they can access these new class variables. oclMat objects cannot be declared statically, because their destructor depends on the statically defined __module variable from cl_context.cpp. Since statically defined variables in separate compilation units have an undefined destruction order there is always the possibility the __module will be destructed before an oclMat object, which results in a segfault.
-
- 12 Nov, 2014 1 commit
-
-
Tom Stellard authored
gauss_w_lut is a statically defined variable of type oclMat. The oclMat destructor calls openCLFree() which via getInitializationMutex() accesses the __module variable which has been statically defined in cl_context.cpp Since the destruction order of statically defined variables in different compilation units is undefined, it is possible that __module will be destructed before gauss_w_lut, which would result in a segfault when getInitializationMutex() is called while destructing gauss_w_lut. In order to avoid this issue, we need to make gauss_w_lut a private member of the HOGDescriptors class so we know it will be destroyed before __module.
-
- 15 Oct, 2014 1 commit
-
-
Tom Stellard authored
ContextImpl::currentContext contains a reference to one of the DeviceInfoImpl objects from: static std::vector<DeviceInfoImpl> global_devices; ContextImpl::currentContext is destroyed in the destructor for the statically defined object __module, and relies on its DeviceInfoImpl reference to query some hardware features while being destroyed. This means that we need to ensure that the global_devices vector is destroyed affter __module, otherwise ContextImpl::currentContext's DeviceInfoImpl reference will no longer be valid when __module is destroyed. Since these variables are all confined to a single compilation unit, they will be destruct from bottom to top, so we need to make sure that __module is the bottom definition so it can be destroyed first.
-
- 19 Sep, 2014 3 commits
-
-
Tom Stellard authored
In C99 'inline' is not a hint to the compiler to inline the function, it is an attribute that affects the linkage of the function. 'inline' functions are required to have a definition in a different compiliation unit, so compilers are free to delete 'inline' functions if they want to. This issue can be seen in Clang when compiling at -O0. Clang will sometimes delete 'inline' functions which creates an invalid program. Issue 3746: http://code.opencv.org/issues/3746
-
http://code.opencv.org/issues/2837WilhelmHannemann authored
Bugfix brute_force_match.cl (see http://code.opencv.org/issues/2837): wrong results for non-float descriptors in OpenCL BruteForceMatcher
-
WilhelmHannemann authored
Bugfix brute_force_match.cl (Bug #2837): wrong results for non-float descriptors in OpenCL BruteForceMatcher
-
- 26 Jun, 2014 1 commit
-
-
unknown authored
-
- 09 Apr, 2014 2 commits
-
-
Maks Naumov authored
-
Maks Naumov authored
-
- 28 Mar, 2014 2 commits
-
-
Andrey Pavlenko authored
This reverts commit 3dcddad8. Conflicts: modules/ocl/src/opencl/haarobjectdetect.cl
-
Andrey Pavlenko authored
This reverts commit 54ea5bba, reversing changes made to 28e0d3d7.
-
- 18 Mar, 2014 1 commit
-
-
Firat Kalaycilar authored
Fixed an issue with weight assignment causing the resulting GMM weights to be unsorted in the CUDA and OCL versions of BackgroundSubtractorMOG2
-
- 17 Mar, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 13 Mar, 2014 6 commits
-
-
Ilya Lavrenov authored
-
Ilya Lavrenov authored
-
Ilya Lavrenov authored
-
Ilya Lavrenov authored
-
Ilya Lavrenov authored
-
Ilya Lavrenov authored
-
- 06 Mar, 2014 1 commit
-
-
Alexander Karsakov authored
-
- 05 Mar, 2014 1 commit
-
-
Alexander Karsakov authored
-
- 04 Mar, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 26 Feb, 2014 1 commit
-
-
Alexander Karsakov authored
-
- 12 Feb, 2014 1 commit
-
-
Zhigang Gong authored
The LLVM/Clang 3.3 has a bug when compile a cl kernel with assignment of a scalar to a vector data type. This patch could work around this bug. Signed-off-by:
Zhigang Gong <zhigang.gong@intel.com>
-
- 13 Jan, 2014 1 commit
-
-
ahb authored
OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in opencl_check_fn, file /home/ahb/software/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83 The issue results from modules/ocl/src/cl_runtime/cl_runtime.cpp checking for "linux" instead of "__linux__" (cp. http://sourceforge.net/p/predef/wiki/OperatingSystems/) Adjust all other occurrences of "defined(linux)" as well.
-
- 27 Dec, 2013 2 commits
-
-
Ilya Lavrenov authored
-
Peng Xiao authored
the `map` buffer does not have the same size with CUDA and index starts at [1, 1] instead of [0, 0].
-
- 26 Dec, 2013 1 commit
-
-
Alexander Smorkalov authored
static function qualifier replaced on inline to enable kernel compilation with OpenCL 1.1 embedded profile.
-
- 20 Dec, 2013 1 commit
-
-
krodyush authored
-
- 19 Dec, 2013 1 commit
-
-
krodyush authored
Improve ocl cvt_color performance for the following conversions: RGB<->BGR, RGB->Gray, RGB<->XYZ, RGB<->YCrCb, RGB<->YUV, and mRGBA<->RGBA. The improvement was done basically by processing more than 1 pixel by each work-item and using vector's operations. new performance tests were added
-
- 18 Dec, 2013 1 commit
-
-
krodyush authored
-
- 17 Dec, 2013 6 commits
-
-
krodyush authored
-
krodyush authored
Added "sep_filter_singlepass" kernel that performs separable filtering in one kernel call Added appropriate host part - sepFilter2D_SinglePass function and SingleStepSeparableFilterEngine_GPU class Changed function declarations to enable their usage
-
krodyush authored
-
krodyush authored
-
krodyush authored
-
krodyush authored
-
- 12 Dec, 2013 1 commit
-
-
Alexander Alekhin authored
-
- 11 Dec, 2013 1 commit
-
-
Alexander Alekhin authored
-
- 05 Dec, 2013 1 commit
-
-
Peter Andreas Entschev authored
The oclMat::ptr() method was mistakenly used in ocl::BruteForceMatcher to pass a pointer to a oclMat object. The ptr() method returns a uchar pointer to the cl_mem data structure and this method will be removed.
-