Hi folks,
I've reviewed, merged and updated Xuanteng's update of the HIP
runtime [1]. This is the final upstream release of ROCm that was
based on LLVM 17. It is a stepping stone to the ROCm 6.4 update,
which will update the compiler to LLVM 19.
There have been a number of binary package additions and removals. The libamdhip64-5 and libhiprtc-builtins5 packages have been replaced by libamdhip64-6 and libhiprtc-builtins6, respectively. The libhiprtc6 package has been added to provide the hiprtc::hiprtc target (Bug #1088540). The hipcc package has been removed as it was moved upstream and is now part of src:rocm-llvm. The hip-utils package has been added to provide the other rocm-hipamd utilities that were previously part of the hipcc package. The libamdhip64-doc package has been removed because it has been broken for a long time (as reported in Bug #1099403) and the effort required to fix it is too much for me to handle right now.
I've tested the package by building src:rocrand. It completes 99% of the build, but fails because there is one test in hiprand that relies on the __HIP_PLATFORM_HCC__ macro that was removed in ROCm 6.0.
The version number is 6.1.5-1~exp2 as I saw that 6.1.5-1~exp1 had already been tagged in the salsa repo. That version of rocm-hipamd doesn't seem to have ever been uploaded (although reportbug suggests checking if bugs are fixed in 6.1.5-1~exp1 for some reason). In any case, I chose a larger version number to minimize confusion.
I am looking for a sponsor for my package "rocm-hipamd": * Package name : rocm-hipamd Version : 6.1.5-1~exp2 * URL : https://github.com/ROCm/clr * License : Khronos, Expat, Apache-2 * Vcs : https://salsa.debian.org/rocm-team/rocm-hipamd Section : devel The source builds the following binary packages: libamdhip64-6 - HIP runtime for AMD GPUs - library libamdhip64-dev - HIP runtime for AMD GPUs - headers libhiprtc6 - HIP runtime compilation library libhiprtc-builtins6 - HIP runtime compilation library - builtins hip-utils - utilities for HIP language development rocm-opencl-icd - AMD ROCm implementation of the OpenCL API - ICD runtime To access further information about this package, please visit the following URL: https://mentors.debian.net/package/rocm-hipamd/ Alternatively, you can download the package with 'dget' using this command: dget -x https://mentors.debian.net/debian/pool/main/r/rocm-hipamd/rocm-hipamd_6.1.5-1~exp2.dsc Changes since the last upload: rocm-hipamd (6.1.5-1~exp2) experimental; urgency=medium . * Update package descriptions * Add hip-utils package containing scripts that had previously been in the hipcc binary package but remained part of src:rocm-hipamd even after hipcc was moved to src:rocm-llvm * Patch roc-obj to use the same version of LLVM as hipcc * Update standards version to 4.7.2. No changes required. * Mark libhiprtc6 as Multi-Arch: same * Move libhiprtc6 development files to libamdhip64-dev * Add symbol tracking for libhiprtc6 * d/control: remove unused librocm-smi-dev from Build-Depends * Remove libamdhip64-doc package. The libamdhip64-doc package no longer includes much useful information and it would require significant effort to fix that (Closes: #1099403) . [ Christian Bayle ] * Add myself to uploaders and d/copyright * Update symbols files to 6.1.5 . [ Xuanteng Huang ] * New upstream version 6.1.5 * Update dependencies for new upstream version * Refresh patches for upstream source changes * Remove hipcc binary package. The hipcc package is now provided by src:rocm-llvm * Bump libamdhip64 and libhiprtc-buildins soversion from 5 to 6 * Change rocm-opencl-icd relationship with other OpenCL packages from Breaks to Conflicts * Remove HIP compiler autopkgtests as they are now included in rocm-llvm * Add myself to uploaders * Add a new binary package libhiprtc6 to provide libhiprtc.so.6 for CMake target hiprtc::hiprtc Regards, -- Cordell Bloor [1]: https://salsa.debian.org/rocm-team/rocm-hipamd/-/merge_requests/6