From 47ce642729bbc1dc5cee7032d3b3d84cb9b82eca Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 21 Feb 2010 00:07:44 +0100 Subject: enabled automatic download of cl_ext.h in build. enabled CL_PLATFORM_NOT_FOUND_KHR exception cause (OpenCL headers have been fixed). --- src/com/mbien/opencl/CLException.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/com/mbien') 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; -- cgit v1.2.3