summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-21 00:07:44 +0100
committerMichael Bien <[email protected]>2010-02-21 00:07:44 +0100
commit47ce642729bbc1dc5cee7032d3b3d84cb9b82eca (patch)
tree776c22f2df072890bdfc9c29fea844c4450e4eaa /src/com
parentca5cc5ab7ce9ccd0351ae4d936cab85f8cdcc889 (diff)
enabled automatic download of cl_ext.h in build.
enabled CL_PLATFORM_NOT_FOUND_KHR exception cause (OpenCL headers have been fixed).
Diffstat (limited to 'src/com')
-rw-r--r--src/com/mbien/opencl/CLException.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java
index 4ca216c4..922da4a5 100644
--- a/src/com/mbien/opencl/CLException.java
+++ b/src/com/mbien/opencl/CLException.java
@@ -176,11 +176,10 @@ public class CLException extends RuntimeException {
return "CL_INVALID_MIP_LEVEL";
case CL_INVALID_GLOBAL_WORK_SIZE:
- return "CL_INVALID_GLOBAL_WORK_SIZE or CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR";
+ return "CL_INVALID_GLOBAL_WORK_SIZE";
-// error-code conflict with CL_INVALID_GLOBAL_WORK_SIZE
-// case CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR:
-// return "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR";
+ case CL_PLATFORM_NOT_FOUND_KHR:
+ return "CL_PLATFORM_NOT_FOUND_KHR";
default:
return "unknown cause: code" + error;