aboutsummaryrefslogtreecommitdiff
path: root/src/cl-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-01 18:01:27 +0100
committerThomas White <taw@physics.org>2010-03-01 18:01:27 +0100
commit878b836a58f6b5f83a473399e6f139f8adacf73e (patch)
tree3012013581932420d3bc67b994c47d15ceda5151 /src/cl-utils.c
parentf213d4dc787d4d6edb8981c41138f4ace1e2f324 (diff)
Add new error code
Diffstat (limited to 'src/cl-utils.c')
-rw-r--r--src/cl-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl-utils.c b/src/cl-utils.c
index de65db31..725ea49c 100644
--- a/src/cl-utils.c
+++ b/src/cl-utils.c
@@ -40,6 +40,7 @@ const char *clError(cl_int err)
case CL_INVALID_KERNEL_NAME : return "invalid kernel name";
case CL_INVALID_KERNEL_ARGS : return "invalid kernel arguments";
case CL_INVALID_WORK_GROUP_SIZE : return "invalid work group size";
+ case CL_IMAGE_FORMAT_NOT_SUPPORTED : return "image format not supported";
default :
ERROR("Error code: %i\n", err);
return "unknown error";