Merge remote-tracking branch 'upstream/master' into clusterMergeMaster7

This commit is contained in:
Joost VandeVondele
2019-10-20 09:20:34 +02:00
32 changed files with 476 additions and 440 deletions
+3 -3
View File
@@ -194,9 +194,8 @@ void UCI::loop(int argc, char* argv[]) {
Position pos;
string token, cmd;
StateListPtr states(new std::deque<StateInfo>(1));
auto uiThread = std::make_shared<Thread>(0);
pos.set(StartFEN, false, &states->back(), uiThread.get());
pos.set(StartFEN, false, &states->back(), Threads.main());
for (int i = 1; i < argc; ++i)
cmd += std::string(argv[i]) + " ";
@@ -233,7 +232,8 @@ void UCI::loop(int argc, char* argv[]) {
else if (token == "isready" && Cluster::is_root())
sync_cout << "readyok" << sync_endl;
// Additional custom non-UCI commands, mainly for debugging
// Additional custom non-UCI commands, mainly for debugging.
// Do not use these commands during a search!
else if (token == "flip") pos.flip();
else if (token == "bench") bench(pos, is, states);
else if (token == "d" && Cluster::is_root())