Skip to content

Commit ab12a82

Browse files
author
Muhammad Haris Zafar
committed
Replacing api partition_edges from respective .cpp/.h files
1 parent 9aa14da commit ab12a82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ static void build_rr_graph(const t_graph_type graph_type,
726726

727727
//Partition the rr graph edges for efficient access to configurable/non-configurable
728728
//edge subsets. Must be done after RR switches have been allocated
729-
device_ctx.rr_nodes.partition_edges();
729+
device_ctx.rr_graph_builder.partition_edges();
730730

731731
//Save the channel widths for the newly constructed graph
732732
device_ctx.chan_width = nodes_per_chan;

vpr/src/route/rr_graph_uxsdcxx_serializer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
956956
// configurable/non-configurable edge subsets. Must be done after RR
957957
// switches have been allocated.
958958
rr_nodes_->mark_edges_as_rr_switch_ids();
959-
rr_nodes_->partition_edges();
959+
rr_graph_builder_->partition_edges();
960960

961961
for (int source_node = 0; source_node < (ssize_t)rr_nodes_->size(); ++source_node) {
962962
int num_edges = rr_nodes_->num_edges(RRNodeId(source_node));

0 commit comments

Comments
 (0)