diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/mbien/opencl/CLException.java | 7 |
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; |