[gentoo-dev] [PATCH 2/2] profiles/desc/amdgpu_targets.desc: Fill in more GPU models

2023-11-16 Thread Yiyang Wu
Signed-off-by: Yiyang Wu --- profiles/desc/amdgpu_targets.desc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/desc/amdgpu_targets.desc b/profiles/desc/amdgpu_targets.desc index 77ffa43399f1..46513023c3a9 100644 --- a/profiles/desc/amdgpu_targets.desc +++ b/pro

[gentoo-dev] [PATCH 1/2] rocm.eclass: Fix the xnack feature for gfx90a

2023-11-16 Thread Yiyang Wu
MI210 is xnack disabled by default. Compile with :xnack+ will produce GPU kernels that cannot be run on MI210. Two targets, gfx90a_xnack and gfx90a_noxnack are introduced to replace gfx90a, for the following reason: Upstream usually ships 2 version: gfx90a:xnack-, gfx90a:xnack+. Although a single