summaryrefslogtreecommitdiff
path: root/tabulator-mpi/worker.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 21:39:37 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 21:39:37 -0400
commit6b2cbe6c00c1b008e3145c1adf6096640f4e7bbd (patch)
tree6c53b7bdc207f7acb024ccdcec64ca2c64211050 /tabulator-mpi/worker.cpp
parent82699138982bf177366c52757e888d7ca3f04b66 (diff)
downloadlib94-6b2cbe6c00c1b008e3145c1adf6096640f4e7bbd.tar.gz
template single_step and executors on whether to update address sets to improve performance in non-gui programs
Diffstat (limited to 'tabulator-mpi/worker.cpp')
-rw-r--r--tabulator-mpi/worker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabulator-mpi/worker.cpp b/tabulator-mpi/worker.cpp
index e9768b2..47b8eeb 100644
--- a/tabulator-mpi/worker.cpp
+++ b/tabulator-mpi/worker.cpp
@@ -15,7 +15,7 @@ static int do_round(const lib94::warrior *w1, const lib94::warrior *w2) {
lib94::init_round(ws, 2);
for (int i = 0; i < 1000000; ++i) {
- const lib94::warrior *result = lib94::single_step();
+ const lib94::warrior *result = lib94::single_step<false>();
if (result == w1)
return -1;
if (result == w2)