Hi. I am trying to use openCV 3.0 with OpenCL and it's not working. The "haveOpenCL" function aways return false.
I am using Ubuntu 14.04. The /etc/OpenCL/vendor have "amdocl32.icd amdocl64".icd with "libamdocl32.so" and "libamdocl64.so". In the opencv cmake file, the OpenCV appears as:
-- OpenCV modules:
-- To be built: hal core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres ts features2d calib3d stitching videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz
-- OpenCL:
-- Version: dynamic
-- Include path: /home/eduardo/Install-OpenCV/Ubuntu/OpenCV/opencv-3.0.0/3rdparty/include/opencl/1.2
-- Use AMDFFT: NO
-- Use AMDBLAS: NO
-- Use OpenCL: YES
Even whem I use the function "setUseOpenCL(true)", it's not setted because the function needs "if( haveOpenCL() )" to run.
I test a OpenCL Hello World from this link (https://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/first-opencl-program/) and I get the hello world message on the terminal.
Is possible to run OpenCV with OpenCL in my computer?