Debian Patches

Status for rocr-runtime/6.4.3+dfsg-1

Patch Description Author Forwarded Bugs Origin Last update
0001-link-to-drm_amdgpu.patch link to drm_amdgpu
libhsa-runtime64 uses some symbols from libdrm_amdgpu, such as
amdgpu_query_gpu_info.
Cordell Bloor <cgmb@slerp.xyz> no 2024-01-09
0002-remove-libhsa-amd-aqlprofile64.so-loading.patch remove libhsa-amd-aqlprofile64.so loading
During the initialization of libhsa-runtime64, the library will attempt
to load libhsa-amd-aqlprofile64.so. The aqlprofile library is an
optional proprietary extension for profiling and is therefore not
available in the Debian repos. The failure to find this library results
in the warning:

LoadLib(libhsa-amd-aqlprofile64.so) failed: libhsa-amd-aqlprofile64.so: cannot open shared object file: No such file or directory

There is not actually anything wrong or unexpected with this file being
missing, so this warning is not appropriate.
Cordell Bloor <cgmb@slerp.xyz> not-needed debian 2022-11-24
0003-expand-endian-detection.patch expand endian detection
The endianness detection logic in hsa/hsa.h fails on arm64 and ppc64el, which
leads to build failures in rccl on those platforms.
Cordell Bloor <cgmb@slerp.xyz> no debian 2024-03-15
0004-extend-isa-compatibility-check.patch extend isa compatibility check
There are a number of ISAs that are identical to each other, but are
not being treated as compatible by the upstream rocr-runtime. This
more sophisticated ISA compatibility check greatly reduces the number
of code objects that must be included in a binary in order to support
a wide variety of processors.

This change to the rocr-runtime is useless on its own, but when
combined with matching changes within rocclr and hipamd, it should
always load compatible kernels whenever possible, threreby replacing
the infamous HSA_OVERRIDE_GFX_VERSION variable for running compatible
binaries.
Cordell Bloor <cgmb@slerp.xyz> no 2022-07-13
0006-initialize-chip-revision.patch initialize chip revision
This patch fixes assertions on Rembrandt hardware. There are checks
that the chip revision is valid and will fail without this patch. I'm
not sure how this chip revision data gets initialized for other
architectures, but this is where the data is initialized for Rembrandt.
Cordell Bloor <cgmb@slerp.xyz> no debian 2024-03-17
On-non-x86-use-alternative-to-x86-intrinsic-__mm_pause.patch On non-x86, use alternative to x86 intrinsic __mm_pause
Cargo-culted from various other solutions that I could find.

Not forwarded yet, as this needs double-checking. For example, on my
first pass, I overlooked that this might also be built by MSVC.
Christian Kastner <ckk@debian.org> no 2024-10-18
0007-shared-libhsakmt.patch shared libhsakmt
Make libhsakmt into a shared library.
Cordell Bloor <cgmb@debian.org> not-needed 2025-08-26
0008-fix-pkgconfig-path.patch fix pkgconfig path
fix `pkgconfig` path
Xuanteng Huang <xuanteng.huang@outlook.com> not-needed 2024-08-18
0009-fix-missing-symbols.patch fix missing symbols
The hsaKmtCreateQueueExt and hsaKmtRegisterGraphicsHandleToNodesExt
symbols were added between 6.2 and 6.4 but were not added to the
symbol version script. Upstream doesn't want to maintain libhsakmt
as separate from rocr-runtime, so perhaps they're not maintaining
the infrastructure for shared library builds anymore? It might be
worth considering dropping the libhsakmt1 package entirely.
Cordell Bloor <cgmb@debian.org> no 2025-09-12
0010-fix-missing-stdint.h.patch fix missing stdint.h
This file uses uint64_t but doesn't include the header that declares
that type, causing build failures with GCC 15.
Cordell Bloor <cgmb@debian.org> no debian 2025-09-12
0011-remove-gfx940-and-gfx941-support.patch [PATCH] rocr: Remove gfx940 and gfx941 support David Yat Sin <David.YatSin@amd.com> not-needed 2025-02-19

All known versions for source package 'rocr-runtime'

Links