This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using OpenCL on Odroid-XU3 is slower than without OpenCL

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 me
Thank you

Parents
  • Thanks to your answer!

    In addition to my first question, when compile opencv3 using cmake, result is below.

    installopencv.png

    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.

Reply
  • Thanks to your answer!

    In addition to my first question, when compile opencv3 using cmake, result is below.

    installopencv.png

    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.

Children