From 8d632a6ba979aaee655988c753ab9e91e29d4a03 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 26 Mar 2012 15:55:59 -0400 Subject: Add error strings --- cl_util.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3