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:
@@ -550,6 +550,14 @@ def _instantiate_cube(
|
||||
distance_mm=clinks.get("noc_to_pe_cpu_mm", 0.0),
|
||||
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"):
|
||||
pass # HBM edges handled below (all routers)
|
||||
elif item == "m_cpu":
|
||||
|
||||
@@ -13,8 +13,6 @@ Validates:
|
||||
import pytest
|
||||
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.pe_mmu import PeMMU
|
||||
from kernbench.policy.address.va_allocator import VirtualAllocator
|
||||
|
||||
@@ -76,7 +76,6 @@ def test_allocator_free_tcm_reclaims_space():
|
||||
# ── TF2. del tensor triggers cleanup ─────────────────────────────────
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="PE_MMU routing via router mesh not yet wired")
|
||||
def test_del_tensor_unmaps_mmu():
|
||||
"""del tensor removes MMU mappings."""
|
||||
ctx, engine = _make_ctx()
|
||||
|
||||
@@ -28,7 +28,7 @@ def test_full_graph_node_count():
|
||||
|
||||
def test_full_graph_edge_count():
|
||||
g = _graph()
|
||||
assert len(g.edges) == 10618
|
||||
assert len(g.edges) == 10874
|
||||
|
||||
|
||||
# -- Full graph: specific nodes exist -----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user