Windows 10 lacks the GroupMasks/GroupCount members used when parsing RelationCache, which causes compile failures on Windows 10 hosts.
The change provides a conditional fallback to the older Windows 10 struct layout so the code compiles and behaves the same on Windows 10 and 11.
Description
Added #include <type_traits> and a HasGroupCount type trait to detect at compile-time whether Cache.GroupCount is present.
Implemented two overloads of readCacheMembers(...) that read cache group data using either Cache.GroupMasks/GroupCount or the older Cache.GroupMask layout.
Replaced direct uses of info->Cache.GroupCount/GroupMasks for RelationCache handling with readCacheMembers(...) to safely populate L3 domain CPU sets.
The only modified file is src/numa.h where the compatibility machinery and usage were added.
Testing
Built the project successfully with make -C src -j2 build (build completed without errors).
Running make -j2 at repository root was not applicable because no top-level Makefile exists.
No additional automated tests were added or run beyond the successful project build.
Verified the modified file src/numa.h compiles as part of the build.
Hello,
Wordfish-3 80-120126 does not work when “MCTS enabled” is selected.
Kind regards, Karl Kungl