OpenCL for iOS device.

Hi, all.


I'm trying to implementing OpenCL for iOS project. I have got the following log:

[Device Name: ARM CPU Compute Device]

[Device VENDOR: Apple]

[Device VERSION: OpenCL 1.1 ]

[Driver VERSION: 1.1]


But all my apps return error = -11 on the line: error = clBuildProgram(cpProgram, 0, NULL, NULL, NULL, NULL);

I checked the same code on desktop OS program it works.


Is OpenCL available only for jailbreak devices? Thanks.

Metal Compute shaders are VERY similar to OpenCl - 95% the same. I suspect Metal and OpenCL runtime & compiler share a lot internally.


I ported my app from OpenCl to Metal on OS/X. App's runtime interface is very different between the two, but kernels are very similar.


Metal Compute is NOT robust on Mac OS X. I have not used it under iOS.

last time i looked, OpenCL was not available in iOS, only Mac

OpenCL for iOS device.
 
 
Q