Hi,
I have a problem when trying to use OpenCV with OpenCL support in a cpp application. When i print the openCV build information I can see that it has OpenCL with dynamic linking. However, when I run a simple application using openCL it seems that OpenCV does not recognize OpenCL:
#include <opencv2/core/ocl.hpp>
[…]cv::ocl::haveOpenCL();
FALSE
I tried solving the problem by creating symbolic links to the libTIOpenCL* .so files, using default OpenCV naming convention (libOpenCV*).
This resulted in OpenCV recognizing the OpenCL but still I’m unable to force the OpenCL usage:
#include <opencv2/core/ocl.hpp>
[…]cv::ocl::haveOpenCL();
TRUE
cv::ocl::setUseOpenCL(true);
cv::ocl::useOpenCL();
FALSE
What am I missing here? Does the current system provide OpenCL support for OpenCV?
Kr,
Szymon