Skip to content

Commit f89b959

Browse files
committed
clangformat
Signed-off-by: gatecat <[email protected]>
1 parent 5cea801 commit f89b959

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

common/kernel/command.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ po::options_description CommandHandler::getGeneralOptions()
190190
"placer heap criticality exponent (int, default: 2)");
191191
general.add_options()("placer-heap-timingweight", po::value<int>(), "placer heap timing weight (int, default: 10)");
192192
general.add_options()("placer-heap-cell-placement-timeout", po::value<int>(),
193-
"allow placer to attempt up to max(10000, total cells^2 / N) iterations to place a cell (int N, default: 8, 0 for no timeout)");
193+
"allow placer to attempt up to max(10000, total cells^2 / N) iterations to place a cell (int "
194+
"N, default: 8, 0 for no timeout)");
194195

195196
#if !defined(__wasm)
196197
general.add_options()("parallel-refine", "use new experimental parallelised engine for placement refinement");
@@ -332,7 +333,7 @@ void CommandHandler::setupContext(Context *ctx)
332333

333334
if (vm.count("placer-heap-cell-placement-timeout"))
334335
ctx->settings[ctx->id("placerHeap/cellPlacementTimeout")] =
335-
std::to_string(std::max(0, vm["placer-heap-cell-placement-timeout"].as<int>()));
336+
std::to_string(std::max(0, vm["placer-heap-cell-placement-timeout"].as<int>()));
336337

337338
if (vm.count("parallel-refine"))
338339
ctx->settings[ctx->id("placerHeap/parallelRefine")] = true;

common/place/placer_heap.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ class HeAPPlacer
219219
heap_runs.push_back(all_buckets);
220220
// The main HeAP placer loop
221221
if (cfg.cell_placement_timeout > 0)
222-
log_info("Running main analytical placer, max placement attempts per cell = %d.\n", cfg.cell_placement_timeout);
222+
log_info("Running main analytical placer, max placement attempts per cell = %d.\n",
223+
cfg.cell_placement_timeout);
223224
else
224225
log_info("Running main analytical placer.\n");
225226
while (stalled < 5 && (solved_hpwl <= legal_hpwl * 0.8)) {
@@ -887,7 +888,9 @@ class HeAPPlacer
887888

888889
while (!placed) {
889890
if (cfg.cell_placement_timeout > 0 && total_iters_for_cell > cfg.cell_placement_timeout)
890-
log_error("Unable to find legal placement for cell '%s' after %d attempts, check constraints and utilisation. Use `--placer-heap-cell-placement-timeout` to change the number of attempts.\n",
891+
log_error("Unable to find legal placement for cell '%s' after %d attempts, check constraints and "
892+
"utilisation. Use `--placer-heap-cell-placement-timeout` to change the number of "
893+
"attempts.\n",
891894
ctx->nameOf(ci), total_iters_for_cell);
892895

893896
// Determine a search radius around the solver location (which increases over time) that is clamped to

0 commit comments

Comments
 (0)