]> git.sesse.net Git - stockfish/commitdiff
Revert and fix earlier windows NUMA patch
authornoobpwnftw <guo.bojun@gmail.com>
Sat, 20 Nov 2021 09:57:08 +0000 (17:57 +0800)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 22 Nov 2021 12:31:13 +0000 (13:31 +0100)
revert https://github.com/official-stockfish/Stockfish/commit/9048ac00db12a9ac48bff9b9eb145b30ff88d984 due to core spread problem and fix new OS compatibility with another method.

This code assumes that if one NUMA node has more than one processor groups, they are created equal(having equal amount of cores assigned to each of the groups), and also the total number of available cores contained in such groups are equal to the number of available cores within one NUMA node because of how best_node function works.

closes https://github.com/official-stockfish/Stockfish/pull/3798
fixes https://github.com/official-stockfish/Stockfish/pull/3787

No functional change.


No differences found