Bug#1118212: transition: rocm-hipamd
- To: Cordell Bloor <cgmb@slerp.xyz>, 1118212@bugs.debian.org
- Subject: Bug#1118212: transition: rocm-hipamd
- From: Sebastian Ramacher <sramacher@debian.org>
- Date: Mon, 1 Dec 2025 22:25:59 +0100
- Message-id: <[🔎] aS4H59pzbYD9jfWt@ramacher.at>
- Reply-to: Sebastian Ramacher <sramacher@debian.org>, 1118212@bugs.debian.org
- In-reply-to: <69829aec-7790-4301-85b2-0a7ee24b7238@slerp.xyz>
- References: <853f3f92-2a53-483f-a75d-325ea790ef90@slerp.xyz> <176064289029.4078366.9825236842704056922.reportbug@scorbunny> <6cac0d4a-bcfb-4e16-a69a-52848e7d068f@slerp.xyz> <a040fcf3-5af9-482d-93ac-0df46f2dffac@debian.org> <1cb9790e-f5af-4356-b53b-e6b8b90097b3@slerp.xyz> <c871441d-3b0d-4392-ba5f-59db6398bfae@debian.org> <8f2e110a-39f9-406f-9781-71eb355fdde0@slerp.xyz> <3e167d5b-1882-481a-b18b-cbc20a76b23c@slerp.xyz> <176064289029.4078366.9825236842704056922.reportbug@scorbunny> <69829aec-7790-4301-85b2-0a7ee24b7238@slerp.xyz> <176064289029.4078366.9825236842704056922.reportbug@scorbunny>
Hi Cory
On 2025-11-28 15:02:10 -0700, Cordell Bloor wrote:
> I assume this is the place where I should be requesting approval to upload
> rocm-hipamd 5.7.1-7+deb14u1 to testing-proposed-updates. If I should be using
> another format or sending it elsewhere, please let me know and I will make the
> correction.
tpu is usually reserved issues that cannot or are hard to be solved via
unstable. This does not seem to be the case here. From the thread I
understand that the issue is fixed in rocm-hipamd in unstable -- but
please feel free to correct me if I understood that incorrectly. In that
case, we can schedule the autopkgtests with the right combination of
packages or we add the appropriate hints to ignore the autopkgtests. I
opted for the later.
This leaves #1118939 that blocks migration to testing. What is the
status of this bug?
Cheers
>
> [ Reason ]
>
> This update fixes #1118618, which is an incompatibility between newer
> versions of libhsa-runtime-1 and libamdhip64-5, as well as between
> libhsa-runtime-1 and rocm-opencl-icd. Newer versions of libhsa-runtime-1
> reflect this by including a Breaks declaration for libamdhip64-5 and
> older versions of rocm-opencl-icd, but this is making the transition to
> libamdhip64-6 difficult.
>
> This fix to libamdhip64-5 would allow the upload of a new version of libhsa-runtime-1
> with a maximum version on the breaks declaration, thereby allowing libhsa-runtime-1
> to migrate to testing and unblocking src:rocm-hipamd.
>
> This update also fixes missing dependencies in the rocm-hipamd autopkgtests.
> The autopkgtests invoke clang++-17 but the clang-17 package was only installed
> because hipcc depended on it. The rocm-hipamd autopkgtests thus begun to fail
> when hipcc updated its dependency on clang-17 to clang-21. The clang-17
> functionality being tested by the rocm-hipamd autopkgtests works even after
> hipcc is updated to clang-21, as long as clang-17 is actually installed.
>
> [ Impact ]
>
> The libhsa-runtime-1, libamdhip64-5 and rocm-opencl-icd packages are dependencies
> of nearly all packages on testing maintained by the Debian ROCm Team. The
> incompatibility makes it difficult to compare old and new versions of packages,
> and has made the transition very disruptive.
>
> [ Tests ]
>
> I've used librocsparse1-tests as the test for libamdhip64-5 and clpeak as the test
> for rocm-opencl-icd. I've attached a test log (edited for length) that shows that
> the updated src:rocm-hipamd package works on testing with existing package versions,
> will continue to work on testing once libhsa-runtime-1 updates its breaks annotations
> in a new upload (planned for src:rocr-runtime 6.4.3+dfsg-5).
>
> I then do a quick sanity check showing that these tests crashed when using the existing
> version of libamdhip64-5/rocm-opencl-icd on testing together with libhsa-runtime-1 6.4.3+dfsg
> from before the breaks annotations were added. Then, I update only libamdhip64-5 and
> rocm-opencl-icd with this proposed change to show that this change fixes the original
> justification for the breakage.
>
> [ Risks ]
>
> This change is small and the package version will quickly be replaced when
> the src:rocm-hipamd transition is completed.
>
> As shown by the attached debdiff, this change is the removal of an unnecessary check
> (using a patch backported from upstream) and the explicit declaration a dependency
> on clang-17 packages added to the d/t/control file.
>
> [ Checklist ]
> [x]*all* changes are documented in the d/changelog
> [x] I reviewed all changes and I approve them
> [x] attach debdiff against the package in testing
> [x] the issue is verified as fixed in unstable
>
> [ Changes ]
>
> * Add clang-17 and rocm-device-libs-17 to Depends in d/t/control
> * Add d/p/0042-support-generic-isas.patch to remove a check that the current device only supports one ISA
>
> Sincerely,
> Cory Bloor
>
> diff -Nru rocm-hipamd-5.7.1/debian/changelog rocm-hipamd-5.7.1/debian/changelog
> --- rocm-hipamd-5.7.1/debian/changelog 2025-10-04 02:33:54.000000000 -0600
> +++ rocm-hipamd-5.7.1/debian/changelog 2025-11-27 19:05:43.000000000 -0700
> @@ -1,3 +1,14 @@
> +rocm-hipamd (5.7.1-7+deb14u1) forky; urgency=medium
> +
> + * Add clang-17 and rocm-device-libs-17 to autopkgtest dependencies
> + to ensure that the tests that invoke clang++-17 will continue to
> + pass once all rocm-hipamd dependencies have been updated to newer
> + versions of clang
> + * Add d/p/0042-support-generic-isas.patch to fix incompatibility
> + with libhsa-runtime64-1 (>= 6.4.3+dfsg-1) (Closes: #1118618)
> +
> + -- Cordell Bloor <cgmb@slerp.xyz> Thu, 27 Nov 2025 19:05:43 -0700
> +
> rocm-hipamd (5.7.1-7) unstable; urgency=medium
>
> * Add d/p/0041-inline-bf16-functions.patch to mark functions defined
> diff -Nru rocm-hipamd-5.7.1/debian/patches/0042-support-generic-isas.patch rocm-hipamd-5.7.1/debian/patches/0042-support-generic-isas.patch
> --- rocm-hipamd-5.7.1/debian/patches/0042-support-generic-isas.patch 1969-12-31 17:00:00.000000000 -0700
> +++ rocm-hipamd-5.7.1/debian/patches/0042-support-generic-isas.patch 2025-11-27 19:05:43.000000000 -0700
> @@ -0,0 +1,30 @@
> +commit 3387f48b5625a214bdfc1778ed080abaa5fc6504
> +Author: Konstantin Zhuravlyov <kzhuravl_dev@outlook.com>
> +Date: Wed Oct 30 15:33:36 2024 -0400
> +
> + SWDEV-428601 - Don't enforce 1 isa per device in rocm backend
> +
> + - Device can have multiple isas as per HSA spec
> + - First isa is most specific one, so this change is sort of a NOP
> +
> + Change-Id: Ib332af21745f2e6a7c25db8986bf7717501059bc
> +
> +Applied-Upstream: https://github.com/ROCm/clr/commit/3387f48b5625a214bdfc1778ed080abaa5fc6504
> +Debian-Bug: https://bugs.debian.org/1118618
> +diff --git a/rocclr/device/rocm/rocdevice.cpp b/rocclr/device/rocm/rocdevice.cpp
> +index 648dfd217..75687e755 100644
> +--- a/rocclr/device/rocm/rocdevice.cpp
> ++++ b/rocclr/device/rocm/rocdevice.cpp
> +@@ -674,11 +674,6 @@ bool Device::create() {
> + pciDeviceId_);
> + return false;
> + }
> +- if (agent_isas.count != 1) {
> +- LogPrintfError("HSA device %s (PCI ID %x) has %u ISAs but can only support a single ISA",
> +- agent_name, pciDeviceId_, agent_isas.count);
> +- return false;
> +- }
> +
> + uint32_t isa_name_length = 0;
> + if (HSA_STATUS_SUCCESS !=
> +
> diff -Nru rocm-hipamd-5.7.1/debian/patches/series rocm-hipamd-5.7.1/debian/patches/series
> --- rocm-hipamd-5.7.1/debian/patches/series 2025-10-04 00:30:45.000000000 -0600
> +++ rocm-hipamd-5.7.1/debian/patches/series 2025-11-27 19:05:43.000000000 -0700
> @@ -21,3 +21,4 @@
> 0039-fix-roc-obj-help.patch
> 0040-self-sufficient-bf16-header.patch
> 0041-inline-bf16-functions.patch
> +0042-support-generic-isas.patch
> diff -Nru rocm-hipamd-5.7.1/debian/tests/control rocm-hipamd-5.7.1/debian/tests/control
> --- rocm-hipamd-5.7.1/debian/tests/control 2025-10-03 01:13:13.000000000 -0600
> +++ rocm-hipamd-5.7.1/debian/tests/control 2025-11-27 19:05:43.000000000 -0700
> @@ -1,3 +1,3 @@
> Tests: clang, cmake-hip-config, cmake-hip-lang, g++, gcc, hipconfig, hipcc
> -Depends: @, cmake, make, gcc, g++, rocminfo (>= 5.7.1~)
> +Depends: @, cmake, make, gcc, g++, rocminfo (>= 5.7.1~), clang-17, rocm-device-libs-17
> Restrictions: superficial, skippable
> cgmb@scorbunny:~/builds/rocm-hipamd$ docker run -it --device=/dev/dri --device=/dev/kfd --security-opt seccomp=unconfined --group-add=video --group-add=$(getent group render | cut -d: -f3) --volume $HOME:/mnt/home debian:testing
> root@94627f0cc2a9:/# cd ~
> root@94627f0cc2a9:~# apt update && apt install rocminfo
> Get:1 http://deb.debian.org/debian testing InRelease [148 kB]
> Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
> Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 Packages [9683 kB]
> Fetched 9920 kB in 1s (10.5 MB/s)
> 4 packages can be upgraded. Run 'apt list --upgradable' to see them.
> Installing:
> rocminfo
>
> Installing dependencies:
> ca-certificates libdrm-common libexpat1 libhsa-runtime64-1 libncursesw6 libpython3-stdlib libreadline8t64 netbase pciutils python3.13
> kmod libdrm2 libffi8 libhsakmt1 libnuma1 libpython3.13-minimal libsqlite3-0 openssl python3 python3.13-minimal
> libdrm-amdgpu1 libelf1t64 libgpm2 libkmod2 libpci3 libpython3.13-stdlib media-types pci.ids python3-minimal readline-common
>
> Suggested packages:
> gpm bzip2 wget | curl | lynx python3-doc python3-tk python3-venv python3.13-venv python3.13-doc binutils binfmt-support readline-doc
>
> Summary:
> Upgrading: 0, Installing: 31, Removing: 0, Not Upgrading: 4
> Download size: 10.7 MB
> Space needed: 36.9 MB / 764 GB available
>
> Continue? [Y/n] y
> Get:1 http://deb.debian.org/debian testing/main amd64 libexpat1 amd64 2.7.3-1 [112 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 libpython3.13-minimal amd64 3.13.9-1 [865 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 python3.13-minimal amd64 3.13.9-1 [2257 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 python3-minimal amd64 3.13.7-1 [27.2 kB]
> Get:5 http://deb.debian.org/debian testing/main amd64 media-types all 14.0.0 [30.8 kB]
> Get:6 http://deb.debian.org/debian testing/main amd64 netbase all 6.5 [12.4 kB]
> Get:7 http://deb.debian.org/debian testing/main amd64 libffi8 amd64 3.5.2-2 [25.5 kB]
> Get:8 http://deb.debian.org/debian testing/main amd64 libncursesw6 amd64 6.5+20250216-2 [135 kB]
> Get:9 http://deb.debian.org/debian testing/main amd64 readline-common all 8.3-3 [74.8 kB]
> Get:10 http://deb.debian.org/debian testing/main amd64 libreadline8t64 amd64 8.3-3 [191 kB]
> Get:11 http://deb.debian.org/debian testing/main amd64 libsqlite3-0 amd64 3.46.1-8 [968 kB]
> Get:12 http://deb.debian.org/debian testing/main amd64 libpython3.13-stdlib amd64 3.13.9-1 [1965 kB]
> Get:13 http://deb.debian.org/debian testing/main amd64 python3.13 amd64 3.13.9-1 [764 kB]
> Get:14 http://deb.debian.org/debian testing/main amd64 libpython3-stdlib amd64 3.13.7-1 [10.2 kB]
> Get:15 http://deb.debian.org/debian testing/main amd64 python3 amd64 3.13.7-1 [28.3 kB]
> Get:16 http://deb.debian.org/debian testing/main amd64 libkmod2 amd64 34.2-2 [63.2 kB]
> Get:17 http://deb.debian.org/debian testing/main amd64 kmod amd64 34.2-2 [95.7 kB]
> Get:18 http://deb.debian.org/debian testing/main amd64 openssl amd64 3.5.4-1 [1496 kB]
> Get:19 http://deb.debian.org/debian testing/main amd64 ca-certificates all 20250419 [162 kB]
> Get:20 http://deb.debian.org/debian testing/main amd64 pci.ids all 0.0~2025.11.04-1 [273 kB]
> Get:21 http://deb.debian.org/debian testing/main amd64 libpci3 amd64 1:3.14.0-1 [75.8 kB]
> Get:22 http://deb.debian.org/debian testing/main amd64 pciutils amd64 1:3.14.0-1 [133 kB]
> Get:23 http://deb.debian.org/debian testing/main amd64 libdrm-common all 2.4.127-1 [9060 B]
> Get:24 http://deb.debian.org/debian testing/main amd64 libdrm2 amd64 2.4.127-1 [39.8 kB]
> Get:25 http://deb.debian.org/debian testing/main amd64 libdrm-amdgpu1 amd64 2.4.127-1 [23.8 kB]
> Get:26 http://deb.debian.org/debian testing/main amd64 libelf1t64 amd64 0.194-1 [185 kB]
> Get:27 http://deb.debian.org/debian testing/main amd64 libgpm2 amd64 1.20.7-12 [15.0 kB]
> Get:28 http://deb.debian.org/debian testing/main amd64 libnuma1 amd64 2.0.19-1 [22.2 kB]
> Get:29 http://deb.debian.org/debian testing/main amd64 libhsakmt1 amd64 6.2.4+ds-1 [61.1 kB]
> Get:30 http://deb.debian.org/debian testing/main amd64 libhsa-runtime64-1 amd64 6.1.2-3 [535 kB]
> Get:31 http://deb.debian.org/debian testing/main amd64 rocminfo amd64 6.4.3-1 [25.8 kB]
> Fetched 10.7 MB in 0s (64.1 MB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 31.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 31.)
> debconf: falling back to frontend: Teletype
> Extracting templates from packages: 100%
> Preconfiguring packages ...
> Selecting previously unselected package libexpat1:amd64.
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../libexpat1_2.7.3-1_amd64.deb ...
> Unpacking libexpat1:amd64 (2.7.3-1) ...
> Selecting previously unselected package libpython3.13-minimal:amd64.
> Preparing to unpack .../libpython3.13-minimal_3.13.9-1_amd64.deb ...
> Unpacking libpython3.13-minimal:amd64 (3.13.9-1) ...
> Selecting previously unselected package python3.13-minimal.
> Preparing to unpack .../python3.13-minimal_3.13.9-1_amd64.deb ...
> Unpacking python3.13-minimal (3.13.9-1) ...
> Setting up libpython3.13-minimal:amd64 (3.13.9-1) ...
> Setting up libexpat1:amd64 (2.7.3-1) ...
> Setting up python3.13-minimal (3.13.9-1) ...
> Selecting previously unselected package python3-minimal.
> (Reading database ... 5215 files and directories currently installed.)
> Preparing to unpack .../00-python3-minimal_3.13.7-1_amd64.deb ...
> Unpacking python3-minimal (3.13.7-1) ...
> Selecting previously unselected package media-types.
> Preparing to unpack .../01-media-types_14.0.0_all.deb ...
> Unpacking media-types (14.0.0) ...
> Selecting previously unselected package netbase.
> Preparing to unpack .../02-netbase_6.5_all.deb ...
> Unpacking netbase (6.5) ...
> Selecting previously unselected package libffi8:amd64.
> Preparing to unpack .../03-libffi8_3.5.2-2_amd64.deb ...
> Unpacking libffi8:amd64 (3.5.2-2) ...
> Selecting previously unselected package libncursesw6:amd64.
> Preparing to unpack .../04-libncursesw6_6.5+20250216-2_amd64.deb ...
> Unpacking libncursesw6:amd64 (6.5+20250216-2) ...
> Selecting previously unselected package readline-common.
> Preparing to unpack .../05-readline-common_8.3-3_all.deb ...
> Unpacking readline-common (8.3-3) ...
> Selecting previously unselected package libreadline8t64:amd64.
> Preparing to unpack .../06-libreadline8t64_8.3-3_amd64.deb ...
> Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
> Unpacking libreadline8t64:amd64 (8.3-3) ...
> Selecting previously unselected package libsqlite3-0:amd64.
> Preparing to unpack .../07-libsqlite3-0_3.46.1-8_amd64.deb ...
> Unpacking libsqlite3-0:amd64 (3.46.1-8) ...
> Selecting previously unselected package libpython3.13-stdlib:amd64.
> Preparing to unpack .../08-libpython3.13-stdlib_3.13.9-1_amd64.deb ...
> Unpacking libpython3.13-stdlib:amd64 (3.13.9-1) ...
> Selecting previously unselected package python3.13.
> Preparing to unpack .../09-python3.13_3.13.9-1_amd64.deb ...
> Unpacking python3.13 (3.13.9-1) ...
> Selecting previously unselected package libpython3-stdlib:amd64.
> Preparing to unpack .../10-libpython3-stdlib_3.13.7-1_amd64.deb ...
> Unpacking libpython3-stdlib:amd64 (3.13.7-1) ...
> Setting up python3-minimal (3.13.7-1) ...
> Selecting previously unselected package python3.
> (Reading database ... 5731 files and directories currently installed.)
> Preparing to unpack .../00-python3_3.13.7-1_amd64.deb ...
> Unpacking python3 (3.13.7-1) ...
> Selecting previously unselected package libkmod2:amd64.
> Preparing to unpack .../01-libkmod2_34.2-2_amd64.deb ...
> Unpacking libkmod2:amd64 (34.2-2) ...
> Selecting previously unselected package kmod.
> Preparing to unpack .../02-kmod_34.2-2_amd64.deb ...
> Unpacking kmod (34.2-2) ...
> Selecting previously unselected package openssl.
> Preparing to unpack .../03-openssl_3.5.4-1_amd64.deb ...
> Unpacking openssl (3.5.4-1) ...
> Selecting previously unselected package ca-certificates.
> Preparing to unpack .../04-ca-certificates_20250419_all.deb ...
> Unpacking ca-certificates (20250419) ...
> Selecting previously unselected package pci.ids.
> Preparing to unpack .../05-pci.ids_0.0~2025.11.04-1_all.deb ...
> Unpacking pci.ids (0.0~2025.11.04-1) ...
> Selecting previously unselected package libpci3:amd64.
> Preparing to unpack .../06-libpci3_1%3a3.14.0-1_amd64.deb ...
> Unpacking libpci3:amd64 (1:3.14.0-1) ...
> Selecting previously unselected package pciutils.
> Preparing to unpack .../07-pciutils_1%3a3.14.0-1_amd64.deb ...
> Unpacking pciutils (1:3.14.0-1) ...
> Selecting previously unselected package libdrm-common.
> Preparing to unpack .../08-libdrm-common_2.4.127-1_all.deb ...
> Unpacking libdrm-common (2.4.127-1) ...
> Selecting previously unselected package libdrm2:amd64.
> Preparing to unpack .../09-libdrm2_2.4.127-1_amd64.deb ...
> Unpacking libdrm2:amd64 (2.4.127-1) ...
> Selecting previously unselected package libdrm-amdgpu1:amd64.
> Preparing to unpack .../10-libdrm-amdgpu1_2.4.127-1_amd64.deb ...
> Unpacking libdrm-amdgpu1:amd64 (2.4.127-1) ...
> Selecting previously unselected package libelf1t64:amd64.
> Preparing to unpack .../11-libelf1t64_0.194-1_amd64.deb ...
> Unpacking libelf1t64:amd64 (0.194-1) ...
> Selecting previously unselected package libgpm2:amd64.
> Preparing to unpack .../12-libgpm2_1.20.7-12_amd64.deb ...
> Unpacking libgpm2:amd64 (1.20.7-12) ...
> Selecting previously unselected package libnuma1:amd64.
> Preparing to unpack .../13-libnuma1_2.0.19-1_amd64.deb ...
> Unpacking libnuma1:amd64 (2.0.19-1) ...
> Selecting previously unselected package libhsakmt1:amd64.
> Preparing to unpack .../14-libhsakmt1_6.2.4+ds-1_amd64.deb ...
> Unpacking libhsakmt1:amd64 (6.2.4+ds-1) ...
> Selecting previously unselected package libhsa-runtime64-1:amd64.
> Preparing to unpack .../15-libhsa-runtime64-1_6.1.2-3_amd64.deb ...
> Unpacking libhsa-runtime64-1:amd64 (6.1.2-3) ...
> Selecting previously unselected package rocminfo.
> Preparing to unpack .../16-rocminfo_6.4.3-1_amd64.deb ...
> Unpacking rocminfo (6.4.3-1) ...
> Setting up media-types (14.0.0) ...
> Setting up pci.ids (0.0~2025.11.04-1) ...
> Setting up libgpm2:amd64 (1.20.7-12) ...
> Setting up libsqlite3-0:amd64 (3.46.1-8) ...
> Setting up libelf1t64:amd64 (0.194-1) ...
> Setting up libncursesw6:amd64 (6.5+20250216-2) ...
> Setting up libpci3:amd64 (1:3.14.0-1) ...
> Setting up libffi8:amd64 (3.5.2-2) ...
> Setting up libnuma1:amd64 (2.0.19-1) ...
> Setting up netbase (6.5) ...
> Setting up openssl (3.5.4-1) ...
> Setting up libdrm-common (2.4.127-1) ...
> Setting up readline-common (8.3-3) ...
> Setting up libkmod2:amd64 (34.2-2) ...
> Setting up kmod (34.2-2) ...
> Setting up ca-certificates (20250419) ...
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/
> lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readli
> ne.pm line 8.)
> debconf: falling back to frontend: Teletype
> Updating certificates in /etc/ssl/certs...
> 150 added, 0 removed; done.
> Setting up pciutils (1:3.14.0-1) ...
> Setting up libreadline8t64:amd64 (8.3-3) ...
> Setting up libdrm2:amd64 (2.4.127-1) ...
> Setting up libpython3.13-stdlib:amd64 (3.13.9-1) ...
> Setting up libpython3-stdlib:amd64 (3.13.7-1) ...
> Setting up libdrm-amdgpu1:amd64 (2.4.127-1) ...
> Setting up python3.13 (3.13.9-1) ...
> Setting up python3 (3.13.7-1) ...
> running python rtupdate hooks for python3.13...
> running python post-rtupdate hooks for python3.13...
> Setting up libhsakmt1:amd64 (6.2.4+ds-1) ...
> Setting up libhsa-runtime64-1:amd64 (6.1.2-3) ...
> Setting up rocminfo (6.4.3-1) ...
> Processing triggers for libc-bin (2.41-12) ...
> Processing triggers for ca-certificates (20250419) ...
> Updating certificates in /etc/ssl/certs...
> 0 added, 0 removed; done.
> Running hooks in /etc/ca-certificates/update.d...
> done.
> root@94627f0cc2a9:~# apt upgrade
> Upgrading:
> libdebconfclient0 libsystemd0 libudev1 sysvinit-utils
>
> Summary:
> Upgrading: 4, Installing: 0, Removing: 0, Not Upgrading: 0
> Download size: 672 kB
> Space needed: 0 B / 763 GB available
>
> Continue? [Y/n] y
> Get:1 http://deb.debian.org/debian testing/main amd64 sysvinit-utils amd64 3.15-6 [35.0 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 libdebconfclient0 amd64 0.282 [10.9 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 libsystemd0 amd64 259~rc1-1 [469 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 libudev1 amd64 259~rc1-1 [157 kB]
> Fetched 672 kB in 0s (22.4 MB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 4.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 4.)
> debconf: falling back to frontend: Teletype
> (Reading database ... 6445 files and directories currently installed.)
> Preparing to unpack .../sysvinit-utils_3.15-6_amd64.deb ...
> Unpacking sysvinit-utils (3.15-6) over (3.15-5) ...
> Setting up sysvinit-utils (3.15-6) ...
> (Reading database ... 6445 files and directories currently installed.)
> Preparing to unpack .../libdebconfclient0_0.282_amd64.deb ...
> Unpacking libdebconfclient0:amd64 (0.282) over (0.281) ...
> Setting up libdebconfclient0:amd64 (0.282) ...
> (Reading database ... 6445 files and directories currently installed.)
> Preparing to unpack .../libsystemd0_259~rc1-1_amd64.deb ...
> Unpacking libsystemd0:amd64 (259~rc1-1) over (258.1-2) ...
> Setting up libsystemd0:amd64 (259~rc1-1) ...
> (Reading database ... 6445 files and directories currently installed.)
> Preparing to unpack .../libudev1_259~rc1-1_amd64.deb ...
> Unpacking libudev1:amd64 (259~rc1-1) over (258.1-2) ...
> Setting up libudev1:amd64 (259~rc1-1) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@94627f0cc2a9:~# rocminfo
> ROCk module is loaded
> Unable to open /dev/kfd read-write: Permission denied
> root is not member of "bin" group, the default DRM access group. Users must be a member of the "bin" group or another DRM access group in order for ROCm applications to run successfully.
> root@94627f0cc2a9:~# exit
> exit
> cgmb@scorbunny:~/builds/rocm-hipamd$ docker run -it --device=/dev/dri --device=/dev/kfd --security-opt seccomp=unconfined --group-add=video --group-add=$(getent group render | cut -d: -f3) --group-add=bin --volume $HOME:/mnt/home debian:testing
> root@ffa7b1c5dae7:/# cd ~
> root@ffa7b1c5dae7:~# apt -y update && apt -y upgrade && apt -y install rocminfo
> Get:1 http://deb.debian.org/debian testing InRelease [148 kB]
> Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
> Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 Packages [9683 kB]
> Fetched 9920 kB in 1s (10.3 MB/s)
> 4 packages can be upgraded. Run 'apt list --upgradable' to see them.
> Upgrading:
> libdebconfclient0 libsystemd0 libudev1 sysvinit-utils
>
> Summary:
> Upgrading: 4, Installing: 0, Removing: 0, Not Upgrading: 0
> Download size: 672 kB
> Space needed: 0 B / 763 GB available
>
> Get:1 http://deb.debian.org/debian testing/main amd64 sysvinit-utils amd64 3.15-6 [35.0 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 libdebconfclient0 amd64 0.282 [10.9 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 libsystemd0 amd64 259~rc1-1 [469 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 libudev1 amd64 259~rc1-1 [157 kB]
> Fetched 672 kB in 0s (18.7 MB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 4.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 4.)
> debconf: falling back to frontend: Teletype
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../sysvinit-utils_3.15-6_amd64.deb ...
> Unpacking sysvinit-utils (3.15-6) over (3.15-5) ...
> Setting up sysvinit-utils (3.15-6) ...
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../libdebconfclient0_0.282_amd64.deb ...
> Unpacking libdebconfclient0:amd64 (0.282) over (0.281) ...
> Setting up libdebconfclient0:amd64 (0.282) ...
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../libsystemd0_259~rc1-1_amd64.deb ...
> Unpacking libsystemd0:amd64 (259~rc1-1) over (258.1-2) ...
> Setting up libsystemd0:amd64 (259~rc1-1) ...
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../libudev1_259~rc1-1_amd64.deb ...
> Unpacking libudev1:amd64 (259~rc1-1) over (258.1-2) ...
> Setting up libudev1:amd64 (259~rc1-1) ...
> Processing triggers for libc-bin (2.41-12) ...
> Installing:
> rocminfo
>
> Installing dependencies:
> ca-certificates libdrm-common libexpat1 libhsa-runtime64-1 libncursesw6 libpython3-stdlib libreadline8t64 netbase pciutils python3.13
> kmod libdrm2 libffi8 libhsakmt1 libnuma1 libpython3.13-minimal libsqlite3-0 openssl python3 python3.13-minimal
> libdrm-amdgpu1 libelf1t64 libgpm2 libkmod2 libpci3 libpython3.13-stdlib media-types pci.ids python3-minimal readline-common
>
> Suggested packages:
> gpm bzip2 wget | curl | lynx python3-doc python3-tk python3-venv python3.13-venv python3.13-doc binutils binfmt-support readline-doc
>
> Summary:
> Upgrading: 0, Installing: 31, Removing: 0, Not Upgrading: 0
> Download size: 10.7 MB
> Space needed: 36.9 MB / 763 GB available
>
> Get:1 http://deb.debian.org/debian testing/main amd64 libexpat1 amd64 2.7.3-1 [112 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 libpython3.13-minimal amd64 3.13.9-1 [865 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 python3.13-minimal amd64 3.13.9-1 [2257 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 python3-minimal amd64 3.13.7-1 [27.2 kB]
> Get:5 http://deb.debian.org/debian testing/main amd64 media-types all 14.0.0 [30.8 kB]
> Get:6 http://deb.debian.org/debian testing/main amd64 netbase all 6.5 [12.4 kB]
> Get:7 http://deb.debian.org/debian testing/main amd64 libffi8 amd64 3.5.2-2 [25.5 kB]
> Get:8 http://deb.debian.org/debian testing/main amd64 libncursesw6 amd64 6.5+20250216-2 [135 kB]
> Get:9 http://deb.debian.org/debian testing/main amd64 readline-common all 8.3-3 [74.8 kB]
> Get:10 http://deb.debian.org/debian testing/main amd64 libreadline8t64 amd64 8.3-3 [191 kB]
> Get:11 http://deb.debian.org/debian testing/main amd64 libsqlite3-0 amd64 3.46.1-8 [968 kB]
> Get:12 http://deb.debian.org/debian testing/main amd64 libpython3.13-stdlib amd64 3.13.9-1 [1965 kB]
> Get:13 http://deb.debian.org/debian testing/main amd64 python3.13 amd64 3.13.9-1 [764 kB]
> Get:14 http://deb.debian.org/debian testing/main amd64 libpython3-stdlib amd64 3.13.7-1 [10.2 kB]
> Get:15 http://deb.debian.org/debian testing/main amd64 python3 amd64 3.13.7-1 [28.3 kB]
> Get:16 http://deb.debian.org/debian testing/main amd64 libkmod2 amd64 34.2-2 [63.2 kB]
> Get:17 http://deb.debian.org/debian testing/main amd64 kmod amd64 34.2-2 [95.7 kB]
> Get:18 http://deb.debian.org/debian testing/main amd64 openssl amd64 3.5.4-1 [1496 kB]
> Get:19 http://deb.debian.org/debian testing/main amd64 ca-certificates all 20250419 [162 kB]
> Get:20 http://deb.debian.org/debian testing/main amd64 pci.ids all 0.0~2025.11.04-1 [273 kB]
> Get:21 http://deb.debian.org/debian testing/main amd64 libpci3 amd64 1:3.14.0-1 [75.8 kB]
> Get:22 http://deb.debian.org/debian testing/main amd64 pciutils amd64 1:3.14.0-1 [133 kB]
> Get:23 http://deb.debian.org/debian testing/main amd64 libdrm-common all 2.4.127-1 [9060 B]
> Get:24 http://deb.debian.org/debian testing/main amd64 libdrm2 amd64 2.4.127-1 [39.8 kB]
> Get:25 http://deb.debian.org/debian testing/main amd64 libdrm-amdgpu1 amd64 2.4.127-1 [23.8 kB]
> Get:26 http://deb.debian.org/debian testing/main amd64 libelf1t64 amd64 0.194-1 [185 kB]
> Get:27 http://deb.debian.org/debian testing/main amd64 libgpm2 amd64 1.20.7-12 [15.0 kB]
> Get:28 http://deb.debian.org/debian testing/main amd64 libnuma1 amd64 2.0.19-1 [22.2 kB]
> Get:29 http://deb.debian.org/debian testing/main amd64 libhsakmt1 amd64 6.2.4+ds-1 [61.1 kB]
> Get:30 http://deb.debian.org/debian testing/main amd64 libhsa-runtime64-1 amd64 6.1.2-3 [535 kB]
> Get:31 http://deb.debian.org/debian testing/main amd64 rocminfo amd64 6.4.3-1 [25.8 kB]
> Fetched 10.7 MB in 0s (66.1 MB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 31.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 31.)
> debconf: falling back to frontend: Teletype
> Extracting templates from packages: 100%
> Preconfiguring packages ...
> Selecting previously unselected package libexpat1:amd64.
> (Reading database ... 4881 files and directories currently installed.)
> Preparing to unpack .../libexpat1_2.7.3-1_amd64.deb ...
> Unpacking libexpat1:amd64 (2.7.3-1) ...
> Selecting previously unselected package libpython3.13-minimal:amd64.
> Preparing to unpack .../libpython3.13-minimal_3.13.9-1_amd64.deb ...
> Unpacking libpython3.13-minimal:amd64 (3.13.9-1) ...
> Selecting previously unselected package python3.13-minimal.
> Preparing to unpack .../python3.13-minimal_3.13.9-1_amd64.deb ...
> Unpacking python3.13-minimal (3.13.9-1) ...
> Setting up libpython3.13-minimal:amd64 (3.13.9-1) ...
> Setting up libexpat1:amd64 (2.7.3-1) ...
> Setting up python3.13-minimal (3.13.9-1) ...
> Selecting previously unselected package python3-minimal.
> (Reading database ... 5215 files and directories currently installed.)
> Preparing to unpack .../00-python3-minimal_3.13.7-1_amd64.deb ...
> Unpacking python3-minimal (3.13.7-1) ...
> Selecting previously unselected package media-types.
> Preparing to unpack .../01-media-types_14.0.0_all.deb ...
> Unpacking media-types (14.0.0) ...
> Selecting previously unselected package netbase.
> Preparing to unpack .../02-netbase_6.5_all.deb ...
> Unpacking netbase (6.5) ...
> Selecting previously unselected package libffi8:amd64.
> Preparing to unpack .../03-libffi8_3.5.2-2_amd64.deb ...
> Unpacking libffi8:amd64 (3.5.2-2) ...
> Selecting previously unselected package libncursesw6:amd64.
> Preparing to unpack .../04-libncursesw6_6.5+20250216-2_amd64.deb ...
> Unpacking libncursesw6:amd64 (6.5+20250216-2) ...
> Selecting previously unselected package readline-common.
> Preparing to unpack .../05-readline-common_8.3-3_all.deb ...
> Unpacking readline-common (8.3-3) ...
> Selecting previously unselected package libreadline8t64:amd64.
> Preparing to unpack .../06-libreadline8t64_8.3-3_amd64.deb ...
> Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
> Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
> Unpacking libreadline8t64:amd64 (8.3-3) ...
> Selecting previously unselected package libsqlite3-0:amd64.
> Preparing to unpack .../07-libsqlite3-0_3.46.1-8_amd64.deb ...
> Unpacking libsqlite3-0:amd64 (3.46.1-8) ...
> Selecting previously unselected package libpython3.13-stdlib:amd64.
> Preparing to unpack .../08-libpython3.13-stdlib_3.13.9-1_amd64.deb ...
> Unpacking libpython3.13-stdlib:amd64 (3.13.9-1) ...
> Selecting previously unselected package python3.13.
> Preparing to unpack .../09-python3.13_3.13.9-1_amd64.deb ...
> Unpacking python3.13 (3.13.9-1) ...
> Selecting previously unselected package libpython3-stdlib:amd64.
> Preparing to unpack .../10-libpython3-stdlib_3.13.7-1_amd64.deb ...
> Unpacking libpython3-stdlib:amd64 (3.13.7-1) ...
> Setting up python3-minimal (3.13.7-1) ...
> Selecting previously unselected package python3.
> (Reading database ... 5731 files and directories currently installed.)
> Preparing to unpack .../00-python3_3.13.7-1_amd64.deb ...
> Unpacking python3 (3.13.7-1) ...
> Selecting previously unselected package libkmod2:amd64.
> Preparing to unpack .../01-libkmod2_34.2-2_amd64.deb ...
> Unpacking libkmod2:amd64 (34.2-2) ...
> Selecting previously unselected package kmod.
> Preparing to unpack .../02-kmod_34.2-2_amd64.deb ...
> Unpacking kmod (34.2-2) ...
> Selecting previously unselected package openssl.
> Preparing to unpack .../03-openssl_3.5.4-1_amd64.deb ...
> Unpacking openssl (3.5.4-1) ...
> Selecting previously unselected package ca-certificates.
> Preparing to unpack .../04-ca-certificates_20250419_all.deb ...
> Unpacking ca-certificates (20250419) ...
> Selecting previously unselected package pci.ids.
> Preparing to unpack .../05-pci.ids_0.0~2025.11.04-1_all.deb ...
> Unpacking pci.ids (0.0~2025.11.04-1) ...
> Selecting previously unselected package libpci3:amd64.
> Preparing to unpack .../06-libpci3_1%3a3.14.0-1_amd64.deb ...
> Unpacking libpci3:amd64 (1:3.14.0-1) ...
> Selecting previously unselected package pciutils.
> Preparing to unpack .../07-pciutils_1%3a3.14.0-1_amd64.deb ...
> Unpacking pciutils (1:3.14.0-1) ...
> Selecting previously unselected package libdrm-common.
> Preparing to unpack .../08-libdrm-common_2.4.127-1_all.deb ...
> Unpacking libdrm-common (2.4.127-1) ...
> Selecting previously unselected package libdrm2:amd64.
> Preparing to unpack .../09-libdrm2_2.4.127-1_amd64.deb ...
> Unpacking libdrm2:amd64 (2.4.127-1) ...
> Selecting previously unselected package libdrm-amdgpu1:amd64.
> Preparing to unpack .../10-libdrm-amdgpu1_2.4.127-1_amd64.deb ...
> Unpacking libdrm-amdgpu1:amd64 (2.4.127-1) ...
> Selecting previously unselected package libelf1t64:amd64.
> Preparing to unpack .../11-libelf1t64_0.194-1_amd64.deb ...
> Unpacking libelf1t64:amd64 (0.194-1) ...
> Selecting previously unselected package libgpm2:amd64.
> Preparing to unpack .../12-libgpm2_1.20.7-12_amd64.deb ...
> Unpacking libgpm2:amd64 (1.20.7-12) ...
> Selecting previously unselected package libnuma1:amd64.
> Preparing to unpack .../13-libnuma1_2.0.19-1_amd64.deb ...
> Unpacking libnuma1:amd64 (2.0.19-1) ...
> Selecting previously unselected package libhsakmt1:amd64.
> Preparing to unpack .../14-libhsakmt1_6.2.4+ds-1_amd64.deb ...
> Unpacking libhsakmt1:amd64 (6.2.4+ds-1) ...
> Selecting previously unselected package libhsa-runtime64-1:amd64.
> Preparing to unpack .../15-libhsa-runtime64-1_6.1.2-3_amd64.deb ...
> Unpacking libhsa-runtime64-1:amd64 (6.1.2-3) ...
> Selecting previously unselected package rocminfo.
> Preparing to unpack .../16-rocminfo_6.4.3-1_amd64.deb ...
> Unpacking rocminfo (6.4.3-1) ...
> Setting up media-types (14.0.0) ...
> Setting up pci.ids (0.0~2025.11.04-1) ...
> Setting up libgpm2:amd64 (1.20.7-12) ...
> Setting up libsqlite3-0:amd64 (3.46.1-8) ...
> Setting up libelf1t64:amd64 (0.194-1) ...
> Setting up libncursesw6:amd64 (6.5+20250216-2) ...
> Setting up libpci3:amd64 (1:3.14.0-1) ...
> Setting up libffi8:amd64 (3.5.2-2) ...
> Setting up libnuma1:amd64 (2.0.19-1) ...
> Setting up netbase (6.5) ...
> Setting up openssl (3.5.4-1) ...
> Setting up libdrm-common (2.4.127-1) ...
> Setting up readline-common (8.3-3) ...
> Setting up libkmod2:amd64 (34.2-2) ...
> Setting up kmod (34.2-2) ...
> Setting up ca-certificates (20250419) ...
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/
> lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readli
> ne.pm line 8.)
> debconf: falling back to frontend: Teletype
> Updating certificates in /etc/ssl/certs...
> 150 added, 0 removed; done.
> Setting up pciutils (1:3.14.0-1) ...
> Setting up libreadline8t64:amd64 (8.3-3) ...
> Setting up libdrm2:amd64 (2.4.127-1) ...
> Setting up libpython3.13-stdlib:amd64 (3.13.9-1) ...
> Setting up libpython3-stdlib:amd64 (3.13.7-1) ...
> Setting up libdrm-amdgpu1:amd64 (2.4.127-1) ...
> Setting up python3.13 (3.13.9-1) ...
> Setting up python3 (3.13.7-1) ...
> running python rtupdate hooks for python3.13...
> running python post-rtupdate hooks for python3.13...
> Setting up libhsakmt1:amd64 (6.2.4+ds-1) ...
> Setting up libhsa-runtime64-1:amd64 (6.1.2-3) ...
> Setting up rocminfo (6.4.3-1) ...
> Processing triggers for libc-bin (2.41-12) ...
> Processing triggers for ca-certificates (20250419) ...
> Updating certificates in /etc/ssl/certs...
> 0 added, 0 removed; done.
> Running hooks in /etc/ca-certificates/update.d...
> done.
> root@ffa7b1c5dae7:~# rocminfo
> ROCk module is loaded
> =====================
> HSA System Attributes
> =====================
> Runtime Version: 1.1
> Runtime Ext Version: 1.4
> System Timestamp Freq.: 1000.000000MHz
> Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
> Machine Model: LARGE
> System Endianness: LITTLE
> Mwaitx: DISABLED
> XNACK enabled: NO
> DMAbuf Support: YES
> VMM Support: YES
>
> ==========
> HSA Agents
> ==========
> *******
> Agent 1
> *******
> Name: AMD Ryzen 9 3950X 16-Core Processor
> Uuid: CPU-XX
> Marketing Name: AMD Ryzen 9 3950X 16-Core Processor
> Vendor Name: CPU
> Feature: None specified
> Profile: FULL_PROFILE
> Float Round Mode: NEAR
> Max Queue Number: 0(0x0)
> Queue Min Size: 0(0x0)
> Queue Max Size: 0(0x0)
> Queue Type: MULTI
> Node: 0
> Device Type: CPU
> Cache Info:
> L1: 32768(0x8000) KB
> Chip ID: 0(0x0)
> ASIC Revision: 0(0x0)
> Cacheline Size: 64(0x40)
> Max Clock Freq. (MHz): 4763
> BDFID: 0
> Internal Node ID: 0
> Compute Unit: 32
> SIMDs per CU: 0
> Shader Engines: 0
> Shader Arrs. per Eng.: 0
> WatchPts on Addr. Ranges:1
> Memory Properties:
> Features: None
> Pool Info:
> Pool 1
> Segment: GLOBAL; FLAGS: FINE GRAINED
> Size: 65765504(0x3eb8080) KB
> Allocatable: TRUE
> Alloc Granule: 4KB
> Alloc Recommended Granule:4KB
> Alloc Alignment: 4KB
> Accessible by all: TRUE
> Pool 2
> Segment: GLOBAL; FLAGS: KERNARG, FINE GRAINED
> Size: 65765504(0x3eb8080) KB
> Allocatable: TRUE
> Alloc Granule: 4KB
> Alloc Recommended Granule:4KB
> Alloc Alignment: 4KB
> Accessible by all: TRUE
> Pool 3
> Segment: GLOBAL; FLAGS: COARSE GRAINED
> Size: 65765504(0x3eb8080) KB
> Allocatable: TRUE
> Alloc Granule: 4KB
> Alloc Recommended Granule:4KB
> Alloc Alignment: 4KB
> Accessible by all: TRUE
> ISA Info:
> *******
> Agent 2
> *******
> Name: gfx906
> Uuid: GPU-128218c172fd5d3c
> Marketing Name: AMD Radeon VII
> Vendor Name: AMD
> Feature: KERNEL_DISPATCH
> Profile: BASE_PROFILE
> Float Round Mode: NEAR
> Max Queue Number: 128(0x80)
> Queue Min Size: 64(0x40)
> Queue Max Size: 131072(0x20000)
> Queue Type: MULTI
> Node: 1
> Device Type: GPU
> Cache Info:
> L1: 16(0x10) KB
> L2: 8192(0x2000) KB
> Chip ID: 26287(0x66af)
> ASIC Revision: 1(0x1)
> Cacheline Size: 64(0x40)
> Max Clock Freq. (MHz): 1801
> BDFID: 3072
> Internal Node ID: 1
> Compute Unit: 60
> SIMDs per CU: 4
> Shader Engines: 4
> Shader Arrs. per Eng.: 1
> WatchPts on Addr. Ranges:4
> Coherent Host Access: FALSE
> Memory Properties:
> Features: KERNEL_DISPATCH
> Fast F16 Operation: TRUE
> Wavefront Size: 64(0x40)
> Workgroup Max Size: 1024(0x400)
> Workgroup Max Size per Dimension:
> x 1024(0x400)
> y 1024(0x400)
> z 1024(0x400)
> Max Waves Per CU: 40(0x28)
> Max Work-item Per CU: 2560(0xa00)
> Grid Max Size: 4294967295(0xffffffff)
> Grid Max Size per Dimension:
> x 4294967295(0xffffffff)
> y 4294967295(0xffffffff)
> z 4294967295(0xffffffff)
> Max fbarriers/Workgrp: 32
> Packet Processor uCode:: 478
> SDMA engine uCode:: 145
> IOMMU Support:: None
> Pool Info:
> Pool 1
> Segment: GLOBAL; FLAGS: COARSE GRAINED
> Size: 16760832(0xffc000) KB
> Allocatable: TRUE
> Alloc Granule: 4KB
> Alloc Recommended Granule:2048KB
> Alloc Alignment: 4KB
> Accessible by all: FALSE
> Pool 2
> Segment: GLOBAL; FLAGS: EXTENDED FINE GRAINED
> Size: 16760832(0xffc000) KB
> Allocatable: TRUE
> Alloc Granule: 4KB
> Alloc Recommended Granule:2048KB
> Alloc Alignment: 4KB
> Accessible by all: FALSE
> Pool 3
> Segment: GROUP
> Size: 64(0x40) KB
> Allocatable: FALSE
> Alloc Granule: 0KB
> Alloc Recommended Granule:0KB
> Alloc Alignment: 0KB
> Accessible by all: FALSE
> ISA Info:
> ISA 1
> Name: amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-
> Machine Models: HSA_MACHINE_MODEL_LARGE
> Profiles: HSA_PROFILE_BASE
> Default Rounding Mode: NEAR
> Default Rounding Mode: NEAR
> Fast f16: TRUE
> Workgroup Max Size: 1024(0x400)
> Workgroup Max Size per Dimension:
> x 1024(0x400)
> y 1024(0x400)
> z 1024(0x400)
> Grid Max Size: 4294967295(0xffffffff)
> Grid Max Size per Dimension:
> x 4294967295(0xffffffff)
> y 4294967295(0xffffffff)
> z 4294967295(0xffffffff)
> FBarrier Max Size: 32
> *** Done ***
> root@ffa7b1c5dae7:~# apt install librocsparse0-tests
> Installing:
> librocsparse0-tests
>
> Installing dependencies:
> libamd-comgr2 libamdhip64-5 libedit2 libllvm17t64 librocsparse0 librocsparse0-tests-data libxml2-16 libz3-4
>
> Summary:
> Upgrading: 0, Installing: 9, Removing: 0, Not Upgrading: 0
> Download size: 406 MB
> Space needed: 1727 MB / 763 GB available
>
> Continue? [Y/n] y
> Get:1 http://deb.debian.org/debian testing/main amd64 libedit2 amd64 3.1-20250104-1 [93.8 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 libxml2-16 amd64 2.15.1+dfsg-1 [641 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 libz3-4 amd64 4.13.3-1 [8560 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 libllvm17t64 amd64 1:17.0.6-23 [23.6 MB]
> Get:5 http://deb.debian.org/debian testing/main amd64 libamd-comgr2 amd64 6.0+git20231212.4510c28+dfsg-3+b2 [13.0 MB]
> Get:6 http://deb.debian.org/debian testing/main amd64 libamdhip64-5 amd64 5.7.1-7 [8938 kB]
> Get:7 http://deb.debian.org/debian testing/main amd64 librocsparse0 amd64 5.7.1-6 [346 MB]
> Get:8 http://deb.debian.org/debian testing/main amd64 librocsparse0-tests-data all 5.7.1-6 [422 kB]
> Get:9 http://deb.debian.org/debian testing/main amd64 librocsparse0-tests amd64 5.7.1-6 [4652 kB]
> Fetched 406 MB in 26s (15.6 MB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 9.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 9.)
> debconf: falling back to frontend: Teletype
> Selecting previously unselected package libedit2:amd64.
> (Reading database ... 6445 files and directories currently installed.)
> Preparing to unpack .../0-libedit2_3.1-20250104-1_amd64.deb ...
> Unpacking libedit2:amd64 (3.1-20250104-1) ...
> Selecting previously unselected package libxml2-16:amd64.
> Preparing to unpack .../1-libxml2-16_2.15.1+dfsg-1_amd64.deb ...
> Unpacking libxml2-16:amd64 (2.15.1+dfsg-1) ...
> Selecting previously unselected package libz3-4:amd64.
> Preparing to unpack .../2-libz3-4_4.13.3-1_amd64.deb ...
> Unpacking libz3-4:amd64 (4.13.3-1) ...
> Selecting previously unselected package libllvm17t64:amd64.
> Preparing to unpack .../3-libllvm17t64_1%3a17.0.6-23_amd64.deb ...
> Unpacking libllvm17t64:amd64 (1:17.0.6-23) ...
> Selecting previously unselected package libamd-comgr2:amd64.
> Preparing to unpack .../4-libamd-comgr2_6.0+git20231212.4510c28+dfsg-3+b2_amd64.deb ...
> Unpacking libamd-comgr2:amd64 (6.0+git20231212.4510c28+dfsg-3+b2) ...
> Selecting previously unselected package libamdhip64-5:amd64.
> Preparing to unpack .../5-libamdhip64-5_5.7.1-7_amd64.deb ...
> Unpacking libamdhip64-5:amd64 (5.7.1-7) ...
> Selecting previously unselected package librocsparse0.
> Preparing to unpack .../6-librocsparse0_5.7.1-6_amd64.deb ...
> Unpacking librocsparse0 (5.7.1-6) ...
> Selecting previously unselected package librocsparse0-tests-data.
> Preparing to unpack .../7-librocsparse0-tests-data_5.7.1-6_all.deb ...
> Unpacking librocsparse0-tests-data (5.7.1-6) ...
> Selecting previously unselected package librocsparse0-tests.
> Preparing to unpack .../8-librocsparse0-tests_5.7.1-6_amd64.deb ...
> Unpacking librocsparse0-tests (5.7.1-6) ...
> Setting up libxml2-16:amd64 (2.15.1+dfsg-1) ...
> Setting up libedit2:amd64 (3.1-20250104-1) ...
> Setting up libz3-4:amd64 (4.13.3-1) ...
> Setting up libllvm17t64:amd64 (1:17.0.6-23) ...
> Setting up librocsparse0-tests-data (5.7.1-6) ...
> Setting up libamd-comgr2:amd64 (6.0+git20231212.4510c28+dfsg-3+b2) ...
> Setting up libamdhip64-5:amd64 (5.7.1-7) ...
> Setting up librocsparse0 (5.7.1-6) ...
> Setting up librocsparse0-tests (5.7.1-6) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> Query device success: there are 1 devices
> Device ID 0: AMD Radeon VII
> -------------------------------------------------------------------------
> with 16368MB memory, clock rate 1801MHz @ computing capability 9.0
> maxGridDimX 2147483647, sharedMemPerBlock 64KB, maxThreadsPerBlock 1024
> wavefrontSize 64
> -------------------------------------------------------------------------
> Using device ID 0 (AMD Radeon VII) for rocSPARSE
> -------------------------------------------------------------------------
> rocSPARSE version: 2.5.4-
> <...>
> [----------] Global test environment tear-down
> [==========] 121031 tests from 111 test suites ran. (326686 ms total)
> [ PASSED ] 121031 tests.
> root@ffa7b1c5dae7:~# apt -qq list hipcc libamdhip64-5 libamdhip64-dev libhiprtc-builtins5
> hipcc/testing 5.7.1-7 amd64
> libamdhip64-5/testing,now 5.7.1-7 amd64 [installed,automatic]
> libamdhip64-dev/testing 5.7.1-7 amd64
> libhiprtc-builtins5/testing 5.7.1-7 amd64
> root@ffa7b1c5dae7:~# apt install /mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb
> Note, selecting 'libamdhip64-5' instead of '/mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb'
> Upgrading:
> libamdhip64-5
>
> Summary:
> Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
> Download size: 0 B / 8943 kB
> Space needed: 1024 B / 761 GB available
>
> Get:1 /mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb libamdhip64-5 amd64 5.7.1-7+deb14u1 [8943 kB]
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 1.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 1.)
> debconf: falling back to frontend: Teletype
> (Reading database ... 6509 files and directories currently installed.)
> Preparing to unpack .../libamdhip64-5_5.7.1-7+deb14u1_amd64.deb ...
> Unpacking libamdhip64-5:amd64 (5.7.1-7+deb14u1) over (5.7.1-7) ...
> Setting up libamdhip64-5:amd64 (5.7.1-7+deb14u1) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> Query device success: there are 1 devices
> Device ID 0: AMD Radeon VII
> -------------------------------------------------------------------------
> with 16368MB memory, clock rate 1801MHz @ computing capability 9.0
> maxGridDimX 2147483647, sharedMemPerBlock 64KB, maxThreadsPerBlock 1024
> wavefrontSize 64
> -------------------------------------------------------------------------
> Using device ID 0 (AMD Radeon VII) for rocSPARSE
> -------------------------------------------------------------------------
> rocSPARSE version: 2.5.4-
> <...>
> [----------] Global test environment tear-down
> [==========] 121031 tests from 111 test suites ran. (314968 ms total)
> [ PASSED ] 121031 tests.
> root@ffa7b1c5dae7:~# apt install /mnt/home/builds/rocr-runtime/libhsakmt1_6.4.3+dfsg-5_amd64.deb /mnt/home/builds/rocr-runtime/libhsa-runtime64-1_6.4.3+dfsg-5_amd64.deb
> Note, selecting 'libhsakmt1' instead of '/mnt/home/builds/rocr-runtime/libhsakmt1_6.4.3+dfsg-5_amd64.deb'
> Note, selecting 'libhsa-runtime64-1' instead of '/mnt/home/builds/rocr-runtime/libhsa-runtime64-1_6.4.3+dfsg-5_amd64.deb'
> Upgrading:
> libhsa-runtime64-1 libhsakmt1
>
> Summary:
> Upgrading: 2, Installing: 0, Removing: 0, Not Upgrading: 0
> Download size: 0 B / 695 kB
> Space needed: 1150 kB / 759 GB available
>
> Get:1 /mnt/home/builds/rocr-runtime/libhsakmt1_6.4.3+dfsg-5_amd64.deb libhsakmt1 amd64 6.4.3+dfsg-5 [66.2 kB]
> Get:2 /mnt/home/builds/rocr-runtime/libhsa-runtime64-1_6.4.3+dfsg-5_amd64.deb libhsa-runtime64-1 amd64 6.4.3+dfsg-5 [629 kB]
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 2.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 2.)
> debconf: falling back to frontend: Teletype
> (Reading database ... 6509 files and directories currently installed.)
> Preparing to unpack .../libhsakmt1_6.4.3+dfsg-5_amd64.deb ...
> Unpacking libhsakmt1:amd64 (6.4.3+dfsg-5) over (6.2.4+ds-1) ...
> Preparing to unpack .../libhsa-runtime64-1_6.4.3+dfsg-5_amd64.deb ...
> Unpacking libhsa-runtime64-1:amd64 (6.4.3+dfsg-5) over (6.1.2-3) ...
> Setting up libhsakmt1:amd64 (6.4.3+dfsg-5) ...
> Setting up libhsa-runtime64-1:amd64 (6.4.3+dfsg-5) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> Query device success: there are 1 devices
> Device ID 0: AMD Radeon VII
> -------------------------------------------------------------------------
> with 16368MB memory, clock rate 1801MHz @ computing capability 9.0
> maxGridDimX 2147483647, sharedMemPerBlock 64KB, maxThreadsPerBlock 1024
> wavefrontSize 64
> -------------------------------------------------------------------------
> Using device ID 0 (AMD Radeon VII) for rocSPARSE
> -------------------------------------------------------------------------
> rocSPARSE version: 2.5.4-
> <...>
>
> [----------] Global test environment tear-down
> [==========] 121031 tests from 111 test suites ran. (322924 ms total)
> [ PASSED ] 121031 tests.
> root@ffa7b1c5dae7:~# apt install clpeak /mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb
> Note, selecting 'rocm-opencl-icd' instead of '/mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb'
> Installing:
> clpeak rocm-opencl-icd
>
> Installing dependencies:
> ocl-icd-libopencl1
>
> Summary:
> Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 0
> Download size: 91.1 kB / 595 kB
> Space needed: 2298 kB / 759 GB available
>
> Continue? [Y/n] y
> Get:1 /mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb rocm-opencl-icd amd64 5.7.1-7+deb14u1 [504 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 ocl-icd-libopencl1 amd64 2.3.4-1 [43.0 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 clpeak amd64 1.1.5-1 [48.1 kB]
> Fetched 91.1 kB in 0s (512 kB/s)
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 3.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 3.)
> debconf: falling back to frontend: Teletype
> Selecting previously unselected package ocl-icd-libopencl1:amd64.
> (Reading database ... 6509 files and directories currently installed.)
> Preparing to unpack .../ocl-icd-libopencl1_2.3.4-1_amd64.deb ...
> Unpacking ocl-icd-libopencl1:amd64 (2.3.4-1) ...
> Selecting previously unselected package clpeak.
> Preparing to unpack .../clpeak_1.1.5-1_amd64.deb ...
> Unpacking clpeak (1.1.5-1) ...
> Selecting previously unselected package rocm-opencl-icd:amd64.
> Preparing to unpack .../rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb ...
> Unpacking rocm-opencl-icd:amd64 (5.7.1-7+deb14u1) ...
> Setting up rocm-opencl-icd:amd64 (5.7.1-7+deb14u1) ...
> Setting up ocl-icd-libopencl1:amd64 (2.3.4-1) ...
> Setting up clpeak (1.1.5-1) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# clpeak
>
> Platform: AMD Accelerated Parallel Processing
> Device: gfx906:sramecc+:xnack-
> Driver version : 3590.0 (HSA1.1,LC) (Linux x64)
> Compute units : 60
> Clock frequency : 1801 MHz
>
> Global memory bandwidth (GBPS)
> float : 760.06
> float2 : 808.23
> float4 : 783.04
> float8 : 783.68
> float16 : 601.92
>
> Single-precision compute (GFLOPS)
> float : 13618.39
> float2 : 13635.25
> float4 : 13444.23
> float8 : 12748.75
> float16 : 12641.30
>
> Half-precision compute (GFLOPS)
> half : 6672.55
> half2 : 24840.60
> half4 : 24667.18
> half8 : 25106.82
> half16 : 26009.26
>
> Double-precision compute (GFLOPS)
> double : 3418.92
> double2 : 3421.25
> double4 : 3412.99
> double8 : 3391.41
> double16 : 3304.08
>
> Integer compute (GIOPS)
> int : 4408.88
> int2 : 4358.42
> int4 : 4367.60
> int8 : 4340.72
> int16 : 4343.11
>
> Integer compute Fast 24bit (GIOPS)
> int : 12272.82
> int2 : 11463.84
> int4 : 11140.07
> int8 : 11218.38
> int16 : 10914.17
>
> Integer char (8bit) compute (GIOPS)
> char : 13444.83
> char2 : 7810.83
> char4 : 7775.26
> char8 : 6956.16
> char16 : 6918.34
>
> Integer short (16bit) compute (GIOPS)
> short : 13367.47
> short2 : 13274.19
> short4 : 13062.91
> short8 : 12870.06
> short16 : 12598.91
>
> Transfer bandwidth (GBPS)
> enqueueWriteBuffer : 16.87
> enqueueReadBuffer : 16.92
> enqueueWriteBuffer non-blocking : 17.00
> enqueueReadBuffer non-blocking : 16.91
> enqueueMapBuffer(for read) : 1047553.00
> memcpy from mapped ptr : 16.94
> enqueueUnmap(after write) : 1130254.62
> memcpy to mapped ptr : 16.99
>
> Kernel launch latency : 5.70 us
>
> root@ffa7b1c5dae7:~# apt install --allow-downgrades /mnt/home/builds/rocr-runtime2/libhsakmt1_6.4.3+dfsg-2_amd64.deb /mnt/home/builds/rocr-runtime2/libhsa-runtime64-1_6.4.3+dfsg-2_amd64.deb
> Note, selecting 'libhsakmt1' instead of '/mnt/home/builds/rocr-runtime2/libhsakmt1_6.4.3+dfsg-2_amd64.deb'
> Note, selecting 'libhsa-runtime64-1' instead of '/mnt/home/builds/rocr-runtime2/libhsa-runtime64-1_6.4.3+dfsg-2_amd64.deb'
> DOWNGRADING:
> libhsa-runtime64-1 libhsakmt1
>
> Summary:
> Upgrading: 0, Installing: 0, Downgrading: 2, Removing: 0, Not Upgrading: 0
> Download size: 0 B / 694 kB
> Space needed: 0 B / 759 GB available
>
> Continue? [Y/n] y
> Get:1 /mnt/home/builds/rocr-runtime2/libhsakmt1_6.4.3+dfsg-2_amd64.deb libhsakmt1 amd64 6.4.3+dfsg-2 [66.1 kB]
> Get:2 /mnt/home/builds/rocr-runtime2/libhsa-runtime64-1_6.4.3+dfsg-2_amd64.deb libhsa-runtime64-1 amd64 6.4.3+dfsg-2 [628 kB]
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 2.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 2.)
> debconf: falling back to frontend: Teletype
> dpkg: warning: downgrading libhsakmt1:amd64 (6.4.3+dfsg-5) to (6.4.3+dfsg-2)
> (Reading database ... 6536 files and directories currently installed.)
> Preparing to unpack .../libhsakmt1_6.4.3+dfsg-2_amd64.deb ...
> Unpacking libhsakmt1:amd64 (6.4.3+dfsg-2) over (6.4.3+dfsg-5) ...
> dpkg: warning: downgrading libhsa-runtime64-1:amd64 (6.4.3+dfsg-5) to (6.4.3+dfsg-2)
> Preparing to unpack .../libhsa-runtime64-1_6.4.3+dfsg-2_amd64.deb ...
> Unpacking libhsa-runtime64-1:amd64 (6.4.3+dfsg-2) over (6.4.3+dfsg-5) ...
> Setting up libhsakmt1:amd64 (6.4.3+dfsg-2) ...
> Setting up libhsa-runtime64-1:amd64 (6.4.3+dfsg-2) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# apt install --allow-downgrades /mnt/home/builds/rocr-runtime3/libhsakmt1_6.4.3+dfsg-1_amd64.deb /mnt/home/builds/rocr-runtime3/libhsa-runtime64-1_6.4.3+dfsg-1_amd64.deb libamdhip64-5/testing rocm-opencl-icd/testing
> Note, selecting 'libhsakmt1' instead of '/mnt/home/builds/rocr-runtime3/libhsakmt1_6.4.3+dfsg-1_amd64.deb'
> Note, selecting 'libhsa-runtime64-1' instead of '/mnt/home/builds/rocr-runtime3/libhsa-runtime64-1_6.4.3+dfsg-1_amd64.deb'
> libamdhip64-5 is already the newest version (5.7.1-7).
> libamdhip64-5 set to manually installed.
> rocm-opencl-icd is already the newest version (5.7.1-7).
> Selected version '5.7.1-7' (Debian:testing [amd64]) for 'libamdhip64-5'
> Selected version '5.7.1-7' (Debian:testing [amd64]) for 'rocm-opencl-icd'
> DOWNGRADING:
> libhsa-runtime64-1 libhsakmt1
>
> Summary:
> Upgrading: 0, Installing: 0, Downgrading: 2, Removing: 0, Not Upgrading: 0
> 2 not fully installed or removed.
> Download size: 0 B / 694 kB
> Space needed: 0 B / 759 GB available
>
> Continue? [Y/n] y
> Get:1 /mnt/home/builds/rocr-runtime3/libhsakmt1_6.4.3+dfsg-1_amd64.deb libhsakmt1 amd64 6.4.3+dfsg-1 [65.7 kB]
> Get:2 /mnt/home/builds/rocr-runtime3/libhsa-runtime64-1_6.4.3+dfsg-1_amd64.deb libhsa-runtime64-1 amd64 6.4.3+dfsg-1 [628 kB]
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 2.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 2.)
> debconf: falling back to frontend: Teletype
> dpkg: warning: downgrading libhsakmt1:amd64 (6.4.3+dfsg-2) to (6.4.3+dfsg-1)
> (Reading database ... 6536 files and directories currently installed.)
> Preparing to unpack .../libhsakmt1_6.4.3+dfsg-1_amd64.deb ...
> Unpacking libhsakmt1:amd64 (6.4.3+dfsg-1) over (6.4.3+dfsg-2) ...
> dpkg: warning: downgrading libhsa-runtime64-1:amd64 (6.4.3+dfsg-2) to (6.4.3+dfsg-1)
> Preparing to unpack .../libhsa-runtime64-1_6.4.3+dfsg-1_amd64.deb ...
> Unpacking libhsa-runtime64-1:amd64 (6.4.3+dfsg-1) over (6.4.3+dfsg-2) ...
> Setting up libhsakmt1:amd64 (6.4.3+dfsg-1) ...
> Setting up libhsa-runtime64-1:amd64 (6.4.3+dfsg-1) ...
> Setting up rocm-opencl-icd:amd64 (5.7.1-7) ...
> Setting up libamdhip64-5:amd64 (5.7.1-7) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# clpeak
> free(): invalid pointer
> Aborted clpeak
> root@ffa7b1c5dae7:~# /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> free(): invalid pointer
> Aborted /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> root@ffa7b1c5dae7:~# apt install /mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb /mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb
> Note, selecting 'libamdhip64-5' instead of '/mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb'
> Note, selecting 'rocm-opencl-icd' instead of '/mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb'
> Upgrading:
> libamdhip64-5 rocm-opencl-icd
>
> Summary:
> Upgrading: 2, Installing: 0, Removing: 0, Not Upgrading: 0
> Download size: 0 B / 9447 kB
> Space needed: 2048 B / 759 GB available
>
> Get:1 /mnt/home/builds/rocm-hipamd/libamdhip64-5_5.7.1-7+deb14u1_amd64.deb libamdhip64-5 amd64 5.7.1-7+deb14u1 [8943 kB]
> Get:2 /mnt/home/builds/rocm-hipamd/rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb rocm-opencl-icd amd64 5.7.1-7+deb14u1 [504 kB]
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 2.)
> debconf: falling back to frontend: Readline
> debconf: unable to initialize frontend: Readline
> debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 2.)
> debconf: falling back to frontend: Teletype
> (Reading database ... 6536 files and directories currently installed.)
> Preparing to unpack .../libamdhip64-5_5.7.1-7+deb14u1_amd64.deb ...
> Unpacking libamdhip64-5:amd64 (5.7.1-7+deb14u1) over (5.7.1-7) ...
> Preparing to unpack .../rocm-opencl-icd_5.7.1-7+deb14u1_amd64.deb ...
> Unpacking rocm-opencl-icd:amd64 (5.7.1-7+deb14u1) over (5.7.1-7) ...
> Setting up rocm-opencl-icd:amd64 (5.7.1-7+deb14u1) ...
> Setting up libamdhip64-5:amd64 (5.7.1-7+deb14u1) ...
> Processing triggers for libc-bin (2.41-12) ...
> root@ffa7b1c5dae7:~# clpeak
>
> Platform: AMD Accelerated Parallel Processing
> Device: gfx906:sramecc+:xnack-
> Driver version : 3590.0 (HSA1.1,LC) (Linux x64)
> Compute units : 60
> Clock frequency : 1801 MHz
>
> Global memory bandwidth (GBPS)
> float : 757.03
> float2 : 808.50
> float4 : 782.02
> float8 : 783.15
> float16 : 597.40
>
> Single-precision compute (GFLOPS)
> float : 13661.42
> float2 : 13637.56
> float4 : 13569.96
> float8 : 13218.40
> float16 : 12589.14
>
> Half-precision compute (GFLOPS)
> half : 6684.58
> half2 : 24577.94
> half4 : 25094.92
> half8 : 26411.24
> half16 : 26010.84
>
> Double-precision compute (GFLOPS)
> double : 3418.91
> double2 : 3423.31
> double4 : 3413.03
> double8 : 3324.83
> double16 : 3206.18
>
> Integer compute (GIOPS)
> int : 4374.11
> int2 : 4372.14
> int4 : 4380.13
> int8 : 4325.87
> int16 : 4368.52
>
> Integer compute Fast 24bit (GIOPS)
> int : 12074.76
> int2 : 11500.06
> int4 : 11126.15
> int8 : 11125.51
> int16 : 11004.08
>
> Integer char (8bit) compute (GIOPS)
> char : 12735.05
> char2 : 7424.69
> char4 : 7631.88
> char8 : 7046.50
> char16 : 6881.86
>
> Integer short (16bit) compute (GIOPS)
> short : 12868.17
> short2 : 12495.70
> short4 : 12134.50
> short8 : 12078.46
> short16 : 12516.99
>
> Transfer bandwidth (GBPS)
> enqueueWriteBuffer : 16.80
> enqueueReadBuffer : 16.88
> enqueueWriteBuffer non-blocking : 17.03
> enqueueReadBuffer non-blocking : 16.67
> enqueueMapBuffer(for read) : 913822.88
> memcpy from mapped ptr : 16.60
> enqueueUnmap(after write) : 1342177.25
> memcpy to mapped ptr : 16.87
>
> Kernel launch latency : 8.25 us
>
> root@ffa7b1c5dae7:~# /usr/libexec/rocm/librocsparse0-tests/rocsparse-test --gtest_filter='*quick*'
> Query device success: there are 1 devices
> Device ID 0: AMD Radeon VII
> -------------------------------------------------------------------------
> with 16368MB memory, clock rate 1801MHz @ computing capability 9.0
> maxGridDimX 2147483647, sharedMemPerBlock 64KB, maxThreadsPerBlock 1024
> wavefrontSize 64
> -------------------------------------------------------------------------
> Using device ID 0 (AMD Radeon VII) for rocSPARSE
> -------------------------------------------------------------------------
> rocSPARSE version: 2.5.4-
> <...>
> [----------] Global test environment tear-down
> [==========] 121031 tests from 111 test suites ran. (329184 ms total)
> [ PASSED ] 121031 tests.
>
--
Sebastian Ramacher
Reply to: