gpo.zugaina.org

Search Portage & Overlays:

dev-libs/pocl

Portable Computing Language (an implementation of OpenCL)

Screenshots

  • pocl-7.2
    ~amd64
    accel +conformance cuda debug examples +hwloc memmanager server spirv test +llvm_slot_22 llvm_slot_18 llvm_slot_19 llvm_slot_20 llvm_slot_21

    View      Download      Browse     License: GPL-2   
    Overlay: pentoo
  • pocl-7.1
    amd64 ppc64
    accel +conformance cuda debug examples +hwloc memmanager server spirv test +llvm_slot_20 llvm_slot_18 llvm_slot_19 verify-sig

    View      Download      Browse     License: GPL-2   
    Overlay: gentoo
  • pocl-7.0-r3
    amd64 ppc64
    accel +conformance cuda debug examples +hwloc memmanager server spirv test +llvm_slot_20 llvm_slot_18 llvm_slot_19

    View      Download      Browse     License: GPL-2   
    Overlay: gentoo
  • pocl-7.0-r2
    amd64 ppc64
    accel +conformance cuda debug examples +hwloc memmanager spirv test +llvm_slot_20 llvm_slot_18 llvm_slot_19

    View      Download      Browse     License: GPL-2   
    Overlay: gentoo

ChangeLog

commit b454cc8896d0086049f3ecb2439a5084e8e95e6c
Author: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Date: Fri Oct 23 19:49:03 2026 -0400

dev-libs/pocl: add 7.2, on LLVM 22

Mesa, intel-graphics-compiler and rocm-comgr are on LLVM 22, but
::gentoo's pocl 7.1 is capped at LLVM 20 because of an LLVM 21 NVPTX bug.
When OpenGL and OpenCL load into the same process, as in gr-fosphor, the
two LLVMs merge their GNU_UNIQUE registries and crash in codegen. A loop
of GL->CL setups crashed 4 times in 60 with 7.1 and never with 7.2.

- LLVM_COMPAT 18..22: the CPU device supports 23, but CUDA stops at 22
- llvm-r2 instead of llvm-r1
- depend on lld: the CPU device links kernels in-process with lld when it
finds it at build time, and otherwise needs clang and the system linker
at runtime, so it was automagic
- opencl-headers is only needed to build: kernels compile and link with
/usr/include/CL, the clang binary and the system linker all removed
- drop libltdl, which pocl replaced with libdl long ago
- pass ENABLE_LTTNG with USE=debug, so the lttng-ust dep is used
- disable libjpeg-turbo, OpenCV and onnxruntime, which the built-in
kernels pick up automagically with -conformance (masked in our profile)
- drop verify-sig: 7.2 only signs the Windows installer, not the source
- ~amd64 only, as ppc64 is untested
- profile: keyword =dev-libs/pocl-7.2*, versioned so a newer pocl can't
move it to another LLVM without a look