aboutsummaryrefslogtreecommitdiff
path: root/src/cl-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-06 15:47:25 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:27 +0100
commitb5cf39959f971132bfbd4d73878f86c026deb96a (patch)
treec34482a4d4484e5c92b559d94d26b364e12b12ac /src/cl-utils.c
parent01fdad29f7d9f126290cdc455c0a587d5aa51007 (diff)
Add another error code to clError()
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 21c349ac..65a09363 100644
--- a/src/cl-utils.c
+++ b/src/cl-utils.c
@@ -49,6 +49,7 @@ const char *clError(cl_int err)
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";
+ case CL_INVALID_WORK_DIMENSION : return "invalid work dimension";
default :
return "unknown error";
}