Closed frantisekz closed 1 year ago
Would you be able to provide errors from BiFModule that necessitated this change? We may want to fix the implicit int<>ptr conversions instead of disabling the error messages.
Yes, this is it:
FAILED: IGC/Release/bif/IBiF_Impl_int_spirv.bc_IBiF_Impl__cl__0.bc.tmp /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/IBiF_Impl_int_spirv.bc_IBiF_Impl__cl__0.bc.tmp
cd /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/BiFModule && /usr/bin/cmake -E compare_files /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/prebuild/BiFModule_PREB.sha /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/BiFModule_SRC.sha || /usr/bin/cmake -E make_directory /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif && /usr/bin/cmake -E compare_files /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/prebuild/BiFModule_PREB.sha /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/BiFModule_SRC.sha || /usr/bin/clang-15 -cc1 -x cl -fblocks -fpreserve-vec3-type -opencl-builtins -triple=spir64 -w -emit-llvm-bc -o /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/IBiF_Impl_int_spirv.bc_IBiF_Impl__cl__0.bc.tmp -include /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/opencl_cth.h -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Headers -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/../AdaptorOCL/ocl_igc_interface/device_enqueue -D__EXECUTION_MODEL_DEBUG=1 -D__OPENCL_C_VERSION__=200 -D__IGC_BUILD__ -Dcl_khr_f16 -Dcl_khr_fp64 -Dcl_khr_gl_msaa_sharing -Dcl_khr_mipmap_image -Dcl_khr_depth_images -Dcl_intel_subgroups_short -Dcl_intel_subgroups_char -Dcl_intel_subgroups_long -Dcl_intel_subgroup_local_block_io -Dcl_intel_64bit_global_atomics_placeholder -Dcl_khr_subgroup_extended_types -Dcl_khr_subgroup_non_uniform_vote -Dcl_khr_subgroup_ballot -Dcl_khr_subgroup_shuffle -Dcl_khr_subgroup_shuffle_relative -Dcl_khr_subgroup_non_uniform_arithmetic -Dcl_khr_subgroup_clustered_reduce -Dcl_intel_bit_instructions -Dcl_intel_global_float_atomics -Dcl_intel_subgroup_matrix_multiply_accumulate -Dcl_intel_subgroup_split_matrix_multiply_accumulate -Dcl_intel_pvc_rt_validation -Dcl_intel_subgroup_matrix_multiply_accumulate_tf32 -Dcl_intel_subgroup_extended_block_read -D__VME_TYPES_DEFINED__ -finclude-default-header -cl-std=CL2.0 /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1910:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar, i8, __builtin_IB_simd_media_block_write_1_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:675:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_b( int, int2, uchar );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1910:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar, i8, __builtin_IB_simd_media_block_write_1_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:675:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_b( int, int2, uchar );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1911:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar2, v2i8, __builtin_IB_simd_media_block_write_2_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:676:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_b( int, int2, uchar2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1911:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar2, v2i8, __builtin_IB_simd_media_block_write_2_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:676:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_b( int, int2, uchar2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1912:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar4, v4i8, __builtin_IB_simd_media_block_write_4_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:677:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_b( int, int2, uchar4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1912:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar4, v4i8, __builtin_IB_simd_media_block_write_4_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:677:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_b( int, int2, uchar4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1913:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar8, v8i8, __builtin_IB_simd_media_block_write_8_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:678:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_b( int, int2, uchar8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1913:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar8, v8i8, __builtin_IB_simd_media_block_write_8_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:678:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_b( int, int2, uchar8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1914:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar16, v16i8, __builtin_IB_simd_media_block_write_16_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:679:54: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_16_b( int, int2, uchar16 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1914:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uchar16, v16i8, __builtin_IB_simd_media_block_write_16_b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:679:54: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_16_b( int, int2, uchar16 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1917:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort, i16, __builtin_IB_simd_media_block_write_1_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:670:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_h( int, int2, ushort );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1917:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort, i16, __builtin_IB_simd_media_block_write_1_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:670:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_h( int, int2, ushort );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1918:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort2, v2i16, __builtin_IB_simd_media_block_write_2_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:671:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_h( int, int2, ushort2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1918:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort2, v2i16, __builtin_IB_simd_media_block_write_2_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:671:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_h( int, int2, ushort2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1919:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort4, v4i16, __builtin_IB_simd_media_block_write_4_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:672:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_h( int, int2, ushort4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1919:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort4, v4i16, __builtin_IB_simd_media_block_write_4_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:672:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_h( int, int2, ushort4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1920:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort8, v8i16, __builtin_IB_simd_media_block_write_8_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:673:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_h( int, int2, ushort8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1920:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ushort8, v8i16, __builtin_IB_simd_media_block_write_8_h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:673:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_h( int, int2, ushort8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1922:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint, i32, __builtin_IB_simd_media_block_write_1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:665:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1( int, int2, uint );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1922:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint, i32, __builtin_IB_simd_media_block_write_1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:665:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1( int, int2, uint );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1923:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint2, v2i32, __builtin_IB_simd_media_block_write_2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:666:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2( int, int2, uint2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1923:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint2, v2i32, __builtin_IB_simd_media_block_write_2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:666:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2( int, int2, uint2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1924:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint4, v4i32, __builtin_IB_simd_media_block_write_4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:667:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4( int, int2, uint4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1924:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint4, v4i32, __builtin_IB_simd_media_block_write_4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:667:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4( int, int2, uint4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1925:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint8, v8i32, __builtin_IB_simd_media_block_write_8)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:668:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8( int, int2, uint8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1925:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(uint8, v8i32, __builtin_IB_simd_media_block_write_8)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:668:51: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8( int, int2, uint8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1928:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong, i64, __builtin_IB_simd_media_block_write_1_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:681:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_l( int, int2, ulong );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1928:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong, i64, __builtin_IB_simd_media_block_write_1_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:681:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_1_l( int, int2, ulong );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1929:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong2, v2i64, __builtin_IB_simd_media_block_write_2_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:682:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_l( int, int2, ulong2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1929:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong2, v2i64, __builtin_IB_simd_media_block_write_2_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:682:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_2_l( int, int2, ulong2 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1930:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong4, v4i64, __builtin_IB_simd_media_block_write_4_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:683:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_l( int, int2, ulong4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1930:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong4, v4i64, __builtin_IB_simd_media_block_write_4_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:683:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_4_l( int, int2, ulong4 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1931:1: error: incompatible pointer to integer conversion passing '__global Img2d_wo *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_1 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong8, v8i64, __builtin_IB_simd_media_block_write_8_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1900:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:684:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_l( int, int2, ulong8 );
^
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IBiF_Impl.cl:53:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1931:1: error: incompatible pointer to integer conversion passing '__global Img2d_rw *__private' (aka '__global struct __spirv_Image__void_1_0_0_0_0_0_2 *__private') to parameter of type 'int' [-Wint-conversion]
DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE(ulong8, v8i64, __builtin_IB_simd_media_block_write_8_l)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/group.cl:1906:19: note: expanded from macro 'DEF_INTEL_SUB_GROUP_BLOCK_WRITE_IMAGE'
INTERNAL_FUNC(image, coord, data); \
^~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl:684:53: note: passing argument to parameter here
void __builtin_IB_simd_media_block_write_8_l( int, int2, ulong8 );
^
34 errors generated.
and
FAILED: IGC/Release/bif/IBiF_Impl_int.bc_IBiF_Impl__cl__0.bc.tmp /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/IBiF_Impl_int.bc_IBiF_Impl__cl__0.bc.tmp
cd /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/BiFModule && /usr/bin/cmake -E compare_files /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/prebuild/BiFModule_PREB.sha /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/BiFModule_SRC.sha || /usr/bin/cmake -E make_directory /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif && /usr/bin/cmake -E compare_files /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/prebuild/BiFModule_PREB.sha /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/BiFModule_SRC.sha || /usr/bin/clang-15 -cc1 -x cl -fblocks -fpreserve-vec3-type -opencl-builtins -triple=spir64 -w -emit-llvm-bc -o /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/IBiF_Impl_int.bc_IBiF_Impl__cl__0.bc.tmp -include /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/redhat-linux-build/IGC/Release/bif/opencl_cth.h -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/PointerSize -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Headers -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/../AdaptorOCL/ocl_igc_shared -I /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/../AdaptorOCL/ocl_igc_shared/device_enqueue -D__EXECUTION_MODEL_DEBUG=1 -D__OPENCL_C_VERSION__=200 -D__IGC_BUILD__ -Dcl_khr_f16 -Dcl_khr_fp64 -Dcl_khr_gl_msaa_sharing -Dcl_khr_mipmap_image -Dcl_khr_depth_images -Dcl_intel_subgroups_short -Dcl_intel_subgroups_char -Dcl_intel_subgroups_long -Dcl_intel_subgroup_local_block_io -Dcl_intel_64bit_global_atomics_placeholder -Dcl_khr_subgroup_extended_types -Dcl_khr_subgroup_non_uniform_vote -Dcl_khr_subgroup_ballot -Dcl_khr_subgroup_shuffle -Dcl_khr_subgroup_shuffle_relative -Dcl_khr_subgroup_non_uniform_arithmetic -Dcl_khr_subgroup_clustered_reduce -Dcl_intel_bit_instructions -Dcl_intel_global_float_atomics -Dcl_intel_subgroup_matrix_multiply_accumulate -Dcl_intel_subgroup_split_matrix_multiply_accumulate -Dcl_intel_pvc_rt_validation -Dcl_intel_subgroup_matrix_multiply_accumulate_tf32 -Dcl_intel_subgroup_extended_block_read -D__VME_TYPES_DEFINED__ -finclude-default-header -cl-std=CL2.0 /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Impl.cl
In file included from /builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Impl.cl:36:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Images.cl:382:9: error: incompatible pointer to integer conversion initializing '__private int' with an expression of type '__global void *' [-Wint-conversion]
int IDimage_array = __builtin_astype(image_array, __global void*);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Images.cl:398:9: error: incompatible pointer to integer conversion initializing '__private int' with an expression of type '__global void *' [-Wint-conversion]
int IDimage_array = __builtin_astype(image_array, __global void*);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Images.cl:584:9: error: incompatible pointer to integer conversion initializing '__private int' with an expression of type '__global void *' [-Wint-conversion]
int IDimage_array = __builtin_astype(image_array, __global void*);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.12504.1/IGC/BiFModule/Languages/OpenCL/IBiF_Images.cl:600:9: error: incompatible pointer to integer conversion initializing '__private int' with an expression of type '__global void *' [-Wint-conversion]
int IDimage_array = __builtin_astype(image_array, __global void*);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
In the end we've opted for adding explicit casts to the OpenCL builtin code: commit d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7. @frantisekz Thank you for catching and analyzing the issue!
Thank you @frantisekz, @AGindinson , closing.
Ref. https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html#improvements-to-clang-s-diagnostics (end of the section)