Using OpenCL's opencv API with RK3288 SoC (regarding OpenCL versions)

asked 2016-07-29 03:02:40 -0500

Major Squirrel gravatar image

updated 2016-08-02 11:33:47 -0500

Good morning,

I'm planning to develop a software using OpenCV 3.1.0 for an embedded Firefly RK 3288, using OpenCL's API to fully consume the hardware acceleration potential of the embedded GPU (which is a Mali T-760).

The thing is that Mali T-760 processor seems to support a specific version of OpenCL which is 1.1, yet the OpenCL's opencv API seems to be based of a 1.2 version.

I was wondering if I could use the OpenCL's opencv API for the Firefly, even if the versions are not matching ?

NB: ARM is giving the OpenCL's SDK which includes the header files and the libraries to use for coding.

Thank you in advance for you time.

EDIT (08/02/2016) : added some infos in comment below.

edit retag flag offensive close merge delete


Ok so it seems that OpenCV requires an OpenCL 1.1 full profile minimum, and the Mali T-760 seems to support OpenCL 1.1 embedded profile.

I did some research and it seems that the only differences between the embedded profile and the full profile is that the former is lowering constant buffer sizes, some allocation size, and is not supporting any 64-bits integers nor integer vectors.

This is pretty annoying because I really want to use OpenCV's transparent API of OpenCL to do some image processing on an embedded device. For now, I didn't receive any information despite the lot of googling I did since few days.

We just received this awesome board and it would be really sad not to be able to use the tools we want on it.

Major Squirrel gravatar imageMajor Squirrel ( 2016-08-02 11:32:55 -0500 )edit