Skip to content

Commit 8ecfc3c

Browse files
locutus2vondele
authored andcommitted
Bigger thread dependent initial window.
Increase the initial delta of the aspiration window by "thread id mod 8". Passed SMP STC: LLR: 2.96 (-2.94,2.94) <0.00,2.00> Total: 106176 W: 27470 L: 27069 D: 51637 Ptnml(0-2): 121, 12032, 28386, 12423, 126 https://tests.stockfishchess.org/tests/view/68a178fab6fb3300203bbaec Passed SMP LTC: LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 133076 W: 34272 L: 33772 D: 65032 Ptnml(0-2): 38, 13709, 38537, 14223, 31 https://tests.stockfishchess.org/tests/view/68a1b5d2b6fb3300203bbb71 closes #6239 No functional change
1 parent 2176c93 commit 8ecfc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void Search::Worker::iterative_deepening() {
322322
selDepth = 0;
323323

324324
// Reset aspiration window starting size
325-
delta = 5 + std::abs(rootMoves[pvIdx].meanSquaredScore) / 11131;
325+
delta = 5 + threadIdx % 8 + std::abs(rootMoves[pvIdx].meanSquaredScore) / 11131;
326326
Value avg = rootMoves[pvIdx].averageScore;
327327
alpha = std::max(avg - delta, -VALUE_INFINITE);
328328
beta = std::min(avg + delta, VALUE_INFINITE);

0 commit comments

Comments
 (0)