opencv/modules/ocl
ahb 49dfa5a17f Fix the following error for ocl::getOpenCLPlatforms() on Ubuntu 12.04 with gcc 4.8
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.
2014-01-13 16:09:42 +01:00
..
doc update doc to be consisted with headers 2013-12-17 17:46:09 +04:00
include/opencv2/ocl deleted extra semicolons 2014-01-07 02:52:30 +04:00
perf change code according reviewer suggesions 2013-12-20 13:51:51 +04:00
src Fix the following error for ocl::getOpenCLPlatforms() on Ubuntu 12.04 with gcc 4.8 2014-01-13 16:09:42 +01:00
test deleted extra semicolons 2014-01-07 02:52:30 +04:00
CMakeLists.txt ocl: add support for initialization from user-provided OpenCL handles 2013-12-12 19:59:22 +04:00