ROCm 5.4.4 has been released on Mar 22nd, and version 5.5.1 is available since May 24th, while the relevant Gentoo ebuilds are still stuck at 5.4.3. Updating the ebuilds to 5.4.4 should be trivial, but 5.5.1 has introduced breaking changes, which require some deeper adjustments. Qwinci from this github issue got most of the ebuilds working, while I patched rocm-device-libs: https://github.com/RadeonOpenCompute/ROCm-Device-Libs/issues/94 What hasn't been adjusted yet, are those optional tools: dev-util/rocm_bandwidth_test dev-util/roctracer dev-util/rocprofiler These optional libraties are stuck at 5.1.3, but aren't needed to just get the runtime working: sci-libs/hipBLAS sci-libs/hipCUB sci-libs/hipFFT sci-libs/hipSPARSE sci-libs/rocBLAS sci-libs/rocFFT sci-libs/rocPRIM sci-libs/rocRAND sci-libs/rocSOLVER sci-libs/rocSPARSE sci-libs/rocThrust I'll provide an attachment with all the ebuilds that have been adjusted. Those are enough to run luxmark 3.1 w/ OpenCL on my gfx1030 (6800XT) and get HIP acceleration in Blender on Qwuinci's machine. Reproducible: Always
Created attachment 863826 [details] 5.5.1 ebuilds for the core runtime This archive contains the ebuilds and new patches for: dev-libs/rocm-comgr dev-libs/rocm-device-libs dev-libs/roc-opencl-runtime dev-libs/rocr-runtime dev-libs/roct-thunk-interface dev-util/hip dev-util/rocminfo dev-util/rocm-cmake dev-util/rocm-smi They do compile and work, although I haven't tested that many different applications or any other hardware than Navi21. It would be nice if those could be pushed to the main Gentoo repo. Thank you!
https://github.com/RadeonOpenCompute/ROCm/releases/tag/rocm-5.6.0 https://github.com/RadeonOpenCompute/ROCm-Device-Libs/releases/tag/rocm-5.6.0
I'm going to add the 5.5.1 builds to the FireBurn overlay for laziness You might want to get a pull request created on https://github.com/gentoo/gentoo/pulls to get these upstream
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82c9c796475c8d55d310405190c97a38f6d1c7e commit b82c9c796475c8d55d310405190c97a38f6d1c7e Author: Patrick Lauer <patrick@gentoo.org> AuthorDate: 2023-09-03 06:35:45 +0000 Commit: Patrick Lauer <patrick@gentoo.org> CommitDate: 2023-09-03 06:37:36 +0000 dev-util/hip: add 5.5.1 Closes: https://bugs.gentoo.org/908501 Signed-off-by: Patrick Lauer <patrick@gentoo.org> dev-util/hip/Manifest | 4 + dev-util/hip/files/hip-5.5.1-disable-Werror.patch | 18 +++ dev-util/hip/hip-5.5.1.ebuild | 152 ++++++++++++++++++++++ 3 files changed, 174 insertions(+)
I've added all the 5.5.1 ebuilds from the provided tarball where they worked. For 5.6.0 I think it's best to open a new bug to avoid having three different issues in one. Thanks for all the work!
Here are some 5.6.0 ebuilds that work for me (llama.cpp using hipBLAS on gfx1031 card), if anyone is interested: https://github.com/littlewu2508/gentoo/pull/2
5.7.0 has been released.
New bugs, please.