From 4d120ee02edff250a6661e63d913e70efc37e2b6 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 20 Aug 2013 09:01:25 +0200 Subject: [PATCH] Stockfish 4 Stockfish bench signature is: 4132374 --- polyglot.ini | 2 +- src/misc.cpp | 2 +- src/uci.cpp | 3 +-- src/ucioption.cpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/polyglot.ini b/polyglot.ini index 739ed876..26320f4d 100644 --- a/polyglot.ini +++ b/polyglot.ini @@ -32,7 +32,7 @@ Cowardice = 100 Min Split Depth = 0 Max Threads per Split Point = 5 Threads = 1 -Idle Threads Sleep = true +Idle Threads Sleep = false Hash = 128 Ponder = true OwnBook = false diff --git a/src/misc.cpp b/src/misc.cpp index 5bf7bae8..495ad4a8 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -28,7 +28,7 @@ using namespace std; /// Version number. If Version is left empty, then compile date, in the /// format DD-MM-YY, is shown in engine_info. -static const string Version = ""; +static const string Version = "4"; /// engine_info() returns the full name of the current Stockfish version. This diff --git a/src/uci.cpp b/src/uci.cpp index 395b78a8..caf1b5c2 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -27,7 +27,6 @@ #include "position.h" #include "search.h" #include "thread.h" -#include "tt.h" #include "ucioption.h" using namespace std; @@ -108,7 +107,7 @@ void UCI::loop(const string& args) { Search::RootColor = pos.side_to_move(); // Ensure it is set sync_cout << Eval::trace(pos) << sync_endl; } - else if (token == "ucinewgame") TT.clear(); + else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ } else if (token == "go") go(pos, is); else if (token == "position") position(pos, is); else if (token == "setoption") setoption(is); diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 384d9317..b18f0992 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -72,7 +72,7 @@ void init(OptionsMap& o) { o["Min Split Depth"] = Option(0, 0, 12, on_threads); o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads); o["Threads"] = Option(1, 1, MAX_THREADS, on_threads); - o["Idle Threads Sleep"] = Option(true); + o["Idle Threads Sleep"] = Option(false); o["Hash"] = Option(32, 1, 8192, on_hash_size); o["Clear Hash"] = Option(on_clear_hash); o["Ponder"] = Option(true); -- 2.39.2