Skip to content

Commit

Permalink
Remove offset in thread redistribution scheme.
Browse files Browse the repository at this point in the history
doesn't have a benefit.

passed STC (8 threads):
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 19574 W: 4028 L: 3904 D: 11642
http://tests.stockfishchess.org/tests/view/5b3e48950ebc5902b9fff080

passed LTC (8 threads):
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 21293 W: 3626 L: 3506 D: 14161
http://tests.stockfishchess.org/tests/view/5b3eefd60ebc5902b9fffa81

Closes official-stockfish#1667

No functional change single threaded.
  • Loading branch information
vondele authored and snicolet committed Jul 7, 2018
1 parent 0f48095 commit d2752fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -331,7 +331,7 @@ void Thread::search() {
if (idx > 0)
{
int i = (idx - 1) % 20;
if (((rootDepth / ONE_PLY + rootPos.game_ply() + SkipPhase[i]) / SkipSize[i]) % 2)
if (((rootDepth / ONE_PLY + SkipPhase[i]) / SkipSize[i]) % 2)
continue; // Retry with an incremented rootDepth
}

Expand Down

0 comments on commit d2752fd

Please sign in to comment.