assertOpenCL
September 19, 2018
examples
C
opencl_errors_map.h
Go to the documentation of this file.
1
/** \file examples/C/opencl_errors_map.h
2
* \brief
3
* List of all error codes and names extracted from /usr/include/CL/cl.h
4
*
5
* Piece of assertOpenCL
6
* --- GPLv3 --- Copyright (C) 2018 Olivier Pirson
7
* --- http://www.opimedia.be/
8
* --- September 19, 2018
9
*/
10
{0,
"CL_SUCCESS"
},
11
{-1,
"CL_DEVICE_NOT_FOUND"
},
12
{-2,
"CL_DEVICE_NOT_AVAILABLE"
},
13
{-3,
"CL_COMPILER_NOT_AVAILABLE"
},
14
{-4,
"CL_MEM_OBJECT_ALLOCATION_FAILURE"
},
15
{-5,
"CL_OUT_OF_RESOURCES"
},
16
{-6,
"CL_OUT_OF_HOST_MEMORY"
},
17
{-7,
"CL_PROFILING_INFO_NOT_AVAILABLE"
},
18
{-8,
"CL_MEM_COPY_OVERLAP"
},
19
{-9,
"CL_IMAGE_FORMAT_MISMATCH"
},
20
{-10,
"CL_IMAGE_FORMAT_NOT_SUPPORTED"
},
21
{-11,
"CL_BUILD_PROGRAM_FAILURE"
},
22
{-12,
"CL_MAP_FAILURE"
},
23
{-13,
"CL_MISALIGNED_SUB_BUFFER_OFFSET"
},
24
{-14,
"CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST"
},
25
{-15,
"CL_COMPILE_PROGRAM_FAILURE"
},
26
{-16,
"CL_LINKER_NOT_AVAILABLE"
},
27
{-17,
"CL_LINK_PROGRAM_FAILURE"
},
28
{-18,
"CL_DEVICE_PARTITION_FAILED"
},
29
{-19,
"CL_KERNEL_ARG_INFO_NOT_AVAILABLE"
},
30
{-30,
"CL_INVALID_VALUE"
},
31
{-31,
"CL_INVALID_DEVICE_TYPE"
},
32
{-32,
"CL_INVALID_PLATFORM"
},
33
{-33,
"CL_INVALID_DEVICE"
},
34
{-34,
"CL_INVALID_CONTEXT"
},
35
{-35,
"CL_INVALID_QUEUE_PROPERTIES"
},
36
{-36,
"CL_INVALID_COMMAND_QUEUE"
},
37
{-37,
"CL_INVALID_HOST_PTR"
},
38
{-38,
"CL_INVALID_MEM_OBJECT"
},
39
{-39,
"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR"
},
40
{-40,
"CL_INVALID_IMAGE_SIZE"
},
41
{-41,
"CL_INVALID_SAMPLER"
},
42
{-42,
"CL_INVALID_BINARY"
},
43
{-43,
"CL_INVALID_BUILD_OPTIONS"
},
44
{-44,
"CL_INVALID_PROGRAM"
},
45
{-45,
"CL_INVALID_PROGRAM_EXECUTABLE"
},
46
{-46,
"CL_INVALID_KERNEL_NAME"
},
47
{-47,
"CL_INVALID_KERNEL_DEFINITION"
},
48
{-48,
"CL_INVALID_KERNEL"
},
49
{-49,
"CL_INVALID_ARG_INDEX"
},
50
{-50,
"CL_INVALID_ARG_VALUE"
},
51
{-51,
"CL_INVALID_ARG_SIZE"
},
52
{-52,
"CL_INVALID_KERNEL_ARGS"
},
53
{-53,
"CL_INVALID_WORK_DIMENSION"
},
54
{-54,
"CL_INVALID_WORK_GROUP_SIZE"
},
55
{-55,
"CL_INVALID_WORK_ITEM_SIZE"
},
56
{-56,
"CL_INVALID_GLOBAL_OFFSET"
},
57
{-57,
"CL_INVALID_EVENT_WAIT_LIST"
},
58
{-58,
"CL_INVALID_EVENT"
},
59
{-59,
"CL_INVALID_OPERATION"
},
60
{-60,
"CL_INVALID_GL_OBJECT"
},
61
{-61,
"CL_INVALID_BUFFER_SIZE"
},
62
{-62,
"CL_INVALID_MIP_LEVEL"
},
63
{-63,
"CL_INVALID_GLOBAL_WORK_SIZE"
},
64
{-64,
"CL_INVALID_PROPERTY"
},
65
{-65,
"CL_INVALID_IMAGE_DESCRIPTOR"
},
66
{-66,
"CL_INVALID_COMPILER_OPTIONS"
},
67
{-67,
"CL_INVALID_LINKER_OPTIONS"
},
68
{-68,
"CL_INVALID_DEVICE_PARTITION_COUNT"
},
69
{-69,
"CL_INVALID_PIPE_SIZE"
},
70
{-70,
"CL_INVALID_DEVICE_QUEUE"
}
Generated by
1.8.13