]> git.sesse.net Git - stockfish/commitdiff
Merge branch 'eval_cache'
authorMarco Costalba <mcostalba@gmail.com>
Tue, 4 Dec 2012 06:57:46 +0000 (07:57 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 4 Dec 2012 07:05:15 +0000 (08:05 +0100)
Use an eval cache instead of TT to store node
position evaluations.

It is already an improvment and, because it frees
two TT entry slots, paves the way to extend TT to
store both upper and lower bounds.

After 4855 games, single thread, 15"+0.05
Mod vs Orig 1165 -920 - 2770 ELO +18

bench: 5149248

src/thread.h

index 488feeb50053541b45c86bb02db7d151d22934a3..6c3c18affdb0a134b08f4f23cbb87a5a87a40dd6 100644 (file)
@@ -29,7 +29,7 @@
 #include "position.h"
 #include "search.h"
 
-const int MAX_THREADS = 32;
+const int MAX_THREADS = 64; // Because SplitPoint::slavesMask is a uint64_t
 const int MAX_SPLITPOINTS_PER_THREAD = 8;
 
 struct Mutex {