[Openmp-commits] [openmp] [OpenMP] Add skewed iteration distribution on hybrid systems (PR #69946)
Johannes Doerfert via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 24 12:43:42 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;
----------------
jdoerfert wrote:
Is it really worth adding all these cases for 1 bit?
https://github.com/llvm/llvm-project/pull/69946
More information about the Openmp-commits
mailing list