clray

diff src/ocl_errstr.h @ 8:deaf85acf6af

interactive spheres
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 Jul 2010 19:48:43 +0100
parents
children 8c858e1a89e8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ocl_errstr.h	Fri Jul 23 19:48:43 2010 +0100
     1.3 @@ -0,0 +1,64 @@
     1.4 +#ifndef OCL_CC_
     1.5 +#error "don't include ocl_errstr.h"
     1.6 +#endif
     1.7 +
     1.8 +static const char *ocl_errstr[] = {
     1.9 +	"CL_SUCCESS",
    1.10 +	"CL_DEVICE_NOT_FOUND",
    1.11 +	"CL_DEVICE_NOT_AVAILABLE",
    1.12 +	"CL_COMPILER_NOT_AVAILABLE",
    1.13 +	"CL_MEM_OBJECT_ALLOCATION_FAILURE",
    1.14 +	"CL_OUT_OF_RESOURCES",
    1.15 +	"CL_OUT_OF_HOST_MEMORY",
    1.16 +	"CL_PROFILING_INFO_NOT_AVAILABLE",
    1.17 +	"CL_MEM_COPY_OVERLAP",
    1.18 +	"CL_IMAGE_FORMAT_MISMATCH",
    1.19 +	"CL_IMAGE_FORMAT_NOT_SUPPORTED",
    1.20 +	"CL_BUILD_PROGRAM_FAILURE",
    1.21 +	"CL_MAP_FAILURE",						/* 12 */
    1.22 +
    1.23 +	"<unknown error>", "<unknown error>",	/* 13, 14 */
    1.24 +	"<unknown error>", "<unknown error>",	/* 15, 16 */
    1.25 +	"<unknown error>", "<unknown error>",	/* 17, 18 */
    1.26 +	"<unknown error>", "<unknown error>",	/* 19, 20 */
    1.27 +	"<unknown error>", "<unknown error>",	/* 21, 22 */
    1.28 +	"<unknown error>", "<unknown error>",	/* 23, 24 */
    1.29 +	"<unknown error>", "<unknown error>",	/* 25, 26 */
    1.30 +	"<unknown error>", "<unknown error>",	/* 27, 28 */
    1.31 +	"<unknown error>",						/* 29 */
    1.32 +
    1.33 +	"CL_INVALID_VALUE",						/* 30 */
    1.34 +	"CL_INVALID_DEVICE_TYPE",
    1.35 +	"CL_INVALID_PLATFORM",
    1.36 +	"CL_INVALID_DEVICE",
    1.37 +	"CL_INVALID_CONTEXT",
    1.38 +	"CL_INVALID_QUEUE_PROPERTIES",
    1.39 +	"CL_INVALID_COMMAND_QUEUE",
    1.40 +	"CL_INVALID_HOST_PTR",
    1.41 +	"CL_INVALID_MEM_OBJECT",
    1.42 +	"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR",
    1.43 +	"CL_INVALID_IMAGE_SIZE",
    1.44 +	"CL_INVALID_SAMPLER",
    1.45 +	"CL_INVALID_BINARY",
    1.46 +	"CL_INVALID_BUILD_OPTIONS",
    1.47 +	"CL_INVALID_PROGRAM",
    1.48 +	"CL_INVALID_PROGRAM_EXECUTABLE",
    1.49 +	"CL_INVALID_KERNEL_NAME",
    1.50 +	"CL_INVALID_KERNEL_DEFINITION",
    1.51 +	"CL_INVALID_KERNEL",
    1.52 +	"CL_INVALID_ARG_INDEX",
    1.53 +	"CL_INVALID_ARG_VALUE",
    1.54 +	"CL_INVALID_ARG_SIZE",
    1.55 +	"CL_INVALID_KERNEL_ARGS",
    1.56 +	"CL_INVALID_WORK_DIMENSION",
    1.57 +	"CL_INVALID_WORK_GROUP_SIZE",
    1.58 +	"CL_INVALID_WORK_ITEM_SIZE",
    1.59 +	"CL_INVALID_GLOBAL_OFFSET",
    1.60 +	"CL_INVALID_EVENT_WAIT_LIST",
    1.61 +	"CL_INVALID_EVENT",
    1.62 +	"CL_INVALID_OPERATION",
    1.63 +	"CL_INVALID_GL_OBJECT",
    1.64 +	"CL_INVALID_BUFFER_SIZE",
    1.65 +	"CL_INVALID_MIP_LEVEL",
    1.66 +	"CL_INVALID_GLOBAL_WORK_SIZE"
    1.67 +};