summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-11-25 22:57:39 +0300
committerrobot-piglet <[email protected]>2024-11-25 23:07:24 +0300
commitecac2a7eba9f9b88b1a36075fa19c6cc35b9b001 (patch)
treed4c384bb32a5c3793e29e9af5aef4a97ea290a9d
parent4890e0b733bbd6d053bd552441a7a8ead68b0c62 (diff)
Intermediate changes
commit_hash:420430bd2955a92b920f1a4490b1f40b822c09d3
-rw-r--r--contrib/libs/cxxsupp/openmp/kmp.h2
-rw-r--r--contrib/libs/cxxsupp/openmp/patches/increase_default_monitor_satcksize.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/openmp/kmp.h b/contrib/libs/cxxsupp/openmp/kmp.h
index 4b9602626aa..8c84b83b147 100644
--- a/contrib/libs/cxxsupp/openmp/kmp.h
+++ b/contrib/libs/cxxsupp/openmp/kmp.h
@@ -1100,7 +1100,7 @@ extern void __kmp_init_target_mem();
#define KMP_DEFAULT_BLOCKTIME (__kmp_is_hybrid_cpu() ? (0) : (200))
#if KMP_USE_MONITOR
-#define KMP_DEFAULT_MONITOR_STKSIZE ((size_t)(64 * 1024))
+#define KMP_DEFAULT_MONITOR_STKSIZE ((size_t)(1024 * 1024))
#define KMP_MIN_MONITOR_WAKEUPS (1) // min times monitor wakes up per second
#define KMP_MAX_MONITOR_WAKEUPS (1000) // max times monitor can wake up per sec
diff --git a/contrib/libs/cxxsupp/openmp/patches/increase_default_monitor_satcksize.patch b/contrib/libs/cxxsupp/openmp/patches/increase_default_monitor_satcksize.patch
new file mode 100644
index 00000000000..a729cfb241d
--- /dev/null
+++ b/contrib/libs/cxxsupp/openmp/patches/increase_default_monitor_satcksize.patch
@@ -0,0 +1,11 @@
+--- contrib/libs/cxxsupp/openmp/kmp.h (index)
++++ contrib/libs/cxxsupp/openmp/kmp.h (working tree)
+@@ -1100,7 +1100,7 @@ extern void __kmp_init_target_mem();
+ #define KMP_DEFAULT_BLOCKTIME (__kmp_is_hybrid_cpu() ? (0) : (200))
+
+ #if KMP_USE_MONITOR
+-#define KMP_DEFAULT_MONITOR_STKSIZE ((size_t)(64 * 1024))
++#define KMP_DEFAULT_MONITOR_STKSIZE ((size_t)(1024 * 1024))
+ #define KMP_MIN_MONITOR_WAKEUPS (1) // min times monitor wakes up per second
+ #define KMP_MAX_MONITOR_WAKEUPS (1000) // max times monitor can wake up per sec
+