POCL is not working (Portable Computing Language - an OpenCL implementation)

POCL: https://software.opensuse.org/package/pocl

After install utility clinfo cannot find presence of POCL.

File pocl.icd written in /usr/share/OpenCL/vendors/, expected in /etc/OpenCL/vendors/.
POCL files written in /usr/share/pocl/, expected in /usr/lib64/pocl/something.

Output of clpeak:


:~> clpeak
Platform: Portable Computing Language
Device: pthread-AMD Ryzen 3 3200G with Radeon Vega Graphics
Driver version : 1.5 (Linux x64)
Compute units : 4
Clock frequency : 3600 MHz
1 error generated.
Build Log: error: <built-in>:1:10: ‘/usr/lib64/…/…/share/pocl/include/pocl_types.h’ file not found

Bug filed: https://bugzilla.opensuse.org/show_bug.cgi?id=1182054

Hi
Is pocl-devel installed?


 clpeak

Platform: NVIDIA CUDA
  Device: GeForce GT 1030
    Driver version  : 460.39 (Linux x64)
    Compute units   : 3
    Clock frequency : 1544 MHz
....
Platform: AMD Accelerated Parallel Processing
  Device: gfx804
    Driver version  : 3180.7 (Linux x64)
    Compute units   : 8
    Clock frequency : 1183 MHz
....

Yes, installed.

pocl-devel - Development files for the Portable Computing Language

/usr/lib64/libpocl.so
/usr/lib64/pkgconfig/pocl.pc

Hi
This is the version from the Science repository? If so it’s failing to build anyway…

According to the Build (from source) documentation,
http://portablecl.org/docs/html/install.html

Source:
https://github.com/pocl/pocl

There may be a longstanding issue building for RHEL, but from the description is almost trivial.
So, don’t know if there is a real roadblock or not.

From that page though,
It might be only moderately difficult to compile from source if difficult at all…
It looks like the main issue might be complexity, but most of the various options relate to packaging which if you decide to build on your own machine wouldn’t be relevant.
If you try to compile, use the Fedora list of dependencies, but use our zypper command, not the Fedora dnf.

Like any other development environment,
I don’t recommend installing on a physical machine unless there is a reason to do so,my SOP is to do everything in virtual machines because they’re isolated(won’t conflict with anything else and can be kept pure), and disposable (throw it away and start over if you wish without having to re-install the base operating system).

TSU

Hi
It’s likely the issue with the /usr change… it all works here in Tumbleweed…

POCL 1.6 is failing for Leap 15.2, ready for Leap 15.3 or TW.
POCL 1.5 is available for Leap 15.2.