I made a thread late last year inquirying about interest in ROCm packaging; in that time
I've introduced a few packages amd updated a few existing packages to the latest
version.
Right now, Fedora is just short of making good use of ROCm, as it needs a frontend like
OpenCL or HIP. I have a COPR where I've been experimenting on x86_64, aarch64, and
ppc64le:
https://copr.fedorainfracloud.org/coprs/mystro256/rocm-opencl/
I would like to know if anyone is interested in maintaining, testing, or providing
feedback on these packages. They're a bit rough around the edges, but ultimately I
don't have the ability to be a primary maintainer for these. With that said, I
encourage anyone to freely take my work as a starting point. I would also be intested in
non-commitally helping keep packages up to date if they land in Fedora.
If you missed the original thread, I am an AMD employee, but my involvement in Fedora and
packaging ROCm in Fedora is completely unrelated to my employment. I've been tinkering
with rocm-opencl to make it better to package and I have a few patches in my COPR that
I've been informally sharing with the developers. I didn't try to enable 32bit
OpenCL given that 32bit has been falling out of favour, but I don't mind attempting to
build it if there's a use for it.
HIP has a few more complicate issues to deal with, such as this:
https://src.fedoraproject.org/rpms/clang/pull-request/156
I think the one thing that bugs me the most is the bundling. Both of them bundle a static
library called "ROCclr" and some older OpenCL headers. HIP also bundles some of
rocm-opencl, along with a khronos header. If anyone is interested, I would like some
feedback on how to tackle this.
Anyway thanks for reading :)