]> git.sesse.net Git - stockfish/commit
Implement AffineTransformSparseInput for armv8
authorAndrovT <31534597+AndrovT@users.noreply.github.com>
Tue, 1 Aug 2023 12:43:37 +0000 (14:43 +0200)
committerStéphane Nicolet <cassio@free.fr>
Sun, 6 Aug 2023 19:22:37 +0000 (21:22 +0200)
commita6d9a302b867a76c3df5b658de6206e77b649a4d
treeb12269eb4cf502b2f9a126f891909b8185c3aa13
parent4c43e1e27ce990735fb0226e35248fc82ea6a519
Implement AffineTransformSparseInput for armv8

Implements AffineTransformSparseInput layer for the NNUE evaluation
for the armv8 and armv8-dotprod architectures. We measured some nice
speed improvements via 10 runs of our benchmark:

armv8, Cortex-X1                  :   18.5% speed-up
armv8, Cortex-A76                 :   13.2% speed-up
armv8-dotprod, Cortex-X1          :   27.1% speed-up
armv8-dotprod, Cortex-A76         :   12.1% speed-up
armv8, Cortex-A72, Raspberry Pi 4 :    8.2% speed-up (thanks Torom!)

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

No functional change
src/nnue/layers/affine_transform_sparse_input.h
src/nnue/layers/simd.h