Unlike Core Image, OpenCL actually requires you to compile your kernel code explicitly before using it. The API’s required to do this will return nice compiler error messages and everything. The obvious thing to do would be wrap up …
Follow this link:
Safe from the Losing Fight » Compiling OpenCL Kernels with Xcode