Apple provides an OpenCL "Hello World" example, which can be downloaded as a .zip
file from the following page:
I downloaded it, opened the project in Xcode, and clicked Run
. The build succeeded, but I got the following error message: Error: Failed to create a device group!
I would appreciate any advice on how to get a simple OpenCL example running on my Mac. In case it is diagnostically relevant: I'm running Mac OS 10.7.5 on an early 2011 MacBook Pro, and I have Xcode version 4.2 installed.