Skip to content

Commit 6aa559f

Browse files
committed
make format
1 parent e2b2993 commit 6aa559f

File tree

4 files changed

+31
-33
lines changed

4 files changed

+31
-33
lines changed

vpr/src/base/SetupGrid.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ DeviceGrid create_device_grid(const std::string& layout_name,
2424
///@brief Find the device close in size to the specified dimensions
2525
DeviceGrid create_device_grid(const std::string& layout_name, const std::vector<t_grid_def>& grid_layouts, size_t min_width, size_t min_height);
2626

27-
2827
/**
2928
* @brief Returns the effective size of the device
3029
* (size of the bounding box of non-empty grid tiles)

vpr/src/base/SetupVPR.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ static void SetupRoutingArch(const t_arch& Arch,
449449
RoutingArch.opin2all_sides = Arch.opin2all_sides;
450450
RoutingArch.concat_wire = Arch.concat_wire;
451451
RoutingArch.concat_pass_wire = Arch.concat_pass_wire;
452-
453452
}
454453

455454
static void SetupRouterOpts(const t_options& Options, t_router_opts* RouterOpts) {

vpr/src/route/router_lookahead_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ float MapLookahead::get_expected_cost_flat_router(RRNodeId current_node, RRNodeI
200200
t_physical_tile_type_ptr from_physical_type = device_ctx.grid.get_physical_type({rr_graph.node_xlow(current_node),
201201
rr_graph.node_ylow(current_node),
202202
rr_graph.node_layer(current_node)});
203-
203+
204204
int from_node_ptc_num = rr_graph.node_ptc_num(current_node);
205205
t_physical_tile_type_ptr to_physical_type = device_ctx.grid.get_physical_type({rr_graph.node_xlow(target_node),
206206
rr_graph.node_ylow(target_node),

vpr/src/tileable_rr_graph/tileable_rr_graph_node_builder.cpp

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -364,15 +364,15 @@ static size_t estimate_num_chany_rr_nodes(const DeviceGrid& grids,
364364
* Estimate the number of nodes by each type in a routing resource graph
365365
***********************************************************************/
366366
static vtr::vector<e_rr_type, size_t> estimate_num_rr_nodes(const DeviceGrid& grids,
367-
const VibDeviceGrid& vib_grid,
368-
const size_t& layer,
369-
const vtr::Point<size_t>& chan_width,
370-
const std::vector<t_segment_inf>& segment_inf_x,
371-
const std::vector<t_segment_inf>& segment_inf_y,
372-
const DeviceGridAnnotation& device_grid_annotation,
373-
const bool& shrink_boundary,
374-
const bool& perimeter_cb,
375-
const bool& through_channel) {
367+
const VibDeviceGrid& vib_grid,
368+
const size_t& layer,
369+
const vtr::Point<size_t>& chan_width,
370+
const std::vector<t_segment_inf>& segment_inf_x,
371+
const std::vector<t_segment_inf>& segment_inf_y,
372+
const DeviceGridAnnotation& device_grid_annotation,
373+
const bool& shrink_boundary,
374+
const bool& perimeter_cb,
375+
const bool& through_channel) {
376376

377377
/* Reset the OPIN, IPIN, SOURCE, SINK counter to be zero */
378378
vtr::vector<e_rr_type, size_t> num_rr_nodes_per_type(static_cast<size_t>(e_rr_type::NUM_RR_TYPES), 0);
@@ -406,19 +406,19 @@ static vtr::vector<e_rr_type, size_t> estimate_num_rr_nodes(const DeviceGrid& gr
406406
* So we will load segment details for different channels
407407
*/
408408
num_rr_nodes_per_type[e_rr_type::CHANX] = estimate_num_chanx_rr_nodes(grids, layer,
409-
chan_width.x(),
410-
segment_inf_x,
411-
device_grid_annotation,
412-
shrink_boundary,
413-
perimeter_cb,
414-
through_channel);
409+
chan_width.x(),
410+
segment_inf_x,
411+
device_grid_annotation,
412+
shrink_boundary,
413+
perimeter_cb,
414+
through_channel);
415415
num_rr_nodes_per_type[e_rr_type::CHANY] = estimate_num_chany_rr_nodes(grids, layer,
416-
chan_width.y(),
417-
segment_inf_y,
418-
device_grid_annotation,
419-
shrink_boundary,
420-
perimeter_cb,
421-
through_channel);
416+
chan_width.y(),
417+
segment_inf_y,
418+
device_grid_annotation,
419+
shrink_boundary,
420+
perimeter_cb,
421+
through_channel);
422422

423423
return num_rr_nodes_per_type;
424424
}
@@ -445,15 +445,15 @@ void alloc_tileable_rr_graph_nodes(RRGraphBuilder& rr_graph_builder,
445445
VTR_ASSERT(0 == rr_graph_builder.rr_nodes().size());
446446

447447
vtr::vector<e_rr_type, size_t> num_rr_nodes_per_type = estimate_num_rr_nodes(grids,
448-
vib_grid,
449-
layer,
450-
chan_width,
451-
segment_inf_x,
452-
segment_inf_y,
453-
device_grid_annotation,
454-
shrink_boundary,
455-
perimeter_cb,
456-
through_channel);
448+
vib_grid,
449+
layer,
450+
chan_width,
451+
segment_inf_x,
452+
segment_inf_y,
453+
device_grid_annotation,
454+
shrink_boundary,
455+
perimeter_cb,
456+
through_channel);
457457

458458
/* Reserve the number of node to be memory efficient */
459459
size_t num_nodes = 0;

0 commit comments

Comments
 (0)