mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
fixup
This commit is contained in:
parent
86953b9392
commit
2f882309d5
2 changed files with 4 additions and 10 deletions
|
@ -360,6 +360,7 @@ endif
|
|||
ifneq (,$(findstring mpi, $(CXX)))
|
||||
mpi = yes
|
||||
CXXFLAGS += -DUSE_MPI -Wno-cast-qual
|
||||
DEPENDFLAGS += -DUSE_MPI
|
||||
endif
|
||||
|
||||
### ==========================================================================
|
||||
|
|
|
@ -82,20 +82,13 @@ void sync_stop();
|
|||
|
||||
inline void init() { }
|
||||
inline void finalize() { }
|
||||
inline bool getline(std::istream& input, std::string& str) {
|
||||
|
||||
return static_cast<bool>(std::getline(input, str));
|
||||
}
|
||||
inline bool getline(std::istream& input, std::string& str) { return static_cast<bool>(std::getline(input, str)); }
|
||||
constexpr int size() { return 1; }
|
||||
constexpr int rank() { return 0; }
|
||||
constexpr bool is_root() { return true; }
|
||||
inline void save(Thread* thread, TTEntry* tte, Key k, Value v, Bound b, Depth d, Move m, Value ev) {
|
||||
|
||||
(void)thread;
|
||||
tte->save(k, v, b, d, m, ev);
|
||||
}
|
||||
inline void save(Thread*, TTEntry* tte, Key k, Value v, Bound b, Depth d, Move m, Value ev) { tte->save(k, v, b, d, m, ev); }
|
||||
inline void pick_moves(MoveInfo&) { }
|
||||
inline void sum(uint64_t& val) { (void)val; }
|
||||
inline void sum(uint64_t& ) { }
|
||||
inline void sync_start() { }
|
||||
inline void sync_stop() { }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue