summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cl_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cl_util.c b/cl_util.c
index 20f80c6..1bccd8c 100644
--- a/cl_util.c
+++ b/cl_util.c
@@ -18,6 +18,7 @@ const char * clUtilErrorString(cl_int error)
CASE_ERR(CL_INVALID_ARG_INDEX);
CASE_ERR(CL_INVALID_ARG_SIZE);
CASE_ERR(CL_INVALID_ARG_VALUE);
+ CASE_ERR(CL_INVALID_BUFFER_SIZE);
CASE_ERR(CL_INVALID_COMMAND_QUEUE);
CASE_ERR(CL_INVALID_CONTEXT);
CASE_ERR(CL_INVALID_DEVICE);
@@ -25,6 +26,7 @@ const char * clUtilErrorString(cl_int error)
CASE_ERR(CL_INVALID_EVENT_WAIT_LIST);
CASE_ERR(CL_INVALID_GLOBAL_OFFSET);
CASE_ERR(CL_INVALID_GLOBAL_WORK_SIZE);
+ CASE_ERR(CL_INVALID_HOST_PTR);
CASE_ERR(CL_INVALID_IMAGE_SIZE);
CASE_ERR(CL_INVALID_KERNEL);
CASE_ERR(CL_INVALID_KERNEL_ARGS);