On Tue, Apr 20, 2021 at 10:39:53PM +0200, Maximilian Trummer wrote:
Hey, thanks for trying to package ROCm. I've tried running the AMD-provided ROCm package for SLES on Tumbleweed in the past, but the experience was frustrating.
As for your package, I'm not sure what the correct location of OpenCL loaders is. Mesa and pocl put theirs in "/usr/share/OpenCL/vendors",
I did this. See boo#1173005
yours puts it in "/etc/OpenCL/vendors".
The "clinfo" tool seems to only search in "/etc/OpenCL/vendors", so by default it doesn't even find Mesa's or pocl.
I'm pretty sure I've tested with clinfo. And I just verified with strace on current TW that clinfo checks first for /etc/OpenCL/vendors and then finds /usr/share/OpenCL/vendors/mesa.icd. Maybe you've tried with libOpenCL of nvidia driver.
clinfo also doesn't list AOMP which is in /etc/OpenCL/vendors already. I tested darktable and Blender, and they both couldn't find the AOMP OpenCL loader either...
Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------