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.
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.