]> git.sesse.net Git - stockfish/commit
Cache small net w/ psqtOnly support
authormstembera <m_stembera@yahoo.com>
Fri, 26 Apr 2024 01:20:08 +0000 (18:20 -0700)
committerDisservin <disservin.social@gmail.com>
Sun, 28 Apr 2024 19:30:19 +0000 (21:30 +0200)
commit940a3a7383f48cea7aacbbe335671aa0d3ead1ae
treedc34fea160f743ea3abce91c05ed5e7723241a74
parentbc45cbc820a53a9fc405c06ca67bd7be3970344e
Cache small net w/ psqtOnly support

Caching the small net in the same way as the big net allows them to
share the same code path and completely removes
update_accumulator_refresh().

STC:
https://tests.stockfishchess.org/tests/view/662bfb5ed46f72253dcfed85
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 151712 W: 39252 L: 39158 D: 73302
Ptnml(0-2): 565, 17474, 39683, 17570, 564

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

Bench: 1836777
src/evaluate.cpp
src/nnue/network.cpp
src/nnue/network.h
src/nnue/nnue_accumulator.h
src/nnue/nnue_feature_transformer.h
src/nnue/nnue_misc.cpp