It seems that here is an error here

[2024-03-10 14:22:19.550588408]POCL: in fn int 
pocl_llvm_build_program(cl_program, unsigned int, cl_uint, _cl_program* const*, 
const char**, int) at line 420:
  |      LLVM |  all build options: -Dcl_khr_int64 
-DPOCL_DEVICE_ADDRESS_BITS=64 -D__USE_CLANG_OPENCL_C_H -xcl -Dinline= -I. 
-cl-kernel-arg-info -opaque-pointers -D NIMAGE=10000 -I 
/usr/lib/python3/dist-packages/pyopencl/cl -D__ENDIAN_LITTLE__=1 
-D__IMAGE_SUPPORT__=1 -DCL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE=64000 
-D__OPENCL_VERSION__=300 -cl-std=CL3.0 -D__OPENCL_C_VERSION__=300 
-Dcl_khr_byte_addressable_store=1 -Dcl_khr_global_int32_base_atomics=1 
-Dcl_khr_global_int32_extended_atomics=1 -Dcl_khr_local_int32_base_atomics=1 
-Dcl_khr_local_int32_extended_atomics=1 -Dcl_khr_3d_image_writes=1 
-Dcl_khr_command_buffer=1 -Dcl_pocl_pinned_buffers=1 -Dcl_khr_subgroups=1 
-Dcl_intel_unified_shared_memory=1 -Dcl_khr_subgroup_ballot=1 
-Dcl_khr_subgroup_shuffle=1 -Dcl_intel_subgroups=1 
-Dcl_intel_required_subgroup_size=1 -Dcl_ext_float_atomics=1 -Dcl_khr_spir=1 
-Dcl_khr_fp64=1 -Dcl_khr_int64_base_atomics=1 -Dcl_khr_int64_extended_atomics=1 
-D__opencl_c_3d_image_writes=1 -D__opencl_c_images=1 
-D__opencl_c_atomic_order_acq_rel=1 -D__opencl_c_atomic_order_seq_cst=1 
-D__opencl_c_atomic_scope_device=1 
-D__opencl_c_program_scope_global_variables=1 
-D__opencl_c_generic_address_space=1 -D__opencl_c_subgroups=1 
-D__opencl_c_atomic_scope_all_devices=1 -D__opencl_c_read_write_images=1 
-D__opencl_c_fp64=1 -D__opencl_c_ext_fp32_global_atomic_add=1 
-D__opencl_c_ext_fp32_local_atomic_add=1 
-D__opencl_c_ext_fp32_global_atomic_min_max=1 
-D__opencl_c_ext_fp32_local_atomic_min_max=1 
-D__opencl_c_ext_fp64_global_atomic_add=1 
-D__opencl_c_ext_fp64_local_atomic_add=1 
-D__opencl_c_ext_fp64_global_atomic_min_max=1 
-D__opencl_c_ext_fp64_local_atomic_min_max=1 -D__opencl_c_int64=1 
-cl-ext=-all,+cl_khr_byte_addressable_store,+cl_khr_global_int32_base_atomics,+cl_khr_global_int32_extended_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_local_int32_extended_atomics,+cl_khr_3d_image_writes,+cl_khr_command_buffer,+cl_pocl_pinned_buffers,+cl_khr_subgroups,+cl_intel_unified_shared_memory,+cl_khr_subgroup_ballot,+cl_khr_subgroup_shuffle,+cl_intel_subgroups,+cl_intel_required_subgroup_size,+cl_ext_float_atomics,+cl_khr_spir,+cl_khr_fp64,+cl_khr_int64_base_atomics,+cl_khr_int64_extended_atomics,+__opencl_c_3d_image_writes,+__opencl_c_images,+__opencl_c_atomic_order_acq_rel,+__opencl_c_atomic_order_seq_cst,+__opencl_c_atomic_scope_device,+__opencl_c_program_scope_global_variables,+__opencl_c_generic_address_space,+__opencl_c_subgroups,+__opencl_c_atomic_scope_all_devices,+__opencl_c_read_write_images,+__opencl_c_fp64,+__opencl_c_ext_fp32_global_atomic_add,+__opencl_c_ext_fp32_local_atomic_add,+__opencl_c_ext_fp32_global_atomic_min_max,+__opencl_c_ext_fp32_local_atomic_min_max,+__opencl_c_ext_fp64_global_atomic_add,+__opencl_c_ext_fp64_local_atomic_add,+__opencl_c_ext_fp64_global_atomic_min_max,+__opencl_c_ext_fp64_local_atomic_min_max,+__opencl_c_int64
 -fno-builtin -triple=x86_64-pc-linux-gnu -target-cpu penryn 
4 warnings generated.
[2024-03-10 14:22:20.986369997]POCL: in fn void 
appendToProgramBuildLog(cl_program, unsigned int, std::string&) at line 111:
  |     ERROR |  warning: 
/home/picca/.cache/pocl/kcache/tempfile_NcEztR.cl:861:14: AVX vector argument 
of type '__private float8' (vector of 8 'float' values) without 'avx' enabled 
changes the ABI
warning: /home/picca/.cache/pocl/kcache/tempfile_NcEztR.cl:893:14: AVX vector 
argument of type '__private float8' (vector of 8 'float' values) without 'avx' 
enabled changes the ABI
warning: /home/picca/.cache/pocl/kcache/tempfile_NcEztR.cl:933:16: AVX vector 
argument of type '__private float8' (vector of 8 'float' values) without 'avx' 
enabled changes the ABI
warning: /home/picca/.cache/pocl/kcache/tempfile_NcEztR.cl:1266:26: AVX vector 
argument of type '__private float8' (vector of 8 'float' values) without 'avx' 
enabled changes the ABI
[2024-03-10 14:22:20.992890946]POCL: in fn llvm::Module* 
getKernelLibrary(cl_device_id, PoclLLVMContextData*) at line 992:
  |      LLVM |  Using 
/lib/x86_64-linux-gnu/../../share/pocl/kernel-x86_64-pc-linux-gnu-sse41.bc as 
the built-in lib.
[2024-03-10 14:22:23.151001890]POCL: in fn int 
pocl_llvm_build_program(cl_program, unsigned int, cl_uint, _cl_program* const*, 
const char**, int) at line 756:
  |      LLVM |  Writing program.bc to 
/home/picca/.cache/pocl/kcache/OO/KDMNEJOLAKKIBKBOIDNJJPAEHMJELJCBLMGBG/program.bc.
/usr/lib/python3/dist-packages/pyopencl/cache.py:417: CompilerWarning: 
Non-empty compiler output encountered. Set the environment variable 
PYOPENCL_COMPILER_OUTPUT=1 to see more.
  prg.build(options_bytes, [devices[i] for i in to_be_built_indices])

let export the PYOPENCL_COMPILER_OUTPUT

Reply via email to