It is not currently possible to create a CLContext in Mac OS X (tested on 10.8.4) as it returns CL_INVALID_VALUE. After much testing, I have narrowed it down to the method setupContextProperties() on CLGLContext.java. On Mac OS X, it puts in the property CL_CGL_SHAREGROUP_KHR. However, on Mac OS X (at least on the current version), the correct argument is CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE. Since this constant is not present on CL.java, I fixed it by replacing CL_CGL_SHAREGROUP_KHR with 268435456 (which is the value for CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE).
Fix included in this pull request: https://github.com/JogAmp/jocl/pull/2
Thank you!