gpo.zugaina.org

Search Portage & Overlays:

dev-libs/roct-thunk-interface

Radeon Open Compute Thunk Interface

Screenshots

  • roct-thunk-interface-7.2.0
    ~amd64
    test +llvm_slot_22

    View      Download      Browse     License: MIT   
    Overlay: gentoo
  • roct-thunk-interface-7.1.0
    ~amd64
    test +llvm_slot_20

    View      Download      Browse     License: MIT   
    Overlay: gentoo
  • roct-thunk-interface-7.0.2
    ~amd64
    test +llvm_slot_20

    View      Download      Browse     License: MIT   
    Overlay: gentoo
  • roct-thunk-interface-6.4.3
    ~amd64
    test +llvm_slot_20

    View      Download      Browse     License: MIT   
    Overlay: gentoo
  • roct-thunk-interface-6.4.3
    ~amd64
    test +llvm_slot_21 llvm_slot_20

    View      Download      Browse     License: MIT   
    Overlay: FireBurn
  • roct-thunk-interface-6.3.3
    ~amd64
    test +llvm_slot_19

    View      Download      Browse     License: MIT   
    Overlay: gentoo

ChangeLog

commit 3e419bb9ee7b40d6bb4a77e22f5c7431f6942e30
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Aug 30 23:39:37 2026 +0200

dev-libs/roct-thunk-interface: drop 7.2.3

Superseded by 7.2.4, the last release of the 7.x series and the rollback
target for the ROCm 10.0 migration. Version retention keeps the last two
plus the last of each previous major series; 7.2.4 and 10.0.0 satisfy both,
so the third version is redundant.

commit 5e75b1722778ea3dfc3d0fa545a380e24957ce72
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Aug 30 19:33:48 2026 +0200

dev-libs/roct-thunk-interface: drop unreferenced patches

Same sweep as dev-util/Tensile and dev-util/roctracer, finishing the cohort.
Three patches in files/ are referenced by none of the three ebuilds present
(7.2.3, 7.2.4, 10.0.0):

roct-thunk-interface-6.3.0-functions.patch
roct-thunk-interface-6.3.0-musl.patch
roct-thunk-interface-7.0.1-functions.patch

They were consumed by 6.3/7.0 ebuilds that no longer exist here. The
surviving files -- -7.1.0-functions, -10.0.0-functions,
-10.0.0-extsem-visibility and the two kfdtest-* patches -- are all still
referenced.

Note the accounting has to expand $/$/$ before matching: the
ebuilds spell these as "$"/$-7.1.0-functions.patch, so grepping
for the literal filename reports every patch as unused.

commit c9d290f308ee673c57dcc33be84160d7650114e3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Aug 30 09:55:15 2026 +0200

dev-libs/{roct-thunk-interface,rocm-device-libs}, dev-util/hipify-clang: guard seds

rocm-device-libs: cmake/Packages.cmake was in the amdgcn/bitcode sed's file
list but carries no such reference at 10.0, so listing it was a silent no-op.
Narrowed to cmake/OCL.cmake, which still matches twice, and asserted.

roct-thunk-interface: guarded both substitutions. A stale anchor on the first
would silently leave the library versioned 1.0.0 with the wrong SONAME; on the
second it would silently build libhsakmt STATIC, so nothing links against it.

hipify-clang: guarded the clang resource-prefix rewrite.

All three merge cleanly with the guards in place, so these assert real anchors
rather than firing spuriously.

commit 5dffa8467f0ea285b49e23d6c21910467784c3fb
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Aug 29 20:15:48 2026 +0200

dev-libs/roct-thunk-interface: export five symbols rocr-runtime 10.0 needs

Linking anything against libhsa-runtime64 failed with undefined references to
hsaKmtCreateQueueV2 and the four hsaKmt*ExternalSemaphore functions. Two
separate upstream bugs, both invisible to AMD because they build libhsakmt
INSIDE rocr-runtime as one project, where these calls resolve internally --
only a distribution that splits the thunk out hits them.

1. extsem-visibility: src/extsem.c includes only the PUBLIC hsakmt/hsakmt.h,
where HSAKMTAPI expands to nothing. Every other source includes the INTERNAL
src/libhsakmt.h, which redefines it as
__attribute__((visibility("default"))). The library is built with
-fvisibility=hidden, so extsem.c's four functions compile as STV_HIDDEN --
and a version script CANNOT promote a hidden symbol, so their entries in
libhsakmt.ver silently had no effect. Confirmed with readelf: extsem.c.o had
bind=GLOBAL vis=HIDDEN while openclose.c's hsaKmtOpenKFD had vis=DEFAULT.

2. functions: hsaKmtCreateQueueV2 is defined in src/queues.c with default
visibility but was never listed in libhsakmt.ver at all.

Exports go 106 -> 111 and dev-util/rocminfo links again.

commit e26f265d526b32a611063248250ee23809ef093a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Aug 29 18:08:27 2026 +0200

dev-libs/roct-thunk-interface: build 10.0.0 against llvm:23

Same inherited-from-7.2.4 LLVM_COMPAT=( 22 ) as dev-util/hipcc. The split
stack is subslot-pinned as a single dependency closure via
SLOT="0/$(ver_cut 1-2)", so it only moves as a whole; leaving this at 22
would ship a cohort whose components were compiled by two different LLVM
majors.

commit a795a5b3d2e125d538760f34ee16ccbc9615d8cb
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Aug 28 08:48:31 2026 +0200

dev-libs/roct-thunk-interface: add 10.0.0

Retargets SRC_URI to the therock-<major.minor> tag line, and carries a
regenerated functions patch.

The 7.1.0 hunk anchored on hsaKmtAisReadWriteFile immediately preceding
"local: *;" in src/libhsakmt.ver. Upstream has since inserted a _WIN32
block and a further run of symbols between the two, so the hunk no
longer applies. The three exports it adds are still required --
hsaKmtCreateQueueExt, hsaKmtRegisterGraphicsHandleToNodesExt and
hsaKmtModelEnabled are each referenced by three files in the 10.0 tree
-- so the patch is regenerated against the terminator rather than
dropped, following the existing per-series naming (6.3.0, 7.0.1, 7.1.0
all coexist in files/).

verified 2026-08-28: builds against therock-10.0.

commit 7c384c8cac70105c06770e0ccb7af0fc295f2471
Author: Raukaan Cogbrother <cogbrother@raukaan.local>
Date: Sun May 31 03:29:35 2026 +0200

metadata: normalize tab → 2-space indent in 42 imported files

42 metadata.xml files inherited tab indentation from their origin
overlays (mostly the ROCm cluster, plus a handful of dev-python and
AMD-tooling imports). The overlay convention is 2-space; this brings
them in line with the other 498 files. Maintainer attributions
preserved verbatim.

commit 5b3c001a7da4e04ed7804e3db133c11444942553
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri May 29 16:14:28 2026 +0200

sci-libs, dev-libs, dev-util: fix S for ROCm 7.2.4 tarball relayout

The rocm-7.2.4 per-component release-asset tarballs are re-rolled with a
lowercase top-level wrapper dir (hipblas/, rocblas/, rocr-runtime/, ...)
where the 7.2.3 assets exploded flat into WORKDIR. The bumped ebuilds
kept S="$", so src_prepare died applying PATCHES and running
seds against paths that had shifted one level down. Point S at the
wrapper dir each tarball actually unpacks to, matching the layout
hipBLASLt/hipsparselt already use. roct-thunk-interface's libhsakmt now
lives under the rocr-runtime/ wrapper too.

commit 7f9c31c1a6e6469b7e11eaf73941ad7180ada8a2
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri May 29 14:12:05 2026 +0200

dev-libs/roct-thunk-interface: add 7.2.4

commit 2cfbfe1f898dc1150bbcb769e727a5f0041bbdd3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 9 00:46:25 2026 +0200

dev-libs/roct-thunk-interface: share distfile name with rocr-runtime

7.2.3 was renaming the same upstream archive (rocm-systems
rocr-runtime.tar.gz) to roct-thunk-interface-7.2.3.tar.gz while
dev-libs/rocr-runtime renames it to rocr-runtime-7.2.3.tar.gz. Identical
content under two names produced pkgcheck MatchingChksums and wasted
distdir space.

Drop our rename so both ebuilds use rocr-runtime-7.2.3.tar.gz; users
get one shared distfile.

commit f1318345fefc749874e4f3e586f4e98466266f79
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 6 10:56:08 2026 +0200

dev-libs/roct-thunk-interface: 7.2.3 fix S= for flat upstream tarball

The 7.2.3 release-asset tarballs from ROCm/rocm-systems and ROCm/rocm-libraries
unpack contents directly into ./ instead of into a wrapping <assetname>/ subdir as in
7.2.0. Adjust S= so src_prepare finds the source tree.

commit 41c41422c6439499b20a36361ccaa27eeb05333d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 6 01:53:13 2026 +0200

dev-libs/roct-thunk-interface: add 7.2.3

commit 8a7082f1ba65632398134de525d263330415ac96
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Dec 6 21:51:11 2025 +0100

*/*: drop rocm/hip as newer version is in main tree

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit cfa997ed467a25f0a98e30e69523013fb12b4136
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Oct 18 14:26:09 2025 +0200

added rocm and HIP v. 6.4.4 for now, as main tree lags