[OpenMP] Set default blocktime to 0 for hybrid cpu
Differential Revision:https://reviews.llvm.org/D113012
This commit is contained in:
parent
84c5702b76
commit
7a5680233e
|
@ -1081,7 +1081,9 @@ extern void __kmp_init_target_mem();
|
|||
#define KMP_MIN_BLOCKTIME (0)
|
||||
#define KMP_MAX_BLOCKTIME \
|
||||
(INT_MAX) /* Must be this for "infinite" setting the work */
|
||||
#define KMP_DEFAULT_BLOCKTIME (200) /* __kmp_blocktime is in milliseconds */
|
||||
|
||||
/* __kmp_blocktime is in milliseconds */
|
||||
#define KMP_DEFAULT_BLOCKTIME (__kmp_is_hybrid_cpu() ? (0) : (200))
|
||||
|
||||
#if KMP_USE_MONITOR
|
||||
#define KMP_DEFAULT_MONITOR_STKSIZE ((size_t)(64 * 1024))
|
||||
|
|
Loading…
Reference in a new issue