From 86953b939242d729a03b137ccb7dec63bb1b26f7 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Wed, 19 Dec 2018 07:30:11 +0100 Subject: [PATCH] [cluster] Fix non-mpi compile fix compile of the cluster branch in the non-mpi case. Add a TODO as a reminder for the new voting scheme. No functional changes --- src/cluster.cpp | 2 ++ src/cluster.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cluster.cpp b/src/cluster.cpp index 8df03b7c..b74a49ea 100644 --- a/src/cluster.cpp +++ b/src/cluster.cpp @@ -232,6 +232,8 @@ void save(Thread* thread, TTEntry* tte, } } + +// TODO update to the scheme in master.. can this use aggregation of votes? void pick_moves(MoveInfo& mi) { MoveInfo* pMoveInfo = NULL; diff --git a/src/cluster.h b/src/cluster.h index 854b809d..383e7ade 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -95,7 +95,7 @@ inline void save(Thread* thread, TTEntry* tte, Key k, Value v, Bound b, Depth d, tte->save(k, v, b, d, m, ev); } inline void pick_moves(MoveInfo&) { } -void sum(uint64_t& val) { } +inline void sum(uint64_t& val) { (void)val; } inline void sync_start() { } inline void sync_stop() { }