summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml1
-rw-r--r--src/com/mbien/opencl/CLException.java7
2 files changed, 4 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index bb2df2fe..4d7f0cf7 100644
--- a/build.xml
+++ b/build.xml
@@ -202,6 +202,7 @@
<!-- download new headers from OpenCL registry if necessary -->
<update-headers header="${headers.orig}/cl.h" url="${registry.url}cl.h"/>
<update-headers header="${headers.orig}/cl_gl.h" url="${registry.url}cl_gl.h"/>
+ <update-headers header="${headers.orig}/cl_ext.h" url="${registry.url}cl_ext.h"/>
<update-headers header="${headers.orig}/cl_platform.h" url="${registry.url}cl_platform.h"/>
</target>
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;