Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix routing again #587

Merged
merged 4 commits into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pacman/operations/router_algorithms/application_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ def route_application_graph() -> MulticastRoutingTableByPartition:
# Get all source chips coordinates
all_source_xys = {
vertex_xy(m_vertex)
for m_vertex in source.machine_vertices}
for m_vertex in source.splitter.get_out_going_vertices(
partition.identifier)}

# Keep track of the source edge chips
source_edge_xys: Set[XY] = set()
Expand Down Expand Up @@ -541,7 +542,7 @@ def _make_source_to_source_routes(
for xy in source_mappings:
source_routes: Dict[XY, RoutingTree] = dict()
_route_to_xys(
xy, all_source_xys, machine, source_routes,
xy, all_source_xys.union(self_xys), machine, source_routes,
source_edge_xys.union(self_xys),
"Sources to Source (self)")
for vertex, processor, link in source_mappings[xy]:
Expand Down
Loading