Skip to content

Commit 2b055d6

Browse files
committed
Reserve edges during rr graph read.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 0512810 commit 2b055d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vpr/src/route/rr_graph_reader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ void process_edges(pugi::xml_node parent, const pugiutil::loc_data& loc_data, in
400400
edges = edges.next_sibling(edges.name());
401401
}
402402

403+
device_ctx.rr_nodes.reserve_edges(num_edges);
403404
edges = get_first_child(parent, "edge", loc_data);
404405

405406
/*initialize a vector that keeps track of the number of wire to ipin switches

0 commit comments

Comments
 (0)