Skip to content

Commit 9aa55bf

Browse files
make format
1 parent 2848a32 commit 9aa55bf

File tree

6 files changed

+2
-9
lines changed

6 files changed

+2
-9
lines changed

vpr/src/place/move_generators/manual_move_generator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ class ManualMoveGenerator : public MoveGenerator {
3131
const t_placer_opts& /*placer_opts*/,
3232
const PlacerCriticalities* /*criticalities*/) override;
3333
};
34-

vpr/src/place/move_generators/simpleRL_move_generator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ SimpleRLMoveGenerator::SimpleRLMoveGenerator(PlacerState& placer_state,
278278
all_moves[e_move_type::CRIT_UNIFORM] = std::make_unique<CriticalUniformMoveGenerator>(placer_state, place_macros_, net_cost_handler_, reward_function, rng);
279279
all_moves[e_move_type::FEASIBLE_REGION] = std::make_unique<FeasibleRegionMoveGenerator>(placer_state, place_macros_, net_cost_handler_, reward_function, rng);
280280
if (noc_attraction_weight > 0.0f) {
281-
all_moves[e_move_type::NOC_ATTRACTION_CENTROID] = std::make_unique<CentroidMoveGenerator>(placer_state, place_macros_,net_cost_handler_, reward_function, rng,
281+
all_moves[e_move_type::NOC_ATTRACTION_CENTROID] = std::make_unique<CentroidMoveGenerator>(placer_state, place_macros_, net_cost_handler_, reward_function, rng,
282282
noc_attraction_weight, high_fanout_thresh);
283283
}
284284

vpr/src/place/move_utils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,5 +1263,3 @@ int get_random_layer(t_logical_block_type_ptr logical_block, vtr::RngContainer&
12631263

12641264
return layer_num;
12651265
}
1266-
1267-

vpr/src/place/move_utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,6 @@ int find_free_layer(t_logical_block_type_ptr logical_block,
433433

434434
int get_random_layer(t_logical_block_type_ptr logical_block, vtr::RngContainer& rng);
435435

436-
437-
438436
/**
439437
* @brief If the block ID passed to the placer_debug_net parameter of the command line is equal to blk_id, or if any of the nets
440438
* connected to the block share the same ID as the net ID passed to the placer_debug_net parameter of the command line,

vpr/src/place/net_cost_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,4 +1758,4 @@ std::pair<t_bb, t_bb> NetCostHandler::union_2d_bb_incr(ClusterNetId net_id) cons
17581758
}
17591759

17601760
return std::make_pair(merged_num_edge, merged_bb);
1761-
}
1761+
}

vpr/src/place/net_cost_handler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ class NetCostHandler {
575575

576576
// Bounding-box getters
577577
public:
578-
579578
inline const t_bb& bb_num_on_edges(ClusterNetId net_id) const { return bb_num_on_edges_[net_id]; }
580579

581580
inline const t_bb& bb_coords(ClusterNetId net_id) const { return bb_coords_[net_id]; }
@@ -593,5 +592,4 @@ class NetCostHandler {
593592
* @return num_edge, 3D bb
594593
*/
595594
std::pair<t_bb, t_bb> union_2d_bb_incr(ClusterNetId net_id) const;
596-
597595
};

0 commit comments

Comments
 (0)