[Openmp-commits] [openmp] [OpenMP] Add skewed iteration distribution on hybrid systems (PR #69946)

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 25 15:37:20 PDT 2023


================
@@ -1847,6 +1848,14 @@ typedef struct kmp_sched_flags {
   unsigned contains_last : 1;
 #if KMP_USE_HIER_SCHED
   unsigned use_hier : 1;
+#if KMP_AFFINITY_SUPPORTED && KMP_STATIC_STEAL_ENABLED
+  unsigned use_hybrid : 1;
+  unsigned unused : 27;
+#else
+  unsigned unused : 28;
+#endif
+#elif KMP_AFFINITY_SUPPORTED && KMP_STATIC_STEAL_ENABLED
+  unsigned use_hybrid : 1;
----------------
jpeyton52 wrote:

Removed the macros here and put comments for relevant macros

https://github.com/llvm/llvm-project/pull/69946


More information about the Openmp-commits mailing list