Skip to content

Commit 7697257

Browse files
committed
[vpr][place] rename get_initial_move_lim to get_place_inner_loop_num_move
1 parent 332a9b6 commit 7697257

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vpr/src/place/annealer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ PlacementAnnealer::PlacementAnnealer(const t_placer_opts& placer_opts,
233233
first_crit_exponent = 0.f;
234234
}
235235

236-
int first_move_lim = get_initial_move_lim(placer_opts, placer_opts_.anneal_sched);
236+
int first_move_lim = get_place_inner_loop_num_movee(placer_opts, placer_opts_.anneal_sched);
237237

238238
if (placer_opts.inner_loop_recompute_divider != 0) {
239239
inner_recompute_limit_ = static_cast<int>(0.5 + (float)first_move_lim / (float)placer_opts.inner_loop_recompute_divider);

vpr/src/place/place_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ t_placer_costs& t_placer_costs::operator+=(const NocCostTerms& noc_delta_cost) {
5050
return *this;
5151
}
5252

53-
int get_initial_move_lim(const t_placer_opts& placer_opts, const t_annealing_sched& annealing_sched) {
53+
int get_place_inner_loop_num_move(const t_placer_opts& placer_opts, const t_annealing_sched& annealing_sched) {
5454
const auto& device_ctx = g_vpr_ctx.device();
5555
const auto& cluster_ctx = g_vpr_ctx.clustering();
5656

vpr/src/place/place_util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class t_placer_statistics {
197197
};
198198

199199
/**
200-
* @brief Get the initial limit for inner loop block move attempt limit.
200+
* @brief Get the number of moves tried in the inner loop of the annealer.
201201
*
202202
* There are two ways to scale the move limit.
203203
* e_place_effort_scaling::CIRCUIT
@@ -210,7 +210,7 @@ class t_placer_statistics {
210210
* (device_size >> num_blocks), the search space is larger, so the second method
211211
* performs more moves to ensure better optimization.
212212
*/
213-
int get_initial_move_lim(const t_placer_opts& placer_opts, const t_annealing_sched& annealing_sched);
213+
int get_place_inner_loop_num_move(const t_placer_opts& placer_opts, const t_annealing_sched& annealing_sched);
214214

215215
/**
216216
* @brief Returns the standard deviation of data set x.

0 commit comments

Comments
 (0)