diff options
| -rw-r--r-- | contrib/libs/cxxsupp/openmp/kmp.h | 2 | ||||
| -rw-r--r-- | contrib/libs/cxxsupp/openmp/patches/increase_default_monitor_satcksize.patch | 11 |
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 + |
