[ 0%] Building CXX object backend/src/CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o [ 0%] Linking CXX shared library libgbeinterp.so [ 0%] Built target gbeinterp [ 0%] Copy the LL file: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_clz.ll [ 3%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_clz.ll [ 6%] Generate the header by script: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_convert.h [ 6%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_workitem.cl [ 6%] Generate the header: /home/xiaowei/beignet/build/backend/src/libocl/include/ocl_defines.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_types.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_float.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_printf.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_workitem.h [ 6%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_atom.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_async.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_sync.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_memcpy.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_memset.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_misc.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_vload.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_geometric.h [ 10%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_image.h [ 13%] Copy the header: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_work_group.h [ 13%] Generate the header by python: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_common.h [ 13%] Generate the header by python: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_relational.h [ 13%] Generate the header by python: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_integer.h [ 13%] Generate the header by python: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_math.h [ 13%] Generate the header by python: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_simd.h [ 13%] Generate the header by script: /home/xiaowei/beignet/build/backend/src/libocl//usr/local/lib/beignet//include/ocl_as.h [ 13%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_workitem.cl [ 13%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl [ 13%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl:78:1: warning: implicit declaration of function 'as_float' is invalid in C99 DECL_ATOMIC_OP_SPACE(xchg, float, __global, atomic_) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl:76:12: note: expanded from macro 'DECL_ATOMIC_OP_SPACE' return as_float(__gen_ocl_##PREFIX##NAME((SPACE uint *)p, as_uint(val))); \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl:78:1: warning: implicit declaration of function 'as_uint' is invalid in C99 /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_atom.cl:76:63: note: expanded from macro 'DECL_ATOMIC_OP_SPACE' return as_float(__gen_ocl_##PREFIX##NAME((SPACE uint *)p, as_uint(val))); \ ^ 2 warnings generated. [ 13%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_async.cl [ 13%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_async.cl [ 13%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_sync.cl [ 13%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_sync.cl [ 13%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_memcpy.cl [ 17%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_memcpy.cl [ 17%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_memset.cl [ 17%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_memset.cl [ 17%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_misc.cl [ 17%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_misc.cl [ 20%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_vload.cl [ 20%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_vload.cl [ 20%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_geometric.cl [ 20%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_geometric.cl [ 20%] Copy the source: /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl [ 20%] Compiling /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:369:1: warning: implicit declaration of function 'convert_int' is invalid in C99 DECL_IMAGE_TYPE(image1d_t, 1) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:303:44: note: expanded from macro 'DECL_READ_IMAGE0' convert_int ##n(coord), 1); \ ^ :144:1: note: expanded from here convert_int1 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:291:22: note: expanded from macro 'convert_int1' #define convert_int1 convert_int ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:369:1: warning: implicit declaration of function 'convert_float' is invalid in C99 /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:305:42: note: expanded from macro 'DECL_READ_IMAGE0' convert_float ##n (coord), 0); \ ^ :144:1: note: expanded from here convert_float1 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:290:24: note: expanded from macro 'convert_float1' #define convert_float1 convert_float ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: warning: implicit declaration of function 'convert_int2' is invalid in C99 DECL_IMAGE_TYPE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:303:44: note: expanded from macro 'DECL_READ_IMAGE0' convert_int ##n(coord), 1); \ ^ :144:1: note: expanded from here convert_int2 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: warning: implicit declaration of function 'convert_float2' is invalid in C99 DECL_IMAGE_TYPE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:305:42: note: expanded from macro 'DECL_READ_IMAGE0' convert_float ##n (coord), 0); \ ^ :144:1: note: expanded from here convert_float2 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:370:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_t, 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:59:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: warning: implicit declaration of function 'convert_int4' is invalid in C99 DECL_IMAGE_TYPE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:303:44: note: expanded from macro 'DECL_READ_IMAGE0' convert_int ##n(coord), 1); \ ^ :144:1: note: expanded from here convert_int4 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: warning: implicit declaration of function 'convert_float4' is invalid in C99 DECL_IMAGE_TYPE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:305:42: note: expanded from macro 'DECL_READ_IMAGE0' convert_float ##n (coord), 0); \ ^ :144:1: note: expanded from here convert_float4 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:371:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: warning: implicit declaration of function 'convert_int3' is invalid in C99 DECL_IMAGE_TYPE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:303:44: note: expanded from macro 'DECL_READ_IMAGE0' convert_int ##n(coord), 1); \ ^ :144:1: note: expanded from here convert_int3 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: warning: implicit declaration of function 'convert_float3' is invalid in C99 DECL_IMAGE_TYPE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:305:42: note: expanded from macro 'DECL_READ_IMAGE0' convert_float ##n (coord), 0); \ ^ :144:1: note: expanded from here convert_float3 ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :144:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :5:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:372:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image3d_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:61:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image3d_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:63:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:373:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:365:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, int4, i, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:366:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(GEN_FIX_INT_CLAMPING, image_type, uint4, ui, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:302:14: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:356:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE0(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:304:12: note: expanded from macro 'DECL_READ_IMAGE0' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:325:20: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:358:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE1(int_clamping_fix, image_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:330:13: note: expanded from macro 'DECL_READ_IMAGE1' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:374:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_TYPE(image2d_array_t, 3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:367:3: note: expanded from macro 'DECL_IMAGE_TYPE' DECL_IMAGE(0, image_type, float4, f, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:360:3: note: expanded from macro 'DECL_IMAGE' DECL_READ_IMAGE_NOSAMPLER(image_type, image_data_type, suffix, int ##n, n) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 3) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:60:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image2d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:62:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:407:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_1DBuffer(GEN_FIX_INT_CLAMPING, int4, i) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:403:3: note: expanded from macro 'DECL_IMAGE_1DBuffer' DECL_READ_IMAGE1D_BUFFER_NOSAMPLER(image1d_buffer_t, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:386:12: note: expanded from macro 'DECL_READ_IMAGE1D_BUFFER_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_buffer_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:408:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_1DBuffer(GEN_FIX_INT_CLAMPING, uint4, ui) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:403:3: note: expanded from macro 'DECL_IMAGE_1DBuffer' DECL_READ_IMAGE1D_BUFFER_NOSAMPLER(image1d_buffer_t, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:386:12: note: expanded from macro 'DECL_READ_IMAGE1D_BUFFER_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_buffer_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:409:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_1DBuffer(0, float4, f) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:403:3: note: expanded from macro 'DECL_IMAGE_1DBuffer' DECL_READ_IMAGE1D_BUFFER_NOSAMPLER(image1d_buffer_t, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:386:12: note: expanded from macro 'DECL_READ_IMAGE1D_BUFFER_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_buffer_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:56:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:486:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, int4, i) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:480:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE0_1DArray(int_clamping_fix, image_data_type, suffix, int2) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:449:13: note: expanded from macro 'DECL_READ_IMAGE0_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:486:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, int4, i) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:470:20: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:486:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, int4, i) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:475:13: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:486:1: error: call to '__gen_ocl_read_imagei' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, int4, i) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:483:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE_NOSAMPLER(image1d_array_t, image_data_type, suffix, int2, 2)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagei ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:32:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:34:21: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE int4 __gen_ocl_read_imagei(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:487:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, uint4, ui) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:480:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE0_1DArray(int_clamping_fix, image_data_type, suffix, int2) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:449:13: note: expanded from macro 'DECL_READ_IMAGE0_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:487:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, uint4, ui) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:470:20: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:487:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, uint4, ui) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:475:13: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:487:1: error: call to '__gen_ocl_read_imageui' is ambiguous DECL_IMAGE_1DArray(GEN_FIX_INT_CLAMPING, uint4, ui) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:483:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE_NOSAMPLER(image1d_array_t, image_data_type, suffix, int2, 2)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imageui ^~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:36:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:38:22: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE uint4 __gen_ocl_read_imageui(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:488:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_1DArray(0, float4, f) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:480:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE0_1DArray(int_clamping_fix, image_data_type, suffix, int2) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:449:13: note: expanded from macro 'DECL_READ_IMAGE0_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:488:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_1DArray(0, float4, f) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:470:20: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:488:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_1DArray(0, float4, f) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:481:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE1_1DArray(int_clamping_fix, image_data_type, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:475:13: note: expanded from macro 'DECL_READ_IMAGE1_1DArray' return __gen_ocl_read_image ##suffix(cl_image, sampler, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:488:1: error: call to '__gen_ocl_read_imagef' is ambiguous DECL_IMAGE_1DArray(0, float4, f) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:483:3: note: expanded from macro 'DECL_IMAGE_1DArray' DECL_READ_IMAGE_NOSAMPLER(image1d_array_t, image_data_type, suffix, int2, 2)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:342:12: note: expanded from macro 'DECL_READ_IMAGE_NOSAMPLER' return __gen_ocl_read_image ##suffix( \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :6:1: note: expanded from here __gen_ocl_read_imagef ^~~~~~~~~~~~~~~~~~~~~ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 2) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:57:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function DECL_GEN_OCL_RW_IMAGE(image1d_array_t, 4) ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:40:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:58:1: note: candidate function /home/xiaowei/beignet/build/backend/src/libocl/src/ocl_image.cl:42:23: note: expanded from macro 'DECL_GEN_OCL_RW_IMAGE' OVERLOADABLE float4 __gen_ocl_read_imagef(image_type image, sampler_t sampler, \ ^ 8 warnings and 90 errors generated. backend/src/libocl/CMakeFiles/beignet_bitcode.dir/build.make:415: recipe for target 'backend/src/libocl/usr/local/lib/beignet/ocl_image.bc' failed make[2]: *** [backend/src/libocl/usr/local/lib/beignet/ocl_image.bc] Error 1 CMakeFiles/Makefile2:256: recipe for target 'backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all' failed make[1]: *** [backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2