Just got the following exception:
org.jocl.CLException: INVALID error code: -1001
at org.jocl.CL.checkResult(CL.java:314)
at org.jocl.CL.clGetPlatformIDs(CL.java:209)
As can be seen, function CL.stringFor_errorCode() does not recognize -1001 (CL_PLATFORM_NOT_FOUND_KHR) as a valid error code. See http://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt for the specification of the error code. Would it be possible to add support for this error code ?