From 0601072dfc924eaa0c1e845d2bfbc3100cda7e46 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Mon, 12 Oct 2026 20:19:49 +0200 Subject: [PATCH] test_setup_strix_halo: gfx1103 is in the gfx11 WMMA list since the 780M change --- tools/test_setup_strix_halo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/test_setup_strix_halo.py b/tools/test_setup_strix_halo.py index 86cbf50c..0fb83051 100644 --- a/tools/test_setup_strix_halo.py +++ b/tools/test_setup_strix_halo.py @@ -91,12 +91,12 @@ class ExactArch(unittest.TestCase): def test_matches_the_engines_header(self): """include/strata/kernels/gfx_arch.hpp is the reference: gfx1151 has the WMMA kernels and the gfx1151 defaults; - gfx1103 and gfx1152 are outside its list.""" + gfx1103 (Radeon 780M/760M, 0.1.44) shares the gfx11 WMMA kernels; gfx1152 is outside the list.""" hpp = (ROOT / "include/strata/kernels/gfx_arch.hpp").read_text(encoding="utf-8") wmma = re.search(r"gfx_arch_is_gfx11_wmma.*?\n}", hpp, re.S).group(0) listed = set(re.findall(r'"(gfx\d+)"', wmma)) self.assertIn("gfx1151", listed) - self.assertNotIn("gfx1103", listed) + self.assertIn("gfx1103", listed) # 0.1.44: the 780M runs the gfx11 WMMA kernels (decode x1.53) self.assertNotIn("gfx1152", listed) self.assertIn('gfx_arch_is(gcn, "gfx1151")', hpp) self.assertEqual(setup.STRIX_HALO_ARCH, "gfx1151")