Skip to content

Commit

Permalink
🎨 Incorporated pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 23, 2024
1 parent 584f824 commit c8823a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ TEST_CASE("Custom cost objective", "[graph-oriented-layout-design]")
const auto layout_high_effort =
graph_oriented_layout_design<gate_layout>(ntk, params, &stats, custom_cost_objective);


REQUIRE(layout_high_effort.has_value());
check_eq(ntk, *layout_high_effort);
}
Expand Down
6 changes: 3 additions & 3 deletions test/benchmark/graph_oriented_layout_design.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ TEST_CASE("Benchmark Graph-Oriented Layout Design", "[benchmark]")
auto ntk = blueprints::mux21_network<mockturtle::aig_network>();
auto params = fiction::graph_oriented_layout_design_params{};


BENCHMARK("graph_oriented_layout_design: high effiency")
{
params.mode = graph_oriented_layout_design_params::effort_mode::HIGH_EFFICIENCY;
Expand All @@ -47,9 +46,10 @@ TEST_CASE("Benchmark Graph-Oriented Layout Design", "[benchmark]")
params.mode = graph_oriented_layout_design_params::effort_mode::HIGHEST_EFFORT;

return graph_oriented_layout_design<gate_layout>(ntk, params);
};*/
};
* /

ntk = blueprints::parity_network<mockturtle::aig_network>();
ntk = blueprints::parity_network<mockturtle::aig_network>();
params.return_first = true;
params.mode = graph_oriented_layout_design_params::effort_mode::HIGHEST_EFFORT;
BENCHMARK("graph_oriented_layout_design: single-threading")
Expand Down

0 comments on commit c8823a5

Please sign in to comment.