Reputation: 597
I would like to find the NUMA node for the current thread in Windows.
I found the answer here for Linux but I need it in Windows.
Upvotes: 1
Views: 1982
Reputation: 2813
Window's NUMA support is covered on MSDN. You can query GetCurrentProcessorNumber to get the processor number of the current thread and pass the result to GetNumaProcessorNode.
Upvotes: 3