Hello,
We are thinking about doing a chess engine in C++ 20 that would run on mobile devices.
CPU is then a concern and we are trying to find the best approch to have a good ratio CPU usage/ level of the engine.
Do you guys think something with neural network weights would be lighter than the classical intensive CPU approch?
Thank you
Best ratio CPU usage / level
Moderator: Ras
-
- Posts: 72
- Joined: Sun Nov 01, 2020 5:27 pm
- Full name: Richard Porti
-
- Posts: 3234
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Best ratio CPU usage / level
I doubt that, NNUE neural networks are currently implemented via vector-units (SSE, AVX2, NEON), which are more efficient than the CPU ALUs but I doubt that you will safe power usage with NNUE compared to classic HCE in an NPS or even Elo metric. SoCs have usual an dedicated neural engine, a TPU or MMAC unit, and a programmable GPU, might be worth to check out with an Lc0 CNN kind of approach.
--
Srdja