OpenCLのエラーコードのメモです。
1 // Error Codes 2 #define CL_SUCCESS0 3 #define CL_DEVICE_ NOT_FOUND -1 4 #define CL_DEVICE_ NOT_AVAILA BLE -2 5 #define CL_COMPILE R_NOT_AVAI LABLE -3 6 #define CL_MEM_OBJ ECT_ALLOCA TION_FAILU RE -4 7 #define CL_OUT_OF_ RESOURCES -5 8 #define CL_OUT_OF_ HOST_MEMOR Y -6 9 #define CL_PROFILI NG_INFO_NO T_AVAILABL E -7 10 #define CL_MEM_COP Y_OVERLAP -8 11 #define CL_IMAGE_F ORMAT_MISM ATCH -9 12 #define CL_IMAGE_F ORMAT_NOT_ SUPPORTED -10 13 #define CL_BUILD_P ROGRAM_FAI LURE -11 14 #define CL_MAP_FAI LURE -12 15 16 #define CL_INVALID _VALUE -30 17 #define CL_INVALID _DEVICE_TY PE -31 18 #define CL_INVALID _PLATFORM -32 19 #define CL_INVALID _DEVICE -33 20 #define CL_INVALID _CONTEXT -34 21 #define CL_INVALID _QUEUE_PRO PERTIES -35 22 #define CL_INVALID _COMMAND_Q UEUE -36 23 #define CL_INVALID _HOST_PTR -37 24 #define CL_INVALID _MEM_OBJEC T -38 25 #define CL_INVALID _IMAGE_FOR MAT_DESCRI PTOR -39 26 #define CL_INVALID _IMAGE_SIZ E -40 27 #define CL_INVALID _SAMPLER -41 28 #define CL_INVALID _BINARY -42 29 #define CL_INVALID _BUILD_OPT IONS -43 30 #define CL_INVALID _PROGRAM -44 31 #define CL_INVALID _PROGRAM_E XECUTABLE -45 32 #define CL_INVALID _KERNEL_NA ME -46 33 #define CL_INVALID _KERNEL_DE FINITION -47 34 #define CL_INVALID _KERNEL -48 35 #define CL_INVALID _ARG_INDEX -49 36 #define CL_INVALID _ARG_VALUE -50 37 #define CL_INVALID _ARG_SIZE -51 38 #define CL_INVALID _KERNEL_AR GS -52 39 #define CL_INVALID _WORK_DIME NSION -53 40 #define CL_INVALID _WORK_GROU P_SIZE -54 41 #define CL_INVALID _WORK_ITEM _SIZE -55 42 #define CL_INVALID _GLOBAL_OF FSET -56 43 #define CL_INVALID _EVENT_WAI T_LIST -57 44 #define CL_INVALID _EVENT -58 45 #define CL_INVALID _OPERATION -59 46 #define CL_INVALID _GL_OBJECT -60 47 #define CL_INVALID _BUFFER_SI ZE -61 48 #define CL_INVALID _MIP_LEVEL -62 49 #define CL_INVALID _GLOBAL_WO RK_SIZE -63
posted by
genki
on Sat 24 Oct 2009
at 15:54