clray

annotate src/ocl_errstr.h @ 62:d9520da6b801

minor readme fix
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Dec 2015 10:31:58 +0200
parents deaf85acf6af
children
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@60 18 "CL_MAP_FAILURE",
nuclear@60 19 "CL_MISALIGNED_SUB_BUFFER_OFFSET",
nuclear@60 20 "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST",
nuclear@60 21 "CL_COMPILE_PROGRAM_FAILURE",
nuclear@60 22 "CL_LINKER_NOT_AVAILABLE",
nuclear@60 23 "CL_LINK_PROGRAM_FAILURE",
nuclear@60 24 "CL_DEVICE_PARTITION_FAILED",
nuclear@60 25 "CL_KERNEL_ARG_INFO_NOT_AVAILABLE", /* 19 */
nuclear@8 26
nuclear@60 27 "<unknown error>", "<unknown error>", /* 20, 21 */
nuclear@60 28 "<unknown error>", "<unknown error>", /* 22, 23 */
nuclear@60 29 "<unknown error>", "<unknown error>", /* 24, 25 */
nuclear@60 30 "<unknown error>", "<unknown error>", /* 26, 27 */
nuclear@60 31 "<unknown error>", "<unknown error>", /* 28, 29 */
nuclear@8 32
nuclear@8 33 "CL_INVALID_VALUE", /* 30 */
nuclear@8 34 "CL_INVALID_DEVICE_TYPE",
nuclear@8 35 "CL_INVALID_PLATFORM",
nuclear@8 36 "CL_INVALID_DEVICE",
nuclear@8 37 "CL_INVALID_CONTEXT",
nuclear@8 38 "CL_INVALID_QUEUE_PROPERTIES",
nuclear@8 39 "CL_INVALID_COMMAND_QUEUE",
nuclear@8 40 "CL_INVALID_HOST_PTR",
nuclear@8 41 "CL_INVALID_MEM_OBJECT",
nuclear@8 42 "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR",
nuclear@8 43 "CL_INVALID_IMAGE_SIZE",
nuclear@8 44 "CL_INVALID_SAMPLER",
nuclear@8 45 "CL_INVALID_BINARY",
nuclear@8 46 "CL_INVALID_BUILD_OPTIONS",
nuclear@8 47 "CL_INVALID_PROGRAM",
nuclear@8 48 "CL_INVALID_PROGRAM_EXECUTABLE",
nuclear@8 49 "CL_INVALID_KERNEL_NAME",
nuclear@8 50 "CL_INVALID_KERNEL_DEFINITION",
nuclear@8 51 "CL_INVALID_KERNEL",
nuclear@8 52 "CL_INVALID_ARG_INDEX",
nuclear@8 53 "CL_INVALID_ARG_VALUE",
nuclear@8 54 "CL_INVALID_ARG_SIZE",
nuclear@8 55 "CL_INVALID_KERNEL_ARGS",
nuclear@8 56 "CL_INVALID_WORK_DIMENSION",
nuclear@8 57 "CL_INVALID_WORK_GROUP_SIZE",
nuclear@8 58 "CL_INVALID_WORK_ITEM_SIZE",
nuclear@8 59 "CL_INVALID_GLOBAL_OFFSET",
nuclear@8 60 "CL_INVALID_EVENT_WAIT_LIST",
nuclear@8 61 "CL_INVALID_EVENT",
nuclear@8 62 "CL_INVALID_OPERATION",
nuclear@8 63 "CL_INVALID_GL_OBJECT",
nuclear@8 64 "CL_INVALID_BUFFER_SIZE",
nuclear@8 65 "CL_INVALID_MIP_LEVEL",
nuclear@60 66 "CL_INVALID_GLOBAL_WORK_SIZE",
nuclear@60 67 "CL_INVALID_PROPERTY",
nuclear@60 68 "CL_INVALID_IMAGE_DESCRIPTOR",
nuclear@60 69 "CL_INVALID_COMPILER_OPTIONS",
nuclear@60 70 "CL_INVALID_LINKER_OPTIONS",
nuclear@60 71 "CL_INVALID_DEVICE_PARTITION_COUNT" /* 68 */
nuclear@8 72 };