[OpenMP][libomp] Switch Intel topology type values: module, tile
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 18 Jan 2023 18:05:01 +0000 (12:05 -0600)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 18 Jan 2023 18:11:43 +0000 (12:11 -0600)
According to Software Developer Manual, modules should be value 3 and
tile should be value 4.

openmp/runtime/src/kmp_affinity.cpp

index f4d4045..693d7a8 100644 (file)
@@ -2429,8 +2429,8 @@ enum {
   INTEL_LEVEL_TYPE_INVALID = 0, // Package level
   INTEL_LEVEL_TYPE_SMT = 1,
   INTEL_LEVEL_TYPE_CORE = 2,
-  INTEL_LEVEL_TYPE_TILE = 3,
-  INTEL_LEVEL_TYPE_MODULE = 4,
+  INTEL_LEVEL_TYPE_MODULE = 3,
+  INTEL_LEVEL_TYPE_TILE = 4,
   INTEL_LEVEL_TYPE_DIE = 5,
   INTEL_LEVEL_TYPE_LAST = 6,
 };