Well 3 out of 6, not bad, could have been worsebob wrote: Clearing hash is not even close to being enough. You need to clear primary hash (yes), clear pawn hash (no), clear eval hash (no), clear history counters (yes), clear killer moves (no, automaticaly cleared in search), clear counter-moves (yes)
Using UCI to get deterministic output from engine
Moderators: hgm, Rebel, chrisw
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Using UCI to get deterministic output from engine
-
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Using UCI to get deterministic output from engine
Where does it say that you have to clear killer moves in search?mcostalba wrote:Well 3 out of 6, not bad, could have been worsebob wrote: Clearing hash is not even close to being enough. You need to clear primary hash (yes), clear pawn hash (no), clear eval hash (no), clear history counters (yes), clear killer moves (no, automaticaly cleared in search), clear counter-moves (yes)
Agreed that you probably don't need to clear pawn hash and eval cache though, except if you're paranoid about false hash hits.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Using UCI to get deterministic output from engine
Killer moves are not cleared automatically in most programs. Eval and pawn hash need to be cleared if the goal is deterministic behavior with respect to time as well as score.mcostalba wrote:Well 3 out of 6, not bad, could have been worsebob wrote: Clearing hash is not even close to being enough. You need to clear primary hash (yes), clear pawn hash (no), clear eval hash (no), clear history counters (yes), clear killer moves (no, automaticaly cleared in search), clear counter-moves (yes)
I gave the safe approach.