🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.dev
2 messages
2 total messages Started by Sv. Lockal Wed, 14 Oct 2026 12:40
[gentoo-dev] [PATCH 1/2] profiles/desc: add amdgpu_targets gfx90c, gfx103{2,3,4,5,6}
#12
Author: Sv. Lockal
Date: Wed, 14 Oct 2026 12:40
35 lines
4567 bytes
All these targets are unofficial for ROCm stack, but supported by
ROCm's LLVM fork, so other users (e. g. llama.cpp or hiprt) can use them.

Bug: https://bugs.gentoo.org/984016
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
---
 profiles/desc/amdgpu_targets.desc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/profiles/desc/amdgpu_targets.desc b/profiles/desc/amdgpu_targets.desc
index 5e11de011db1..60feccc3bc89 100644
--- a/profiles/desc/amdgpu_targets.desc
+++ b/profiles/desc/amdgpu_targets.desc
@@ -13,6 +13,7 @@ gfx900 - Vega GPU, codename vega10, including Radeon Vega Frontier Edition, Rade
 gfx906 - Vega GPU, codename vega20, including Radeon (Pro) VII, Radeon Instinct MI50/MI60
 gfx908 - CDNA Accelerator, codename arcturus, including AMD Instinct MI100 Accelerator
 gfx90a - CDNA2 Accelerator, codename aldebaran, including AMD Instinct MI200 series Accelerators
+gfx90c - Vega APU, codename renoir/lucienne/cezanne, including Radeon Graphics in Ryzen 4000/5000 series APUs
 gfx940 - CDNA3 Accelerator, codename aqua_vangaram, MI300A rev 0
 gfx941 - CDNA3 Accelerator, codename aqua_vangaram, MI300X rev 0
 gfx942 - CDNA3 Accelerator, codename aqua_vangaram, MI300A and MI300X rev >=1
@@ -22,6 +23,11 @@ gfx1011 - RDNA GPU, codename navi12, including Radeon Pro 5600M/V520
 gfx1012 - RDNA GPU, codename navi14, including Radeon RX 5500XT/5500/5500M/5500XTB/5300/5300M, Radeon Pro 5500XT/5500M/5300/5300M, Radeon Pro W5500X/W5500/W5500M/W5300M
 gfx1030 - RDNA2 GPU, codename navi21/sienna cichlid, including Radeon RX 6950XT/6900XT/6800XT/6800, Radeon Pro W6800/V620
 gfx1031 - RDNA2 GPU, codename navi22/navy flounder, including Radeon RX 6750XT/6700XT/6800M/6700M
+gfx1032 - RDNA2 GPU, codename navi23/dimgrey cavefish, including Radeon RX 6650XT/6600XT/6600/6600M, Radeon Pro W6600
+gfx1033 - RDNA2 APU, codename van gogh, including Steam Deck
+gfx1034 - RDNA2 GPU, codename navi24/beige goby, including Radeon RX 6500XT/6400, Radeon Pro W6400
+gfx1035 - RDNA2 APU, codename rembrandt/yellow carp, including Radeon 660M/680M
+gfx1036 - RDNA2 APU, codename raphael, including Radeon Graphics in Ryzen 7000/9000 series desktop CPUs
 gfx1100 - RDNA3 GPU, codename navi31/plum bonito, including Radeon RX 7900 XTX/XT/GRE, AMD Radeon Pro W7900/W7800
 gfx1101 - RDNA3 GPU, codename navi32, including Radeon RX 7700XT/7800XT, AMD Radeon PRO W7700/V710
 gfx1102 - RDNA3 GPU, codename navi33, including Radeon RX 7400/7600/7600M/7600M XT/7700S/7600S, AMD Radeon PRO W7600/W7500
-- 
2.56.0
[gentoo-dev] [PATCH 2/2] rocm.eclass: add AMDGPU targets for ROCm 10.x
#13
Author: Sv. Lockal
Date: Wed, 14 Oct 2026 12:40
60 lines
4007 bytes
Add a 10.* case with the targets of the ROCm 10.1 release.

The official list now matches the 15 GPUs in the hardware support
table of the ROCm 10.1 release notes. gfx1152 and gfx1153 are new;
gfx1102, gfx1103, gfx1150 and gfx1151 move from unofficial to official.

New unofficial targets are gfx90c and gfx1032-gfx1036.
LLVM has supported them for a long time, TheRock builds them,
and rocBLAS 10.1 ships tuned Tensile logic for gfx1032-gfx1036 and
enables gfx90c.

gfx940 and gfx941 (pre-production MI300 revisions) are dropped:
current LLVM no longer has them, and MI300 uses gfx942.

AMDGPU_TARGETS grows from 22 to 28 flags. In the past, too many
USE_EXPAND combinations made pkgcheck fail for ROCm packages, which was
fixed by removing ROCM_USEDEP from some ebuilds. The new lists do not
break any package.

Bug: https://bugs.gentoo.org/984016
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
---
 eclass/rocm.eclass | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass
index ab5ba75b34ca..2fbf8470c29e 100644
--- a/eclass/rocm.eclass
+++ b/eclass/rocm.eclass
@@ -205,7 +205,7 @@ _rocm_set_globals() {
 				gfx908 gfx90a gfx942 gfx1030 gfx1100 gfx1101 gfx1200 gfx1201
 			)
 			;;
-		7.*|9999)
+		7.*)
 			unofficial_amdgpu_targets=(
 				gfx803 gfx900 gfx906 gfx940 gfx941
 				gfx1010 gfx1011 gfx1012
@@ -215,6 +215,19 @@ _rocm_set_globals() {
 				gfx908 gfx90a gfx942 gfx950 gfx1030 gfx1100 gfx1101 gfx1200 gfx1201
 			)
 			;;
+		10.*|9999)
+			unofficial_amdgpu_targets=(
+				gfx803 gfx900 gfx906 gfx90c
+				gfx1010 gfx1011 gfx1012
+				gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036
+			)
+			official_amdgpu_targets=(
+				gfx908 gfx90a gfx942 gfx950 gfx1030
+				gfx1100 gfx1101 gfx1102 gfx1103
+				gfx1150 gfx1151 gfx1152 gfx1153
+				gfx1200 gfx1201
+			)
+			;;
 		*)
 			die "Unknown ROCm major version! Please update rocm.eclass before bumping to new ebuilds"
 			;;
-- 
2.56.0
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads