Hello, I'm using Odroid-XU3.And I installed Opencv 3.0.0-rc1 on odroid-xu3 ubuntu 14.04.
I have two question.
First, In procedure installing opencv, there's no opencl sdk directory option.I just check 'WITH_OPENCL' and etc.But, Using OpenCL function is successful. Why??????
Second, I tested OpenCV with OpenCL.I referenced the website http://www.learnopencv.com/opencv-tra...However, With OpenCL running time is 400ms and without OpenCL running time is 152ms.I want to solve the weird problem.
Please help meThank you
Thanks to your answer!
In addition to my first question, when compile opencv3 using cmake, result is below.
There's no OPENCL_ROOT_DIR. (I can't select Mali OpenCL SDK library to use opencv)
But, the function for example ocl::setUseOpenCL(true) is perpectly running.
However, when ocl::setUseOpenCL(true) is executed, cvtColor that opencv function is slower than normal.
I'm Sorry due to a lack of English proficiency.
Once again, Thank you for your answer.
Hi,
Looks like everything is working as expected: you don't need to link against the Mali OpenCL SDK to get OpenCL support in OpenCV.
Like Tim explained, the reason it's slower is that the API is synchronous which is not suitable for GPUs. Moreover the OpenCL kernels have been written for a scalar architecture whereas Mali is vector based.
I'll implement OpenCL function needed.
Thanks!
HeeJin Park