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