Does gcc, icc, or Microsoft's C/C++ compiler support or know anything about NUMA?

前端 未结 3 1577
梦如初夏
梦如初夏 2021-02-03 10:59

If I have a multi-processor board that has cache-coherent non-uniform memory access ( NUMA ), i.e. separate \"northbridges\" with separate RAM for each processor, does any compi

3条回答
  •  甜味超标
    2021-02-03 11:39

    For MS platforms, the compiler is not aware of NUMA. However, the system is NUMA aware and will attempt to allocate memory in the same node.

    See http://code.msdn.microsoft.com/64plusLP for some more details on how recent versions of Windows handle NUMA.

提交回复
热议问题