Skip to content

Commit

Permalink
Update game_of_life_always_inline.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Aug 8, 2024
1 parent 8cdac17 commit 9e66b7b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions parallel_algorithms/game_of_life_always_inline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,11 @@ bool run_board() {
}

int main() {

const auto result = run_board<1000, 1000, 500>();
if (result) {
puts("yup");
}
if (run_board<10, 10, 5'000'000>()) { puts("yup1"); }
if (run_board<100, 10, 500'000>()) { puts("yup2"); }
if (run_board<100, 100, 50'000>()) { puts("yup3"); }
if (run_board<100, 1000, 5'000>()) { puts("yup4"); }
if (run_board<1000, 1000, 500>()) { puts("yup5"); }
if (run_board<10000, 1000, 50>()) { puts("yup6"); }
if (run_board<10000, 10000, 5>()) { puts("yup7"); }
}

0 comments on commit 9e66b7b

Please sign in to comment.