This self-contained code sample shows you how to get the topology of a CPU.
Clone this repo and open a 64-bit Visual Studio Developer Command Prompt in the root directory.
cmake -B build
cmake --build build --config Release- Windows 10 x64
- Windows 11 x64