Wire PE_MMU to router mesh for MmuMapMsg delivery

Add router → PE_MMU edge so MmuMapMsg can reach PE_MMU via
the router mesh. Unskip all PE_MMU fabric tests.

339 passed, 0 skipped

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 18:10:42 -07:00
parent 08256c1326
commit d2c92b8a18
4 changed files with 9 additions and 4 deletions
+8
View File
@@ -550,6 +550,14 @@ def _instantiate_cube(
distance_mm=clinks.get("noc_to_pe_cpu_mm", 0.0), distance_mm=clinks.get("noc_to_pe_cpu_mm", 0.0),
kind="pe_response", kind="pe_response",
)) ))
# PE_MMU ↔ router (mapping install path)
mmu_id = f"{cp}.{pe_prefix}.pe_mmu"
if mmu_id in nodes:
edges.append(Edge(
src=rid, dst=mmu_id,
distance_mm=0.0,
kind="command",
))
elif item.endswith(".hbm"): elif item.endswith(".hbm"):
pass # HBM edges handled below (all routers) pass # HBM edges handled below (all routers)
elif item == "m_cpu": elif item == "m_cpu":
-2
View File
@@ -13,8 +13,6 @@ Validates:
import pytest import pytest
from pathlib import Path from pathlib import Path
pytestmark = pytest.mark.skip(reason="PE_MMU routing via router mesh not yet wired (ADR-0019)")
from kernbench.policy.address.allocator import AddressConfig, PEMemAllocator from kernbench.policy.address.allocator import AddressConfig, PEMemAllocator
from kernbench.policy.address.pe_mmu import PeMMU from kernbench.policy.address.pe_mmu import PeMMU
from kernbench.policy.address.va_allocator import VirtualAllocator from kernbench.policy.address.va_allocator import VirtualAllocator
-1
View File
@@ -76,7 +76,6 @@ def test_allocator_free_tcm_reclaims_space():
# ── TF2. del tensor triggers cleanup ───────────────────────────────── # ── TF2. del tensor triggers cleanup ─────────────────────────────────
@pytest.mark.skip(reason="PE_MMU routing via router mesh not yet wired")
def test_del_tensor_unmaps_mmu(): def test_del_tensor_unmaps_mmu():
"""del tensor removes MMU mappings.""" """del tensor removes MMU mappings."""
ctx, engine = _make_ctx() ctx, engine = _make_ctx()
+1 -1
View File
@@ -28,7 +28,7 @@ def test_full_graph_node_count():
def test_full_graph_edge_count(): def test_full_graph_edge_count():
g = _graph() g = _graph()
assert len(g.edges) == 10618 assert len(g.edges) == 10874
# -- Full graph: specific nodes exist ----------------------------------------- # -- Full graph: specific nodes exist -----------------------------------------