mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +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)))
|
ifneq (,$(findstring mpi, $(CXX)))
|
||||||
mpi = yes
|
mpi = yes
|
||||||
CXXFLAGS += -DUSE_MPI -Wno-cast-qual
|
CXXFLAGS += -DUSE_MPI -Wno-cast-qual
|
||||||
|
DEPENDFLAGS += -DUSE_MPI
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### ==========================================================================
|
### ==========================================================================
|
||||||
|
|
|
@ -82,20 +82,13 @@ void sync_stop();
|
||||||
|
|
||||||
inline void init() { }
|
inline void init() { }
|
||||||
inline void finalize() { }
|
inline void finalize() { }
|
||||||
inline bool getline(std::istream& input, std::string& str) {
|
inline bool getline(std::istream& input, std::string& str) { return static_cast<bool>(std::getline(input, str)); }
|
||||||
|
|
||||||
return static_cast<bool>(std::getline(input, str));
|
|
||||||
}
|
|
||||||
constexpr int size() { return 1; }
|
constexpr int size() { return 1; }
|
||||||
constexpr int rank() { return 0; }
|
constexpr int rank() { return 0; }
|
||||||
constexpr bool is_root() { return true; }
|
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) {
|
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); }
|
||||||
|
|
||||||
(void)thread;
|
|
||||||
tte->save(k, v, b, d, m, ev);
|
|
||||||
}
|
|
||||||
inline void pick_moves(MoveInfo&) { }
|
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_start() { }
|
||||||
inline void sync_stop() { }
|
inline void sync_stop() { }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue