Skip to content

Commit

Permalink
Merge pull request #587 from SpiNNakerManchester/fix_routing_again
Browse files Browse the repository at this point in the history
Fix routing again
  • Loading branch information
Christian-B authored Dec 23, 2024
2 parents 12ba215 + 5bf6143 commit 1e750d5
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 1e750d5

Please sign in to comment.