Does IMX6Q support OCL module of OpenCV for GPU programming? I have found ocl header insider opencv2/nonfree/ocl.hpp, but the ocl.hpp here includes opencv2/ocl/ocl.hpp which does not exist. There is no OCL folder inside opencv2 folder.
Is it supported? If yes, do I need to download from anywhere?
In he link below, it is mentioned that OpenCL version should be larger than 1.1 with FULL PROFILE in order to use OCL module. As far as I know, IMX6Q supports OpenCL 1.1 with Embedded Profile. It should not be supported according to the documentation, but I am confused for seeing ocl.hpp under nonfree folder.
For Open CV on the i.MX6 family please look at application Note AN4629 "Fast Image Processing with i.MX 6 Series", also please check the following threads:
Is there the full code for doc http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf ?
I tried to put all pieces of code in the document together but got wrong result image. If you have the whole code.Could you please send me a copy? I would be freed from debug the sample code.
Thank you for your answer. Actually my question is not about compiling OpenCV, I have already done that. I was searching that the OCL module (OpenCL module inside OpenCV) can be used on IMX.6, but I found that it is not possible, because IMX.6Q supports OpenCL Embedded Profile, while OCL module requires Full Profile OpenCL.