]> git.sesse.net Git - stockfish/commit - src/evaluate.cpp
Use NNUE in low piece endgames close to the root.
authorTopologist <thelisting@web.de>
Sat, 9 Apr 2022 06:55:40 +0000 (08:55 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 12 Apr 2022 15:43:50 +0000 (17:43 +0200)
commit19a90b45bceb69aa62b5c85366343a7d1cfc695f
tree31d2597392b3a71415b454ad1f00404c4771c427
parent9f6bcb38c032a18c8b1aec318d5c7255827f9c7b
Use NNUE in low piece endgames close to the root.

This patch enforces that NNUE evaluation is used for endgame positions at shallow depth (depth <= 9).
Classic evaluation will still be used for high imbalance positions when the depth is high or there are many pieces.

Passed STC:
https://tests.stockfishchess.org/tests/view/624c193b3a8a6ac93892dc27
LLR: 2.94 (-2.94,2.94) <0.00,2.50>
Total: 255840 W: 68024 L: 67362 D: 120454
Ptnml(0-2): 1074, 27089, 70926, 27763, 1068

Passed LTC:
https://tests.stockfishchess.org/tests/view/624e8675e9e7821808467f77
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 67088 W: 17784 L: 17454 D: 31850
Ptnml(0-2): 45, 6209, 20715, 6521, 54

closes https://github.com/official-stockfish/Stockfish/pull/3978

bench: 6602222
src/evaluate.cpp
src/search.cpp
src/thread.h