Hi , When I run the test application 'clinfo' under '/opt/viv_samples/cl11/UnitTest/', it works without any error. I see OpenCL is working on my device. Then I have crosscompiled OpenCV 3.2 libraries and it also works fine on imx6qp. The problem is using OpenCL under OpenCV. When I run the code below, I get 'OpenCL is not available'. Why cant I use OpenCV's OpenCL? andresilveira said we can use it here: https://community.nxp.com/thread/391395
Please guide me.
Here the code I try.
ocl::setUseOpenCL(true);
if (!ocl::haveOpenCL())
{
std::cout << "OpenCL is not available..." << std::endl;
}
I got information from Andre is:
"OpenCV is based on CUDA and OpenCL full profile. Our OpenCL Embedded profile follows OCL embedded standards and our limitations are not related to syntax, they are related to kernel size, CL atomic support, image support, GL interoperation support. Unfortunately we don´t have such documentation "