Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp_settings.cpp
Show First 20 Lines • Show All 3,817 Lines • ▼ Show 20 Lines | |||||
static void __kmp_stg_print_kmp_hand_thread(kmp_str_buf_t *buffer, | static void __kmp_stg_print_kmp_hand_thread(kmp_str_buf_t *buffer, | ||||
char const *name, void *data) { | char const *name, void *data) { | ||||
__kmp_stg_print_bool(buffer, name, __kmp_dispatch_hand_threading); | __kmp_stg_print_bool(buffer, name, __kmp_dispatch_hand_threading); | ||||
} // __kmp_stg_print_kmp_hand_thread | } // __kmp_stg_print_kmp_hand_thread | ||||
#endif | #endif | ||||
// ----------------------------------------------------------------------------- | // ----------------------------------------------------------------------------- | ||||
// KMP_FORCE_MONOTONIC_DYNAMIC_SCHEDULE | |||||
static void __kmp_stg_parse_kmp_force_monotonic(char const *name, | |||||
char const *value, void *data) { | |||||
__kmp_stg_parse_bool(name, value, &(__kmp_force_monotonic)); | |||||
} // __kmp_stg_parse_kmp_force_monotonic | |||||
Nawrin: Could you please change the comment from hand_thread to force_monotonic? | |||||
static void __kmp_stg_print_kmp_force_monotonic(kmp_str_buf_t *buffer, | |||||
char const *name, void *data) { | |||||
__kmp_stg_print_bool(buffer, name, __kmp_force_monotonic); | |||||
} // __kmp_stg_print_kmp_force_monotonic | |||||
Not Done ReplyInline ActionsSame as above Nawrin: Same as above | |||||
// ----------------------------------------------------------------------------- | |||||
// KMP_ATOMIC_MODE | // KMP_ATOMIC_MODE | ||||
static void __kmp_stg_parse_atomic_mode(char const *name, char const *value, | static void __kmp_stg_parse_atomic_mode(char const *name, char const *value, | ||||
void *data) { | void *data) { | ||||
// Modes: 0 -- do not change default; 1 -- Intel perf mode, 2 -- GOMP | // Modes: 0 -- do not change default; 1 -- Intel perf mode, 2 -- GOMP | ||||
// compatibility mode. | // compatibility mode. | ||||
int mode = 0; | int mode = 0; | ||||
int max = 1; | int max = 1; | ||||
▲ Show 20 Lines • Show All 1,059 Lines • ▼ Show 20 Lines | #endif // KMP_AFFINITY_SUPPORTED | ||||
{"KMP_SCHEDULE", __kmp_stg_parse_schedule, __kmp_stg_print_schedule, NULL, | {"KMP_SCHEDULE", __kmp_stg_parse_schedule, __kmp_stg_print_schedule, NULL, | ||||
0, 0}, | 0, 0}, | ||||
{"OMP_SCHEDULE", __kmp_stg_parse_omp_schedule, __kmp_stg_print_omp_schedule, | {"OMP_SCHEDULE", __kmp_stg_parse_omp_schedule, __kmp_stg_print_omp_schedule, | ||||
NULL, 0, 0}, | NULL, 0, 0}, | ||||
#if KMP_USE_HIER_SCHED | #if KMP_USE_HIER_SCHED | ||||
{"KMP_DISP_HAND_THREAD", __kmp_stg_parse_kmp_hand_thread, | {"KMP_DISP_HAND_THREAD", __kmp_stg_parse_kmp_hand_thread, | ||||
__kmp_stg_print_kmp_hand_thread, NULL, 0, 0}, | __kmp_stg_print_kmp_hand_thread, NULL, 0, 0}, | ||||
#endif | #endif | ||||
{"KMP_FORCE_MONOTONIC_DYNAMIC_SCHEDULE", | |||||
__kmp_stg_parse_kmp_force_monotonic, __kmp_stg_print_kmp_force_monotonic, | |||||
NULL, 0, 0}, | |||||
{"KMP_ATOMIC_MODE", __kmp_stg_parse_atomic_mode, | {"KMP_ATOMIC_MODE", __kmp_stg_parse_atomic_mode, | ||||
__kmp_stg_print_atomic_mode, NULL, 0, 0}, | __kmp_stg_print_atomic_mode, NULL, 0, 0}, | ||||
{"KMP_CONSISTENCY_CHECK", __kmp_stg_parse_consistency_check, | {"KMP_CONSISTENCY_CHECK", __kmp_stg_parse_consistency_check, | ||||
__kmp_stg_print_consistency_check, NULL, 0, 0}, | __kmp_stg_print_consistency_check, NULL, 0, 0}, | ||||
#if USE_ITT_BUILD && USE_ITT_NOTIFY | #if USE_ITT_BUILD && USE_ITT_NOTIFY | ||||
{"KMP_ITT_PREPARE_DELAY", __kmp_stg_parse_itt_prepare_delay, | {"KMP_ITT_PREPARE_DELAY", __kmp_stg_parse_itt_prepare_delay, | ||||
__kmp_stg_print_itt_prepare_delay, NULL, 0, 0}, | __kmp_stg_print_itt_prepare_delay, NULL, 0, 0}, | ||||
▲ Show 20 Lines • Show All 886 Lines • Show Last 20 Lines |
Could you please change the comment from hand_thread to force_monotonic?