Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp_global.cpp
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#ifdef KMP_ADJUST_BLOCKTIME | #ifdef KMP_ADJUST_BLOCKTIME | ||||
int __kmp_zero_bt = FALSE; | int __kmp_zero_bt = FALSE; | ||||
#endif /* KMP_ADJUST_BLOCKTIME */ | #endif /* KMP_ADJUST_BLOCKTIME */ | ||||
#ifdef KMP_DFLT_NTH_CORES | #ifdef KMP_DFLT_NTH_CORES | ||||
int __kmp_ncores = 0; | int __kmp_ncores = 0; | ||||
#endif | #endif | ||||
int __kmp_chunk = 0; | int __kmp_chunk = 0; | ||||
int __kmp_force_monotonic = 0; | |||||
int __kmp_abort_delay = 0; | int __kmp_abort_delay = 0; | ||||
#if KMP_OS_LINUX && defined(KMP_TDATA_GTID) | #if KMP_OS_LINUX && defined(KMP_TDATA_GTID) | ||||
int __kmp_gtid_mode = 3; /* use __declspec(thread) TLS to store gtid */ | int __kmp_gtid_mode = 3; /* use __declspec(thread) TLS to store gtid */ | ||||
int __kmp_adjust_gtid_mode = FALSE; | int __kmp_adjust_gtid_mode = FALSE; | ||||
#elif KMP_OS_WINDOWS | #elif KMP_OS_WINDOWS | ||||
int __kmp_gtid_mode = 2; /* use TLS functions to store gtid */ | int __kmp_gtid_mode = 2; /* use TLS functions to store gtid */ | ||||
int __kmp_adjust_gtid_mode = FALSE; | int __kmp_adjust_gtid_mode = FALSE; | ||||
#else | #else | ||||
▲ Show 20 Lines • Show All 368 Lines • Show Last 20 Lines |