summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLException.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-11-06 01:51:44 +0100
committerMichael Bien <[email protected]>2009-11-06 01:51:44 +0100
commit6b0a2ca7a6d03b280c018bf9de5b385451399022 (patch)
tree6d5e215f36b48c7b20f18938752084524eb75435 /src/com/mbien/opencl/CLException.java
parent3d8df0c175ff84ac7b42e0ee5f247099b953514a (diff)
added cl_ext header to build - extensions are now included in CL and CLGLI api.
fixed create context codepaths with platform ID as parameter in high level api. updated test.
Diffstat (limited to 'src/com/mbien/opencl/CLException.java')
-rw-r--r--src/com/mbien/opencl/CLException.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java
index b4a66a9f..c080b164 100644
--- a/src/com/mbien/opencl/CLException.java
+++ b/src/com/mbien/opencl/CLException.java
@@ -167,7 +167,11 @@ public class CLException extends RuntimeException {
return "CL_INVALID_MIP_LEVEL";
case CL.CL_INVALID_GLOBAL_WORK_SIZE:
- return "CL_INVALID_GLOBAL_WORK_SIZE";
+ return "CL_INVALID_GLOBAL_WORK_SIZE or CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR";
+
+// error-code conflict with CL_INVALID_GLOBAL_WORK_SIZE
+// case CL.CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR:
+// return "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR";
default:
return "unknown cause: error " + error;