summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-03-26 15:55:59 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-03-26 15:55:59 -0400
commit8d632a6ba979aaee655988c753ab9e91e29d4a03 (patch)
treea17155f86e0531e1dc02a7073951f64bcf679784
parentd4c0bd254a5ecd5f36c71fefc5231dc5605c74fd (diff)
Add error strings
-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);