OpenCL on OSX

asked 2013-06-24 17:31:40 -0600

Hansg91 gravatar image


I am trying to use OpenCL in OpenCV on OSX (10.8.3) to see the face detector. OpenCL is already integrated in OSX so I had nothing to do with its installation. When I try to run it with a cascade of frontal faces I get the following error :

OpenCV Error: Assertion failed (localThreads[0] * localThreads[1] * localThreads[2] <= kernelWorkGroupSize) in openCLVerifyKernel

I do not know what this means, but after googeling this could be some hardware restriction or something, but why does this happen? Is there anything I can do to fix or debug this? I have the 2012 macbook pro retina model so I would find it weird I'd run into some hardware restriction, unless the restriction is about something from opencl missing in my hardwares architecture.

Best regards, Hans

edit retag flag offensive close merge delete