[Openmp-commits] [openmp] 2aea0a9 - [OpenMP][libomp] Switch Intel topology type values: module, tile

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 18 10:12:11 PST 2023


Author: Jonathan Peyton
Date: 2023-01-18T12:11:43-06:00
New Revision: 2aea0a9de093624b39cf919af8d2755fe9cfec5a

URL: https://github.com/llvm/llvm-project/commit/2aea0a9de093624b39cf919af8d2755fe9cfec5a
DIFF: https://github.com/llvm/llvm-project/commit/2aea0a9de093624b39cf919af8d2755fe9cfec5a.diff

LOG: [OpenMP][libomp] Switch Intel topology type values: module, tile

According to Software Developer Manual, modules should be value 3 and
tile should be value 4.

Added: 
    

Modified: 
    openmp/runtime/src/kmp_affinity.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_affinity.cpp b/openmp/runtime/src/kmp_affinity.cpp
index f4d40457bfc1..693d7a86fee5 100644
--- a/openmp/runtime/src/kmp_affinity.cpp
+++ b/openmp/runtime/src/kmp_affinity.cpp
@@ -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,
 };


        


More information about the Openmp-commits mailing list