Skip to content

Commit cd6e0fd

Browse files
use explicit type for scatter and gather wire candidates
1 parent 0bfc909 commit cd6e0fd

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

vpr/src/route/rr_graph_generation/build_scatter_gathers.cpp

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,19 @@ std::vector<t_bottleneck_link> alloc_and_load_scatter_gather_connections(const s
208208
continue;
209209
}
210210

211-
auto gather_wire_candidates = find_candidate_wires(gather_channels,
212-
sg_pattern.gather_pattern.from_switchpoint_set,
213-
chan_details_x, chan_details_y,
214-
wire_type_sizes_x, wire_type_sizes_y,
215-
/*is_dest=*/false);
216-
217-
auto scatter_wire_candidates = find_candidate_wires(scatter_channels,
218-
sg_pattern.scatter_pattern.to_switchpoint_set,
219-
chan_details_x, chan_details_y,
220-
wire_type_sizes_x, wire_type_sizes_y,
221-
/*is_dest=*/true);
211+
std::vector<t_sg_candidate> gather_wire_candidates;
212+
gather_wire_candidates = find_candidate_wires(gather_channels,
213+
sg_pattern.gather_pattern.from_switchpoint_set,
214+
chan_details_x, chan_details_y,
215+
wire_type_sizes_x, wire_type_sizes_y,
216+
/*is_dest=*/false);
217+
218+
std::vector<t_sg_candidate> scatter_wire_candidates;
219+
scatter_wire_candidates = find_candidate_wires(scatter_channels,
220+
sg_pattern.scatter_pattern.to_switchpoint_set,
221+
chan_details_x, chan_details_y,
222+
wire_type_sizes_x, wire_type_sizes_y,
223+
/*is_dest=*/true);
222224

223225
int bottleneck_fanin = evaluate_num_conns_formula(formula_parser,
224226
formula_data,

0 commit comments

Comments
 (0)