clray

annotate src/ocl_errstr.h @ 33:931d13b72f83

forgot to add the timers
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 24 Aug 2010 05:47:04 +0100
parents
children 8c858e1a89e8
rev   line source
nuclear@8 1 #ifndef OCL_CC_
nuclear@8 2 #error "don't include ocl_errstr.h"
nuclear@8 3 #endif
nuclear@8 4
nuclear@8 5 static const char *ocl_errstr[] = {
nuclear@8 6 "CL_SUCCESS",
nuclear@8 7 "CL_DEVICE_NOT_FOUND",
nuclear@8 8 "CL_DEVICE_NOT_AVAILABLE",
nuclear@8 9 "CL_COMPILER_NOT_AVAILABLE",
nuclear@8 10 "CL_MEM_OBJECT_ALLOCATION_FAILURE",
nuclear@8 11 "CL_OUT_OF_RESOURCES",
nuclear@8 12 "CL_OUT_OF_HOST_MEMORY",
nuclear@8 13 "CL_PROFILING_INFO_NOT_AVAILABLE",
nuclear@8 14 "CL_MEM_COPY_OVERLAP",
nuclear@8 15 "CL_IMAGE_FORMAT_MISMATCH",
nuclear@8 16 "CL_IMAGE_FORMAT_NOT_SUPPORTED",
nuclear@8 17 "CL_BUILD_PROGRAM_FAILURE",
nuclear@8 18 "CL_MAP_FAILURE", /* 12 */
nuclear@8 19
nuclear@8 20 "<unknown error>", "<unknown error>", /* 13, 14 */
nuclear@8 21 "<unknown error>", "<unknown error>", /* 15, 16 */
nuclear@8 22 "<unknown error>", "<unknown error>", /* 17, 18 */
nuclear@8 23 "<unknown error>", "<unknown error>", /* 19, 20 */
nuclear@8 24 "<unknown error>", "<unknown error>", /* 21, 22 */
nuclear@8 25 "<unknown error>", "<unknown error>", /* 23, 24 */
nuclear@8 26 "<unknown error>", "<unknown error>", /* 25, 26 */
nuclear@8 27 "<unknown error>", "<unknown error>", /* 27, 28 */
nuclear@8 28 "<unknown error>", /* 29 */
nuclear@8 29
nuclear@8 30 "CL_INVALID_VALUE", /* 30 */
nuclear@8 31 "CL_INVALID_DEVICE_TYPE",
nuclear@8 32 "CL_INVALID_PLATFORM",
nuclear@8 33 "CL_INVALID_DEVICE",
nuclear@8 34 "CL_INVALID_CONTEXT",
nuclear@8 35 "CL_INVALID_QUEUE_PROPERTIES",
nuclear@8 36 "CL_INVALID_COMMAND_QUEUE",
nuclear@8 37 "CL_INVALID_HOST_PTR",
nuclear@8 38 "CL_INVALID_MEM_OBJECT",
nuclear@8 39 "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR",
nuclear@8 40 "CL_INVALID_IMAGE_SIZE",
nuclear@8 41 "CL_INVALID_SAMPLER",
nuclear@8 42 "CL_INVALID_BINARY",
nuclear@8 43 "CL_INVALID_BUILD_OPTIONS",
nuclear@8 44 "CL_INVALID_PROGRAM",
nuclear@8 45 "CL_INVALID_PROGRAM_EXECUTABLE",
nuclear@8 46 "CL_INVALID_KERNEL_NAME",
nuclear@8 47 "CL_INVALID_KERNEL_DEFINITION",
nuclear@8 48 "CL_INVALID_KERNEL",
nuclear@8 49 "CL_INVALID_ARG_INDEX",
nuclear@8 50 "CL_INVALID_ARG_VALUE",
nuclear@8 51 "CL_INVALID_ARG_SIZE",
nuclear@8 52 "CL_INVALID_KERNEL_ARGS",
nuclear@8 53 "CL_INVALID_WORK_DIMENSION",
nuclear@8 54 "CL_INVALID_WORK_GROUP_SIZE",
nuclear@8 55 "CL_INVALID_WORK_ITEM_SIZE",
nuclear@8 56 "CL_INVALID_GLOBAL_OFFSET",
nuclear@8 57 "CL_INVALID_EVENT_WAIT_LIST",
nuclear@8 58 "CL_INVALID_EVENT",
nuclear@8 59 "CL_INVALID_OPERATION",
nuclear@8 60 "CL_INVALID_GL_OBJECT",
nuclear@8 61 "CL_INVALID_BUFFER_SIZE",
nuclear@8 62 "CL_INVALID_MIP_LEVEL",
nuclear@8 63 "CL_INVALID_GLOBAL_WORK_SIZE"
nuclear@8 64 };