1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-03 10:09:35 +00:00
BadFish/src
Joost VandeVondele 2559c20c6e [cluster] Fix oversight in TT key reuse
In the original code, the position key stored in the TT is used to probe&store TT entries after message passing. Since we only store part of the bits in the TT, this leads to incorrect rehashing. This is fixed in this patch storing also the full key in the send buffers, and using that for hashing after message arrival.

Short testing with 4 ranks (old vs new) shows this is effective:
Score of mpiold vs mpinew: 84 - 275 - 265  [0.347] 624
Elo difference: -109.87 +/- 20.88
2018-12-29 15:34:55 +01:00
..
syzygy MPI/Cluster implementation for Stockfish 2018-12-29 15:34:55 +01:00
benchmark.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
bitbase.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
bitboard.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
bitboard.h remove extra line. 2018-12-09 12:59:57 +01:00
cluster.cpp [cluster] Fix oversight in TT key reuse 2018-12-29 15:34:55 +01:00
cluster.h [cluster] Fix oversight in TT key reuse 2018-12-29 15:34:55 +01:00
endgame.cpp Improve endgame KBN vs K (#1877) 2018-12-24 10:44:38 +01:00
endgame.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
evaluate.cpp Always initialize and evaluate king safety 2018-12-27 21:38:31 +01:00
evaluate.h A combo of parameter tweaks 2018-12-13 13:35:35 +01:00
main.cpp Implement proper stop signalling from root node 2018-12-29 15:34:55 +01:00
Makefile [cluster] Fix oversight in TT key reuse 2018-12-29 15:34:55 +01:00
material.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
material.h Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
misc.cpp Fix crash in best_group() (#1891) 2018-12-24 11:20:14 +01:00
misc.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
movegen.cpp Simplify generate_castling (#1885) 2018-12-23 16:05:24 +01:00
movegen.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
movepick.cpp Revert "pseudo_legal() and MOVE_NONE" 2018-12-06 15:04:04 +01:00
movepick.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
pawns.cpp Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
pawns.h Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
position.cpp Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
position.h Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
psqt.cpp A combo of parameter tweaks 2018-12-13 13:35:35 +01:00
search.cpp Fix consistency between PV and bestmove output 2018-12-29 15:34:55 +01:00
search.h Implement proper stop signalling from root node 2018-12-29 15:34:55 +01:00
thread.cpp Implement proper stop signalling from root node 2018-12-29 15:34:55 +01:00
thread.h MPI/Cluster implementation for Stockfish 2018-12-29 15:34:55 +01:00
thread_win32.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
timeman.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
timeman.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
tt.cpp Use a bit less code to calculate hashfull() (#1830) 2018-12-23 16:10:07 +01:00
tt.h [cluster] Fix oversight in TT key reuse 2018-12-29 15:34:55 +01:00
types.h simplify opposite_colors 2018-12-09 12:59:57 +01:00
uci.cpp MPI/Cluster implementation for Stockfish 2018-12-29 15:34:55 +01:00
uci.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
ucioption.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00