On Sun, 10 Mar 2024 15:21:34 +0100 (CET) PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> 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