]> git.sesse.net Git - stockfish/commitdiff
Stockfish DD
authorMarco Costalba <mcostalba@gmail.com>
Fri, 29 Nov 2013 09:23:14 +0000 (10:23 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 29 Nov 2013 09:23:14 +0000 (10:23 +0100)
Stockfish bench signature is: 8596156

polyglot.ini
src/misc.cpp
src/uci.cpp
src/ucioption.cpp

index 739ed8765d4df2ddf00f0a559fd86218254f3e58..26320f4d9ea5cabecb15156e64120c73f8fc8a70 100644 (file)
@@ -32,7 +32,7 @@ Cowardice = 100
 Min Split Depth = 0
 Max Threads per Split Point = 5
 Threads = 1
 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
 Hash = 128
 Ponder = true
 OwnBook = false
index b9a802ad3c3bdb4ccb2afe2abf06f2841f41fd8c..d11ab8d785625fc471aa7bcaae19b00f31fd9c00 100644 (file)
@@ -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.
 
 /// 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 = "DD";
 
 
 /// engine_info() returns the full name of the current Stockfish version. This
 
 
 /// engine_info() returns the full name of the current Stockfish version. This
index 395b78a813bf4e9342a14ba44f7ef78e3ba9f6aa..caf1b5c2fed08d67084b09c584ba1c7f4c7716c1 100644 (file)
@@ -27,7 +27,6 @@
 #include "position.h"
 #include "search.h"
 #include "thread.h"
 #include "position.h"
 #include "search.h"
 #include "thread.h"
-#include "tt.h"
 #include "ucioption.h"
 
 using namespace std;
 #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;
       }
           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);
       else if (token == "go")         go(pos, is);
       else if (token == "position")   position(pos, is);
       else if (token == "setoption")  setoption(is);
index 08afa04cdb330fc81739630d206593b780d99509..c8dc7f466ec11378581d3523723fbe49289b2996 100644 (file)
@@ -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["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);
   o["Hash"]                        = Option(32, 1, 8192, on_hash_size);
   o["Clear Hash"]                  = Option(on_clear_hash);
   o["Ponder"]                      = Option(true);