Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)

2024-03-12 Thread Andreas Beckmann

On Sun, 10 Mar 2024 15:21:34 +0100 (CET) PICCA Frederic-Emmanuel 
 wrote:

Here a small script which trigger the error

Thanks. Works for me in a minimal sid chroot:

# apt-get install python3-silx
# python3 test.py
python3: ./lib/llvmopencl/Kernel.cc:129: pocl::ParallelRegion* 
pocl::Kernel::createParallelRegionBefore(llvm::BasicBlock*): Assertion 
`region_entry_barrier != NULL' failed.
Aborted

At least the assertion has been there from the beginning (0.9, first
Debian packaged version was 0.10-1).

With

export POCL_CACHE_DIR=$(mktemp -d -p $(pwd))
export POCL_LEAVE_KERNEL_COMPILER_TEMP_FILES=1

I could extract the failing .cl file
After installing libpocl-dev I could reproduce the failure on sid

sid# poclcc 1060318.cl
poclcc: ./lib/llvmopencl/Kernel.cc:129: pocl::ParallelRegion* 
pocl::Kernel::createParallelRegionBefore(llvm::BasicBlock*): Assertion 
`region_entry_barrier != NULL' failed.
Aborted

sid# POCL_WORK_GROUP_METHOD=cbs poclcc 1060318.cl
[SubCFG] Form SubCFGs in bsort_all
[SubCFG] Form SubCFGs in bsort_horizontal
[SubCFG] Form SubCFGs in bsort_vertical
[SubCFG] Form SubCFGs in bsort_book
[SubCFG] Form SubCFGs in bsort_file
[SubCFG] Form SubCFGs in medfilt2d
sid # ls -la 1060318.cl*
-rw-r--r-- 1 root root  48015 Mar 12 11:00 1060318.cl
-rw-r--r-- 1 root root 404138 Mar 12 11:18 1060318.cl.pocl

but not on bookworm:

bookworm# poclcc 1060318.cl
bookworm# ls -la 1060318.cl*
-rw-r--r-- 1 1001 1001  48015 Mar 12 11:08 1060318.cl
-rw-r--r-- 1 root root 971490 Mar 12 11:13 1060318.cl.pocl

Andreas

1060318.cl.xz
Description: application/xz
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (Bug#1060318: Info received (Bug#1060318: Info received (Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12))))

2024-03-11 Thread PICCA Frederic-Emmanuel
A workaround for now is to use this 

POCL_WORK_GROUP_METHOD=cbs 


Jerome is helping also here trying to understand the problem...

https://github.com/silx-kit/silx/issues/4073

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (Bug#1060318: Info received (Bug#1060318: Info received (Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12))))

2024-03-11 Thread PICCA Frederic-Emmanuel
POCL_WORK_GROUP_METHOD=cbs python3 test.py

make it works

$ POCL_WORK_GROUP_METHOD=cbs python3 test.py 
[SubCFG] Form SubCFGs in bsort_all
[SubCFG] Form SubCFGs in bsort_horizontal
[SubCFG] Form SubCFGs in bsort_vertical
[SubCFG] Form SubCFGs in bsort_book
[SubCFG] Form SubCFGs in bsort_file
[SubCFG] Form SubCFGs in medfilt2d
[SubCFG] Form SubCFGs in medfilt2d

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (Bug#1060318: Info received (Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)))

2024-03-11 Thread PICCA Frederic-Emmanuel
With latest version  (PAS OK)

$ dpkg -l | grep pocl
ii  libpocl2-common5.0-2.1  
all  common files for the pocl library
ii  libpocl2t64:amd64  5.0-2.1  
amd64Portable Computing Language library
ii  pocl-opencl-icd:amd64  5.0-2.1  
amd64pocl ICD

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12))

2024-03-11 Thread PICCA Frederic-Emmanuel
Debian12 (OK)

$ dpkg -l | grep pocl
ii  libpocl2:amd64   3.1-3+deb12u1  
  amd64Portable Computing Language library
ii  libpocl2-common  3.1-3+deb12u1  
  all  common files for the pocl library
ii  pocl-opencl-icd:amd643.1-3+deb12u1  
  amd64pocl ICD


unstable (NOT OK)

$ dpkg -l | grep pocl
ii  libpocl2:amd64 5.0-2
amd64Portable Computing Language library
ii  libpocl2-common5.0-2
all  common files for the pocl library
ii  pocl-opencl-icd:amd64  5.0-2
amd64pocl ICD

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12))

2024-03-11 Thread PICCA Frederic-Emmanuel
On Debian12 it works out of the box

$ POCL_DEBUG=1 python3 test.py 
[2024-03-11 10:05:31.837738936]POCL: in fn pocl_install_sigfpe_handler at line 
229:
  |   GENERAL |  Installing SIGFPE handler...
[2024-03-11 10:05:31.868890390]POCL: in fn POclCreateCommandQueue at line 98:
  |   GENERAL |  Created Command Queue 3 (0x1ee13c0) on device 0
[2024-03-11 10:05:31.868917030]POCL: in fn POclCreateContext at line 227:
  |   GENERAL |  Created Context 2 (0x1ee0e40)
[2024-03-11 10:05:31.868966549]POCL: in fn POclCreateCommandQueue at line 98:
  |   GENERAL |  Created Command Queue 4 (0x1f31f10) on device 0
[2024-03-11 10:05:31.874596495]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s8_to_float (0x1fc5540)
[2024-03-11 10:05:31.874606285]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u8_to_float (0x1fc5610)
[2024-03-11 10:05:31.874617005]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s16_to_float (0x1fc5730)
[2024-03-11 10:05:31.874622275]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u16_to_float (0x1f81e70)
[2024-03-11 10:05:31.874632075]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u32_to_float (0x1f81fb0)
[2024-03-11 10:05:31.874638955]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s32_to_float (0x1f820f0)
[2024-03-11 10:05:31.874646635]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections (0x1f82230)
[2024-03-11 10:05:31.874654714]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections2 (0x1f82590)
[2024-03-11 10:05:31.874663744]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections3Poisson (0x1f82990)
[2024-03-11 10:05:31.874669284]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections3 (0x1f82d90)
[2024-03-11 10:05:31.874673814]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_all (0x201ded0)
[2024-03-11 10:05:31.874681154]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_horizontal (0x201e010)
[2024-03-11 10:05:31.874685604]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_vertical (0x201e150)
[2024-03-11 10:05:31.874691454]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_book (0x201e290)
[2024-03-11 10:05:31.874699564]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_file (0x201e3d0)
[2024-03-11 10:05:31.874709654]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel medfilt2d (0x201e510)
[2024-03-11 10:05:31.877001426]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s8_to_float (0x1fdf150)
[2024-03-11 10:05:31.877011365]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u8_to_float (0x20103f0)
[2024-03-11 10:05:31.877019735]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s16_to_float (0x1f60f90)
[2024-03-11 10:05:31.877025545]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u16_to_float (0x1f61060)
[2024-03-11 10:05:31.877030655]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel u32_to_float (0x1f5f1f0)
[2024-03-11 10:05:31.877038395]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel s32_to_float (0x1f5f310)
[2024-03-11 10:05:31.877043475]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections (0x1f60500)
[2024-03-11 10:05:31.877055965]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections2 (0x200efa0)
[2024-03-11 10:05:31.877061275]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections3Poisson (0x200f3a0)
[2024-03-11 10:05:31.877064514]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel corrections3 (0x200f7a0)
[2024-03-11 10:05:31.877071304]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_all (0x200fc20)
[2024-03-11 10:05:31.877079984]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_horizontal (0x200fd60)
[2024-03-11 10:05:31.877087744]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_vertical (0x1f613b0)
[2024-03-11 10:05:31.877094244]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_book (0x1f614f0)
[2024-03-11 10:05:31.877098614]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel bsort_file (0x1f61630)
[2024-03-11 10:05:31.877102884]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel medfilt2d (0x1f61770)
[2024-03-11 10:05:31.877723934]POCL: in fn POclCreateKernel at line 138:
  |   GENERAL |  Created Kernel medfilt2d (0x1f61e00)
[2024-03-11 10:05:31.878064028]POCL: in fn POclSetKernelArg at line 107:
  |   GENERAL |  Kernel   

Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)

2024-03-10 Thread PICCA Frederic-Emmanuel
We already had the warning message

[2024-03-10 14:26:18.189651850]POCL: in fn void 
appendToProgramBuildLog(cl_program, unsigned int, std::string&) at line 111:
  | ERROR |  warning: 
/home/picca/.cache/pocl/kcache/tempfile_msXjLw.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_msXjLw.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_msXjLw.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_msXjLw.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:26:18.195708864]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:26:20.314065808]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/LK/MONFDAKCFIMDEBOPEIHEOILBLCLBMGGNLPDID/program.bc.
/usr/lib/python3/dist-packages/pyopencl/cache.py:417: CompilerWarning: 
From-source build succeeded, but resulted in non-empty logs:
Build on  succeeded, but said:

warning: /home/picca/.cache/pocl/kcache/tempfile_msXjLw.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_msXjLw.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_msXjLw.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_msXjLw.cl:1266:26: AVX vector 
argument of type '__private float8' (vector of 8 'float' values) without 'avx' 
enabled changes the ABI

  prg.build(options_bytes, [devices[i] for i in to_be_built_indices])

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)

2024-03-10 Thread PICCA Frederic-Emmanuel
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=1 -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__openc
 l_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_ballo
 
t,+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

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net

Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)

2024-03-10 Thread PICCA Frederic-Emmanuel
Here a log with POCL_DEBUG=all

picca@cush:/tmp$ python3 test.py 
[2024-03-10 14:22:19.462191847]POCL: in fn pocl_install_sigfpe_handler at line 
265:
  |   GENERAL |  Installing SIGFPE handler...
[2024-03-10 14:22:19.475550217]POCL: in fn POclCreateCommandQueue at line 103:
  |   GENERAL |  Created Command Queue 3 (0x27d55b0) on device 0
[2024-03-10 14:22:19.475690904]POCL: in fn void 
pocl_llvm_create_context(cl_context) at line 592:
  |  LLVM |  Created context 2 (0x27d4960)
[2024-03-10 14:22:19.475732695]POCL: in fn POclCreateContext at line 232:
  |   GENERAL |  Created Context 2 (0x27d4960)
[2024-03-10 14:22:19.475822461]POCL: in fn POclRetainContext at line 32:
  | REFCOUNTS |  Retain Context 2 (0x27d4960), Refcount: 2
[2024-03-10 14:22:19.475856682]POCL: in fn POclCreateCommandQueue at line 103:
  |   GENERAL |  Created Command Queue 4 (0x27d77b0) on device 0
[2024-03-10 14:22:19.492655607]POCL: in fn POclRetainContext at line 32:
  | REFCOUNTS |  Retain Context 2 (0x27d4960), Refcount: 3
[2024-03-10 14:22:19.492795776]POCL: in fn compile_and_link_program at line 718:
  |  LLVM |  building program with options -I 
/usr/lib/python3/dist-packages/pyopencl/cl
[2024-03-10 14:22:19.492824004]POCL: in fn compile_and_link_program at line 755:
  |  LLVM |  building program for 1 devs with options -I 
/usr/lib/python3/dist-packages/pyopencl/cl
[2024-03-10 14:22:19.492847621]POCL: in fn compile_and_link_program at line 759:
  |  LLVM | BUILDING for device: cpu
[2024-03-10 14:22:19.497354940]POCL: in fn POclRetainContext at line 32:
  | REFCOUNTS |  Retain Context 2 (0x27d4960), Refcount: 4
[2024-03-10 14:22:19.497919687]POCL: in fn POclRetainContext at line 32:
  | REFCOUNTS |  Retain Context 2 (0x27d4960), Refcount: 5
[2024-03-10 14:22:19.497963205]POCL: in fn POclCreateBuffer at line 292:
  |MEMORY |  Created Buffer 6 (0x2801b90), MEM_HOST_PTR: (nil), 
device_ptrs[0]: (nil), SIZE 4, FLAGS 1 
[2024-03-10 14:22:19.498110078]POCL: in fn pocl_driver_alloc_mem_obj at line 
428:
  |MEMORY |  Basic device ALLOC 0x27f7380 / size 4 
[2024-03-10 14:22:19.498162446]POCL: in fn POclRetainCommandQueue at line 35:
  | REFCOUNTS |  Retain Command Queue 4 (0x27d77b0), Refcount: 2
[2024-03-10 14:22:19.498187844]POCL: in fn pocl_create_event at line 527:
  |EVENTS |  Created event 1 (0x27e4e60) Command write_buffer
[2024-03-10 14:22:19.498211789]POCL: in fn pocl_create_command_struct at line 
648:
  |EVENTS |  event pointer provided
[2024-03-10 14:22:19.498232543]POCL: in fn pocl_create_command_struct at line 
668:
  |EVENTS |  Created immediate command struct: CMD 0x27e4d50 (event 1 / 
0x27e4e60, type: write_buffer)
[2024-03-10 14:22:19.498259772]POCL: in fn pocl_command_enqueue at line 1290:
  |EVENTS |  In-order Q; adding event syncs
[2024-03-10 14:22:19.498280767]POCL: in fn pocl_command_enqueue at line 1335:
  |EVENTS |  Pushed Event 1 to CQ 4.
[2024-03-10 14:22:19.498303076]POCL: in fn pocl_update_event_queued at line 
2177:
  |EVENTS |  Event queued: 1
[2024-03-10 14:22:19.498326609]POCL: in fn pocl_update_event_submitted at line 
2197:
  |EVENTS |  Event submitted: 1
[2024-03-10 14:22:19.498451579]POCL: in fn pocl_update_event_running_unlocked 
at line 2216:
  |EVENTS |  Event running: 1
[2024-03-10 14:22:19.498484119]POCL: in fn pocl_update_event_finished at line 
2368:
  |EVENTS |  cpu: Command complete, event 1
[2024-03-10 14:22:19.498509038]POCL: in fn pocl_exec_command at line 343:
  |TIMING |   >>>32.497  usEvent Write Buffer  
[2024-03-10 14:22:19.498531904]POCL: in fn POclReleaseMemObject at line 53:
  | REFCOUNTS |  Release Memory Object 6 (0x2801b90), Refcount: 1
[2024-03-10 14:22:19.498562333]POCL: in fn POclReleaseEvent at line 39:
  | REFCOUNTS |  Release Event 1 (0x27e4e60), Refcount: 2
[2024-03-10 14:22:19.498656679]POCL: in fn POclCreateKernel at line 133:
  |   GENERAL |  Created Kernel check_atomic32 (0x27f74c0)
[2024-03-10 14:22:19.501056049]POCL: in fn POclRetainContext at line 32:
  | REFCOUNTS |  Retain Context 2 (0x27d4960), Refcount: 6
[2024-03-10 14:22:19.501139297]POCL: in fn POclReleaseContext at line 53:
  | REFCOUNTS |  Release Context 2 (0x27d4960), Refcount: 5
[2024-03-10 14:22:19.503196833]POCL: in fn POclSetKernelArg at line 107:
  |   GENERAL |  Kernel  check_atomic32 || SetArg idx   0 || int* || Local 
0 || Size  8 || Value 0x7fff7b47ae20 || Pointer 0x2801b90 || 
*(uint32*)Value:0 || *(uint64*)Value:0 ||
Hex Value:  901B8002 
[2024-03-10 14:22:19.503275428]POCL: in fn pocl_kernel_calc_wg_size at line 182:
  |   GENERAL |  Preparing kernel check_atomic32 with local size 32 x 1 x 1 
group sizes 32 x 1 x 1...
[2024-03-10 14:22:19.503311773]POCL: in fn POclRetainCommandQueue at line 35:
  | REFCOUNTS |  Retain Command Queue 4 (0x27d77b0), Refcount: 3
[2024-03-10 14:22:19.503350256]POCL: in fn pocl_create_event at line 527:
  |EVENTS |  Created event 2 

Bug#1060318: Info received (silx: autopkgtest failure with Python 3.12)

2024-03-10 Thread PICCA Frederic-Emmanuel
Here a small script which trigger the errorfrom silx.image import medianfilter
import numpy

IMG = numpy.arange(1.0).reshape(100, 100)

KERNEL = (1, 1)

res = medianfilter.medfilt2d(
image=IMG,
kernel_size=KERNEL,
engine="opencl",
)
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers