[OpenMP] Add cpuid leaf 1f topology discovery
authorPeyton, Jonathan L <jonathan.l.peyton@intel.com>
Fri, 15 Jan 2021 19:38:50 +0000 (13:38 -0600)
committerPeyton, Jonathan L <jonathan.l.peyton@intel.com>
Wed, 27 Jan 2021 20:27:23 +0000 (14:27 -0600)
commit598c590b3c9684471a5186221c500b1fd7a4e325
tree43fe093b852187a28d060e49f4a6d2272e86a37d
parent9f87c6b47df977f2be04535021e7fd08abb9376d
[OpenMP] Add cpuid leaf 1f topology discovery

This patch adds the new algorithm for topology discovery using cpuid
leaf 1f.  Only the new die level is detected and integrated into the
current affinity mechanisms including KMP_AFFINITY (granularity level
and compact/scatter algorithm), OMP_PLACES=dies, and KMP_HW_SUBSET.

Differential Revision: https://reviews.llvm.org/D95157
openmp/runtime/src/i18n/en_US.txt
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_global.cpp
openmp/runtime/src/kmp_settings.cpp