Home
last modified time | relevance | path

Searched refs:__kmp_sys_max_nth (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dz_Linux_util.cpp1882 __kmp_sys_max_nth = sysconf(_SC_THREAD_THREADS_MAX); in __kmp_runtime_initialize()
1883 if (__kmp_sys_max_nth == -1) { in __kmp_runtime_initialize()
1885 __kmp_sys_max_nth = INT_MAX; in __kmp_runtime_initialize()
1886 } else if (__kmp_sys_max_nth <= 1) { in __kmp_runtime_initialize()
1888 __kmp_sys_max_nth = KMP_MAX_NTH; in __kmp_runtime_initialize()
Dkmp_global.cpp121 int __kmp_sys_max_nth = KMP_MAX_NTH; variable
Dkmp_runtime.cpp3556 KMP_DEBUG_ASSERT(__kmp_sys_max_nth >= __kmp_threads_capacity); in __kmp_expand_threads()
3559 if (__kmp_sys_max_nth - __kmp_threads_capacity < nNeed) { in __kmp_expand_threads()
3567 newCapacity = newCapacity <= (__kmp_sys_max_nth >> 1) ? (newCapacity << 1) in __kmp_expand_threads()
3568 : __kmp_sys_max_nth; in __kmp_expand_threads()
6715 if (__kmp_dflt_team_nth_ub > __kmp_sys_max_nth) { in __kmp_do_serial_initialize()
6716 __kmp_dflt_team_nth_ub = __kmp_sys_max_nth; in __kmp_do_serial_initialize()
6718 __kmp_max_nth = __kmp_sys_max_nth; in __kmp_do_serial_initialize()
6719 __kmp_cg_max_nth = __kmp_sys_max_nth; in __kmp_do_serial_initialize()
6721 if (__kmp_teams_max_nth > __kmp_sys_max_nth) { in __kmp_do_serial_initialize()
6722 __kmp_teams_max_nth = __kmp_sys_max_nth; in __kmp_do_serial_initialize()
[all …]
Dkmp_settings.cpp607 __kmp_stg_parse_int(name, value, 1, __kmp_sys_max_nth, &__kmp_max_nth); in __kmp_stg_parse_device_thread_limit()
623 __kmp_stg_parse_int(name, value, 1, __kmp_sys_max_nth, &__kmp_cg_max_nth); in __kmp_stg_parse_thread_limit()
637 __kmp_stg_parse_int(name, value, 1, __kmp_sys_max_nth, &__kmp_teams_max_nth); in __kmp_stg_parse_teams_thread_limit()
1131 } else if (num > __kmp_sys_max_nth) { in __kmp_parse_nested_num_threads()
1133 num = __kmp_sys_max_nth; in __kmp_parse_nested_num_threads()
Dkmp.h2994 extern int __kmp_sys_max_nth; /* system-imposed maximum number of threads */