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
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).