LLVM OpenMP 19.0.0git
Functions | Variables
kmp_global.cpp File Reference
#include "kmp.h"
#include "kmp_affinity.h"

Go to the source code of this file.

Functions

 KMP_BUILD_ASSERT (sizeof(kmp_tasking_flags_t)==4)
 
KMP_ALIGN_CACHE KMP_BOOTSTRAP_LOCK_INIT (__kmp_initz_lock)
 
 KMP_BOOTSTRAP_LOCK_INIT (__kmp_forkjoin_lock)
 
 KMP_BOOTSTRAP_LOCK_INIT (__kmp_exit_lock)
 
 KMP_BOOTSTRAP_LOCK_INIT (__kmp_tp_cached_lock)
 
 KMP_LOCK_INIT (__kmp_global_lock)
 
 KMP_LOCK_INIT (__kmp_debug_lock)
 

Variables

kmp_key_t __kmp_gtid_threadprivate_key
 
volatile int __kmp_init_serial = FALSE
 
volatile int __kmp_init_gtid = FALSE
 
volatile int __kmp_init_common = FALSE
 
volatile int __kmp_need_register_serial = TRUE
 
volatile int __kmp_init_middle = FALSE
 
volatile int __kmp_init_parallel = FALSE
 
volatile int __kmp_init_hidden_helper = FALSE
 
volatile int __kmp_init_hidden_helper_threads = FALSE
 
volatile int __kmp_hidden_helper_team_done = FALSE
 
volatile int __kmp_init_user_locks = FALSE
 
kmp_cached_addr_t__kmp_threadpriv_cache_list = NULL
 
int __kmp_init_counter = 0
 
int __kmp_root_counter = 0
 
int __kmp_version = 0
 
std::atomic< kmp_int32__kmp_team_counter = 0
 
std::atomic< kmp_int32__kmp_task_counter = 0
 
size_t __kmp_stksize = KMP_DEFAULT_STKSIZE
 
size_t __kmp_stkoffset = KMP_DEFAULT_STKOFFSET
 
int __kmp_stkpadding = KMP_MIN_STKPADDING
 
size_t __kmp_malloc_pool_incr = KMP_DEFAULT_MALLOC_POOL_INCR
 
kmp_uint32 __kmp_barrier_gather_bb_dflt = 2
 
kmp_uint32 __kmp_barrier_release_bb_dflt = 2
 
kmp_bar_pat_e __kmp_barrier_gather_pat_dflt = bp_hyper_bar
 
kmp_bar_pat_e __kmp_barrier_release_pat_dflt = bp_hyper_bar
 
kmp_uint32 __kmp_barrier_gather_branch_bits [bs_last_barrier] = {0}
 
kmp_uint32 __kmp_barrier_release_branch_bits [bs_last_barrier] = {0}
 
kmp_bar_pat_e __kmp_barrier_gather_pattern [bs_last_barrier] = {bp_linear_bar}
 
kmp_bar_pat_e __kmp_barrier_release_pattern [bs_last_barrier] = {bp_linear_bar}
 
char const * __kmp_barrier_branch_bit_env_name [bs_last_barrier]
 
char const * __kmp_barrier_pattern_env_name [bs_last_barrier]
 
char const * __kmp_barrier_type_name [bs_last_barrier]
 
char const * __kmp_barrier_pattern_name [bp_last_bar]
 
int __kmp_allThreadsSpecified = 0
 
size_t __kmp_align_alloc = CACHE_LINE
 
int __kmp_generate_warnings = kmp_warnings_low
 
int __kmp_reserve_warn = 0
 
int __kmp_xproc = 0
 
int __kmp_avail_proc = 0
 
size_t __kmp_sys_min_stksize = KMP_MIN_STKSIZE
 
int __kmp_sys_max_nth = KMP_MAX_NTH
 
int __kmp_max_nth = 0
 
int __kmp_cg_max_nth = 0
 
int __kmp_task_max_nth = 0
 
int __kmp_teams_max_nth = 0
 
int __kmp_threads_capacity = 0
 
int __kmp_dflt_team_nth = 0
 
int __kmp_dflt_team_nth_ub = 0
 
int __kmp_tp_capacity = 0
 
int __kmp_tp_cached = 0
 
int __kmp_dispatch_num_buffers = KMP_DFLT_DISP_NUM_BUFF
 
int __kmp_dflt_max_active_levels = 1
 
bool __kmp_dflt_max_active_levels_set = false
 
enum library_type __kmp_library = library_none
 
enum sched_type __kmp_sched
 
enum sched_type __kmp_static
 
enum sched_type __kmp_guided
 
enum sched_type __kmp_auto
 
int __kmp_dflt_blocktime = KMP_DEFAULT_BLOCKTIME
 
char __kmp_blocktime_units = 'm'
 
bool __kmp_wpolicy_passive = false
 
int __kmp_chunk = 0
 
int __kmp_force_monotonic = 0
 
int __kmp_abort_delay = 0
 
int __kmp_gtid_mode = 0
 
int __kmp_adjust_gtid_mode = TRUE
 
int __kmp_tls_gtid_min = INT_MAX
 
int __kmp_foreign_tp = TRUE
 
kmp_nested_nthreads_t __kmp_nested_nth = {NULL, 0, 0}
 
int __kmp_display_env = FALSE
 
int __kmp_display_env_verbose = FALSE
 
int __kmp_omp_cancellation = FALSE
 
int __kmp_nteams = 0
 
int __kmp_teams_thread_limit = 0
 
enum sched_type __kmp_sch_map [kmp_sched_upper - kmp_sched_lower_ext+kmp_sched_upper_std - kmp_sched_lower - 2]
 
kmp_nested_proc_bind_t __kmp_nested_proc_bind = {NULL, 0, 0}
 
kmp_proc_bind_t __kmp_teams_proc_bind = proc_bind_spread
 
int __kmp_affinity_num_places = 0
 
int __kmp_display_affinity = FALSE
 
char__kmp_affinity_format = NULL
 
kmp_int32 __kmp_default_device = 0
 
kmp_tasking_mode_t __kmp_tasking_mode = tskm_task_teams
 
kmp_int32 __kmp_max_task_priority = 0
 
kmp_uint64 __kmp_taskloop_min_tasks = 0
 
int __kmp_memkind_available = 0
 
omp_allocator_handle_t const omp_null_allocator = NULL
 
omp_allocator_handle_t const omp_default_mem_alloc
 
omp_allocator_handle_t const omp_large_cap_mem_alloc
 
omp_allocator_handle_t const omp_const_mem_alloc
 
omp_allocator_handle_t const omp_high_bw_mem_alloc
 
omp_allocator_handle_t const omp_low_lat_mem_alloc
 
omp_allocator_handle_t const omp_cgroup_mem_alloc
 
omp_allocator_handle_t const omp_pteam_mem_alloc
 
omp_allocator_handle_t const omp_thread_mem_alloc
 
omp_allocator_handle_t const llvm_omp_target_host_mem_alloc
 
omp_allocator_handle_t const llvm_omp_target_shared_mem_alloc
 
omp_allocator_handle_t const llvm_omp_target_device_mem_alloc
 
omp_allocator_handle_t const kmp_max_mem_alloc
 
omp_allocator_handle_t __kmp_def_allocator = omp_default_mem_alloc
 
omp_memspace_handle_t const omp_default_mem_space
 
omp_memspace_handle_t const omp_large_cap_mem_space
 
omp_memspace_handle_t const omp_const_mem_space
 
omp_memspace_handle_t const omp_high_bw_mem_space
 
omp_memspace_handle_t const omp_low_lat_mem_space
 
omp_memspace_handle_t const llvm_omp_target_host_mem_space
 
omp_memspace_handle_t const llvm_omp_target_shared_mem_space
 
omp_memspace_handle_t const llvm_omp_target_device_mem_space
 
int __kmp_task_stealing_constraint = 1
 
int __kmp_enable_task_throttling = 1
 
int __kmp_settings = FALSE
 
int __kmp_duplicate_library_ok = 0
 
PACKED_REDUCTION_METHOD_T __kmp_force_reduction_method
 
int __kmp_determ_red = FALSE
 
int __kmp_debug_buf
 
int __kmp_debug_buf_lines
 
int __kmp_debug_buf_chars
 
int __kmp_debug_buf_atomic
 
char__kmp_debug_buffer = NULL
 
std::atomic< int__kmp_debug_count
 
int __kmp_debug_buf_warn_chars
 
int __kmp_storage_map
 
int __kmp_storage_map_verbose
 
int __kmp_storage_map_verbose_specified = FALSE
 
int __kmp_need_register_atfork
 
int __kmp_need_register_atfork_specified = TRUE
 
int __kmp_env_stksize = FALSE
 
int __kmp_env_blocktime = FALSE
 
int __kmp_env_checks = FALSE
 
int __kmp_env_consistency_check = FALSE
 
kmp_int32 __kmp_use_yield = 1
 
kmp_int32 __kmp_use_yield_exp_set = 0
 
kmp_uint32 __kmp_yield_init = KMP_INIT_WAIT
 
kmp_uint32 __kmp_yield_next = KMP_NEXT_WAIT
 
kmp_uint64 __kmp_pause_init = 1
 
KMP_ALIGN_CACHE kmp_info_t ** __kmp_threads = NULL
 
kmp_root_t ** __kmp_root = NULL
 
kmp_old_threads_list_t__kmp_old_threads_list = NULL
 
KMP_ALIGN_CACHE volatile int __kmp_nth = 0
 
volatile int __kmp_all_nth = 0
 
volatile kmp_info_t__kmp_thread_pool = NULL
 
volatile kmp_team_t__kmp_team_pool = NULL
 
KMP_ALIGN_CACHE std::atomic< int__kmp_thread_pool_active_nth = 0
 
KMP_ALIGN_CACHE kmp_global_t __kmp_global
 
kmp_queuing_lock_t __kmp_dispatch_lock
 
kmp_target_offload_kind_t __kmp_target_offload = tgt_default
 
kmp_pause_status_t __kmp_pause_status = kmp_not_paused
 
int __kmp_nesting_mode = 0
 
int __kmp_nesting_mode_nlevels = 1
 
int__kmp_nesting_nth_level
 

Function Documentation

◆ KMP_BOOTSTRAP_LOCK_INIT() [1/4]

KMP_BOOTSTRAP_LOCK_INIT ( __kmp_exit_lock  )

◆ KMP_BOOTSTRAP_LOCK_INIT() [2/4]

KMP_BOOTSTRAP_LOCK_INIT ( __kmp_forkjoin_lock  )

◆ KMP_BOOTSTRAP_LOCK_INIT() [3/4]

KMP_ALIGN_CACHE KMP_BOOTSTRAP_LOCK_INIT ( __kmp_initz_lock  )

◆ KMP_BOOTSTRAP_LOCK_INIT() [4/4]

KMP_BOOTSTRAP_LOCK_INIT ( __kmp_tp_cached_lock  )

◆ KMP_BUILD_ASSERT()

KMP_BUILD_ASSERT ( sizeof(kmp_tasking_flags_t = =4)

◆ KMP_LOCK_INIT() [1/2]

KMP_LOCK_INIT ( __kmp_debug_lock  )

References count.

◆ KMP_LOCK_INIT() [2/2]

KMP_LOCK_INIT ( __kmp_global_lock  )

Variable Documentation

◆ __kmp_abort_delay

int __kmp_abort_delay = 0

◆ __kmp_adjust_gtid_mode

int __kmp_adjust_gtid_mode = TRUE

◆ __kmp_affinity_format

char* __kmp_affinity_format = NULL

◆ __kmp_affinity_num_places

int __kmp_affinity_num_places = 0

Definition at line 293 of file kmp_global.cpp.

◆ __kmp_align_alloc

size_t __kmp_align_alloc = CACHE_LINE

◆ __kmp_all_nth

volatile int __kmp_all_nth = 0

◆ __kmp_allThreadsSpecified

int __kmp_allThreadsSpecified = 0

◆ __kmp_auto

enum sched_type __kmp_auto
Initial value:
=
@ kmp_sch_guided_analytical_chunked
Definition: kmp.h:385

Definition at line 150 of file kmp_global.cpp.

Referenced by __kmp_dispatch_init_algorithm().

◆ __kmp_avail_proc

int __kmp_avail_proc = 0

◆ __kmp_barrier_branch_bit_env_name

char const* __kmp_barrier_branch_bit_env_name[bs_last_barrier]
Initial value:
= {
"KMP_PLAIN_BARRIER", "KMP_FORKJOIN_BARRIER"
}

Definition at line 94 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_barrier_branch_bit(), and __kmp_stg_print_barrier_branch_bit().

◆ __kmp_barrier_gather_bb_dflt

kmp_uint32 __kmp_barrier_gather_bb_dflt = 2

◆ __kmp_barrier_gather_branch_bits

kmp_uint32 __kmp_barrier_gather_branch_bits[bs_last_barrier] = {0}

◆ __kmp_barrier_gather_pat_dflt

kmp_bar_pat_e __kmp_barrier_gather_pat_dflt = bp_hyper_bar

Definition at line 85 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_barrier_gather_pattern

kmp_bar_pat_e __kmp_barrier_gather_pattern[bs_last_barrier] = {bp_linear_bar}

◆ __kmp_barrier_pattern_env_name

char const* __kmp_barrier_pattern_env_name[bs_last_barrier]
Initial value:
= {
"KMP_PLAIN_BARRIER_PATTERN", "KMP_FORKJOIN_BARRIER_PATTERN"
}

Definition at line 101 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().

◆ __kmp_barrier_pattern_name

char const* __kmp_barrier_pattern_name[bp_last_bar]
Initial value:
= {
"linear", "tree", "hyper", "hierarchical", "dist"}

Definition at line 114 of file kmp_global.cpp.

Referenced by __kmp_print_version_1(), __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().

◆ __kmp_barrier_release_bb_dflt

kmp_uint32 __kmp_barrier_release_bb_dflt = 2

◆ __kmp_barrier_release_branch_bits

kmp_uint32 __kmp_barrier_release_branch_bits[bs_last_barrier] = {0}

◆ __kmp_barrier_release_pat_dflt

kmp_bar_pat_e __kmp_barrier_release_pat_dflt = bp_hyper_bar

Definition at line 87 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_barrier_release_pattern

kmp_bar_pat_e __kmp_barrier_release_pattern[bs_last_barrier] = {bp_linear_bar}

◆ __kmp_barrier_type_name

char const* __kmp_barrier_type_name[bs_last_barrier]
Initial value:
= {"plain", "forkjoin"
}

Definition at line 108 of file kmp_global.cpp.

Referenced by __kmp_print_version_1().

◆ __kmp_blocktime_units

char __kmp_blocktime_units = 'm'

◆ __kmp_cg_max_nth

int __kmp_cg_max_nth = 0

◆ __kmp_chunk

int __kmp_chunk = 0

◆ __kmp_debug_buf

int __kmp_debug_buf
Initial value:
=
#define FALSE
Definition: kmp.h:1323

Definition at line 383 of file kmp_global.cpp.

Referenced by __kmp_abort_process(), __kmp_internal_end_library(), __kmp_internal_end_thread(), and __kmp_vprintf().

◆ __kmp_debug_buf_atomic

int __kmp_debug_buf_atomic
Initial value:

Definition at line 389 of file kmp_global.cpp.

◆ __kmp_debug_buf_chars

int __kmp_debug_buf_chars
Initial value:
=
#define KMP_DEBUG_BUF_CHARS_INIT
Definition: kmp.h:3308

Definition at line 387 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_buf_lines

int __kmp_debug_buf_lines
Initial value:
=
#define KMP_DEBUG_BUF_LINES_INIT
Definition: kmp.h:3305

Definition at line 385 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_buf_warn_chars

int __kmp_debug_buf_warn_chars
Initial value:
=
0

Definition at line 395 of file kmp_global.cpp.

Referenced by __kmp_vprintf().

◆ __kmp_debug_buffer

char* __kmp_debug_buffer = NULL

Definition at line 392 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_count

std::atomic<int> __kmp_debug_count
Initial value:
=
0

Definition at line 393 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_def_allocator

◆ __kmp_default_device

kmp_int32 __kmp_default_device = 0

◆ __kmp_determ_red

int __kmp_determ_red = FALSE

◆ __kmp_dflt_blocktime

int __kmp_dflt_blocktime = KMP_DEFAULT_BLOCKTIME

◆ __kmp_dflt_max_active_levels

int __kmp_dflt_max_active_levels = 1

◆ __kmp_dflt_max_active_levels_set

bool __kmp_dflt_max_active_levels_set = false

◆ __kmp_dflt_team_nth

int __kmp_dflt_team_nth = 0

◆ __kmp_dflt_team_nth_ub

int __kmp_dflt_team_nth_ub = 0

◆ __kmp_dispatch_lock

kmp_queuing_lock_t __kmp_dispatch_lock

Definition at line 516 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_dispatch_num_buffers

int __kmp_dispatch_num_buffers = KMP_DFLT_DISP_NUM_BUFF

◆ __kmp_display_affinity

int __kmp_display_affinity = FALSE

◆ __kmp_display_env

int __kmp_display_env = FALSE

◆ __kmp_display_env_verbose

int __kmp_display_env_verbose = FALSE

◆ __kmp_duplicate_library_ok

int __kmp_duplicate_library_ok = 0

◆ __kmp_enable_task_throttling

int __kmp_enable_task_throttling = 1

◆ __kmp_env_blocktime

int __kmp_env_blocktime = FALSE

◆ __kmp_env_checks

int __kmp_env_checks = FALSE

Definition at line 422 of file kmp_global.cpp.

Referenced by __kmp_check_stack_overlap(), and __kmp_do_serial_initialize().

◆ __kmp_env_consistency_check

int __kmp_env_consistency_check = FALSE

◆ __kmp_env_stksize

int __kmp_env_stksize = FALSE

◆ __kmp_force_monotonic

int __kmp_force_monotonic = 0

◆ __kmp_force_reduction_method

PACKED_REDUCTION_METHOD_T __kmp_force_reduction_method

◆ __kmp_foreign_tp

int __kmp_foreign_tp = TRUE

◆ __kmp_generate_warnings

int __kmp_generate_warnings = kmp_warnings_low

◆ __kmp_global

◆ __kmp_gtid_mode

int __kmp_gtid_mode = 0

◆ __kmp_gtid_threadprivate_key

kmp_key_t __kmp_gtid_threadprivate_key

◆ __kmp_guided

enum sched_type __kmp_guided

◆ __kmp_hidden_helper_team_done

volatile int __kmp_hidden_helper_team_done = FALSE

◆ __kmp_init_common

volatile int __kmp_init_common = FALSE

◆ __kmp_init_counter

int __kmp_init_counter = 0

Definition at line 62 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_init_gtid

volatile int __kmp_init_gtid = FALSE

◆ __kmp_init_hidden_helper

volatile int __kmp_init_hidden_helper = FALSE

◆ __kmp_init_hidden_helper_threads

volatile int __kmp_init_hidden_helper_threads = FALSE

◆ __kmp_init_middle

volatile int __kmp_init_middle = FALSE

◆ __kmp_init_parallel

volatile int __kmp_init_parallel = FALSE

◆ __kmp_init_serial

volatile int __kmp_init_serial = FALSE

Definition at line 44 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_atfork_child(), __kmp_aux_set_defaults(), __kmp_aux_set_stacksize(), __kmp_calloc(), __kmp_cleanup(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_fork_call(), __kmp_get_ancestor_thread_num(), __kmp_get_global_thread_id_reg(), __kmp_get_max_active_levels(), __kmp_get_schedule(), __kmp_get_team_size(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_omp_display_env(), __kmp_realloc(), __kmp_reserve_threads(), __kmp_serial_initialize(), __kmp_set_max_active_levels(), __kmp_set_num_threads(), __kmp_set_schedule(), __kmp_stg_parse_disp_buffers(), __kmp_unregister_root_current_thread(), __kmpc_atomic_1(), __kmpc_atomic_16(), __kmpc_atomic_32(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_dispatch_init_4(), __kmpc_dispatch_init_4u(), __kmpc_dispatch_init_8(), __kmpc_dispatch_init_8u(), __kmpc_dist_dispatch_init_4(), __kmpc_dist_dispatch_init_4u(), __kmpc_dist_dispatch_init_8(), __kmpc_dist_dispatch_init_8u(), __kmpc_error(), __kmpc_get_target_offload(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_ordered(), __kmpc_pause_resource(), __kmpc_sections_init(), __kmpc_team_static_init_4(), __kmpc_team_static_init_4u(), __kmpc_team_static_init_8(), __kmpc_team_static_init_8u(), __kmpc_threadprivate(), FTN_GET_AFFINITY_FORMAT(), FTN_GET_CANCELLATION(), FTN_GET_LIBRARY(), FTN_GET_MAX_TASK_PRIORITY(), FTN_GET_MAX_TEAMS(), FTN_GET_NUM_KNOWN_THREADS(), FTN_GET_STACKSIZE(), FTN_GET_STACKSIZE_S(), FTN_GET_TEAMS_THREAD_LIMIT(), FTN_GET_THREAD_LIMIT(), FTN_GET_WTICK(), FTN_GET_WTIME(), FTN_SET_AFFINITY_FORMAT(), FTN_SET_DISP_NUM_BUFFERS(), FTN_SET_NUM_TEAMS(), FTN_SET_TEAMS_THREAD_LIMIT(), kmpc_free(), kmpc_set_disp_num_buffers(), ompc_get_affinity_format(), and ompc_set_affinity_format().

◆ __kmp_init_user_locks

volatile int __kmp_init_user_locks = FALSE

◆ __kmp_library

enum library_type __kmp_library = library_none

◆ __kmp_malloc_pool_incr

size_t __kmp_malloc_pool_incr = KMP_DEFAULT_MALLOC_POOL_INCR

◆ __kmp_max_nth

int __kmp_max_nth = 0

◆ __kmp_max_task_priority

kmp_int32 __kmp_max_task_priority = 0

◆ __kmp_memkind_available

int __kmp_memkind_available = 0

◆ __kmp_need_register_atfork

int __kmp_need_register_atfork
Initial value:
=
#define TRUE
Definition: kmp.h:1324

Definition at line 416 of file kmp_global.cpp.

Referenced by __kmp_register_atfork(), and __kmp_stg_parse_init_at_fork().

◆ __kmp_need_register_atfork_specified

int __kmp_need_register_atfork_specified = TRUE

Definition at line 418 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_init_at_fork(), and __kmp_stg_print_init_at_fork().

◆ __kmp_need_register_serial

volatile int __kmp_need_register_serial = TRUE

◆ __kmp_nested_nth

kmp_nested_nthreads_t __kmp_nested_nth = {NULL, 0, 0}

◆ __kmp_nested_proc_bind

kmp_nested_proc_bind_t __kmp_nested_proc_bind = {NULL, 0, 0}

◆ __kmp_nesting_mode

int __kmp_nesting_mode = 0

◆ __kmp_nesting_mode_nlevels

int __kmp_nesting_mode_nlevels = 1

Definition at line 562 of file kmp_global.cpp.

Referenced by __kmp_init_nesting_mode(), and __kmp_set_nesting_mode_threads().

◆ __kmp_nesting_nth_level

int* __kmp_nesting_nth_level

Definition at line 563 of file kmp_global.cpp.

Referenced by __kmp_init_nesting_mode(), and __kmp_set_nesting_mode_threads().

◆ __kmp_nteams

int __kmp_nteams = 0

◆ __kmp_nth

KMP_ALIGN_CACHE volatile int __kmp_nth = 0

◆ __kmp_old_threads_list

kmp_old_threads_list_t* __kmp_old_threads_list = NULL

Definition at line 452 of file kmp_global.cpp.

Referenced by __kmp_cleanup(), and __kmp_expand_threads().

◆ __kmp_omp_cancellation

int __kmp_omp_cancellation = FALSE

◆ __kmp_pause_init

kmp_uint64 __kmp_pause_init = 1

Definition at line 441 of file kmp_global.cpp.

◆ __kmp_pause_status

kmp_pause_status_t __kmp_pause_status = kmp_not_paused

◆ __kmp_reserve_warn

int __kmp_reserve_warn = 0

◆ __kmp_root

kmp_root_t** __kmp_root = NULL

◆ __kmp_root_counter

int __kmp_root_counter = 0

Definition at line 63 of file kmp_global.cpp.

Referenced by __kmp_register_root().

◆ __kmp_sch_map

Initial value:
= {
}
@ kmp_sch_auto
auto
Definition: kmp.h:377
@ kmp_sch_guided_chunked
guided unspecialized
Definition: kmp.h:375
@ kmp_sch_dynamic_chunked
Definition: kmp.h:374
@ kmp_sch_static_chunked
Definition: kmp.h:372
@ kmp_sch_trapezoidal
Definition: kmp.h:378

Definition at line 234 of file kmp_global.cpp.

Referenced by __kmp_set_schedule().

◆ __kmp_sched

enum sched_type __kmp_sched

◆ __kmp_settings

int __kmp_settings = FALSE

◆ __kmp_static

enum sched_type __kmp_static

◆ __kmp_stkoffset

size_t __kmp_stkoffset = KMP_DEFAULT_STKOFFSET

◆ __kmp_stkpadding

int __kmp_stkpadding = KMP_MIN_STKPADDING

◆ __kmp_stksize

size_t __kmp_stksize = KMP_DEFAULT_STKSIZE

◆ __kmp_storage_map

int __kmp_storage_map

◆ __kmp_storage_map_verbose

int __kmp_storage_map_verbose

◆ __kmp_storage_map_verbose_specified

int __kmp_storage_map_verbose_specified = FALSE

Definition at line 413 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().

◆ __kmp_sys_max_nth

int __kmp_sys_max_nth = KMP_MAX_NTH

◆ __kmp_sys_min_stksize

size_t __kmp_sys_min_stksize = KMP_MIN_STKSIZE

◆ __kmp_target_offload

kmp_target_offload_kind_t __kmp_target_offload = tgt_default

◆ __kmp_task_counter

std::atomic<kmp_int32> __kmp_task_counter = 0

Definition at line 67 of file kmp_global.cpp.

◆ __kmp_task_max_nth

int __kmp_task_max_nth = 0

Definition at line 128 of file kmp_global.cpp.

Referenced by __kmp_get_global_icvs().

◆ __kmp_task_stealing_constraint

int __kmp_task_stealing_constraint = 1

◆ __kmp_tasking_mode

kmp_tasking_mode_t __kmp_tasking_mode = tskm_task_teams

◆ __kmp_taskloop_min_tasks

kmp_uint64 __kmp_taskloop_min_tasks = 0

◆ __kmp_team_counter

std::atomic<kmp_int32> __kmp_team_counter = 0

Definition at line 66 of file kmp_global.cpp.

◆ __kmp_team_pool

volatile kmp_team_t* __kmp_team_pool = NULL

◆ __kmp_teams_max_nth

int __kmp_teams_max_nth = 0

◆ __kmp_teams_proc_bind

kmp_proc_bind_t __kmp_teams_proc_bind = proc_bind_spread

Definition at line 292 of file kmp_global.cpp.

Referenced by __kmp_fork_call().

◆ __kmp_teams_thread_limit

int __kmp_teams_thread_limit = 0

◆ __kmp_thread_pool

volatile kmp_info_t* __kmp_thread_pool = NULL

◆ __kmp_thread_pool_active_nth

KMP_ALIGN_CACHE std::atomic<int> __kmp_thread_pool_active_nth = 0

◆ __kmp_threadpriv_cache_list

kmp_cached_addr_t* __kmp_threadpriv_cache_list = NULL

◆ __kmp_threads

KMP_ALIGN_CACHE kmp_info_t** __kmp_threads = NULL

Definition at line 450 of file kmp_global.cpp.

Referenced by ___kmpc_free(), __kmp_alloc(), __kmp_allocate_thread(), __kmp_aux_capture_affinity(), __kmp_barrier_template(), __kmp_bottom_half_finish_proxy(), __kmp_calloc(), __kmp_check_barrier(), __kmp_check_stack_overlap(), __kmp_check_sync(), __kmp_check_workshare(), __kmp_cleanup(), __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_dispatch_deo(), __kmp_dispatch_deo_error(), __kmp_dispatch_dxo(), __kmp_dispatch_dxo_error(), __kmp_dispatch_finish(), __kmp_dispatch_init(), __kmp_dispatch_init_algorithm(), __kmp_dispatch_init_hierarchy(), __kmp_dispatch_next(), __kmp_dispatch_next_algorithm(), __kmp_dist_for_static_init(), __kmp_dist_get_bounds(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_end_split_barrier(), __kmp_enter_single(), __kmp_entry_thread(), __kmp_execute_tasks_template(), __kmp_expand_threads(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_get_ancestor_thread_num(), __kmp_get_global_thread_id(), __kmp_get_max_active_levels(), __kmp_get_priority_task(), __kmp_get_schedule(), __kmp_get_team_size(), __kmp_GOMP_doacross_post< long, true >(), __kmp_GOMP_doacross_wait(), __kmp_GOMP_fork_call(), __kmp_GOMP_init_reductions(), __kmp_GOMP_microtask_wrapper(), __kmp_GOMP_par_reductions_microtask_wrapper(), __kmp_GOMP_parallel_microtask_wrapper(), __kmp_hidden_helper_threads_initz_routine(), __kmp_hierarchical_barrier_release(), __kmp_hyper_barrier_release(), __kmp_initialize_self_buffer(), __kmp_internal_begin(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_internal_fork(), __kmp_internal_join(), __kmp_invoke_task(), __kmp_invoke_task_func(), __kmp_invoke_teams_master(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_linear_barrier_release_template(), __kmp_omp_task(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_process_dep_all(), __kmp_process_deps(), __kmp_push_num_teams(), __kmp_push_num_teams_51(), __kmp_push_num_threads(), __kmp_push_parallel(), __kmp_push_proc_bind(), __kmp_push_sync(), __kmp_push_task(), __kmp_push_workshare(), __kmp_reap_thread(), __kmp_register_root(), __kmp_release_deps(), __kmp_reserve_threads(), __kmp_resume_if_soft_paused(), __kmp_resume_template(), __kmp_serialized_parallel(), __kmp_set_max_active_levels(), __kmp_set_nesting_mode_threads(), __kmp_set_num_threads(), __kmp_set_schedule(), __kmp_steal_task(), __kmp_suspend_template(), __kmp_task_alloc(), __kmp_task_finish(), __kmp_task_reduction_init(), __kmp_task_reduction_modifier_init(), __kmp_task_start(), __kmp_taskloop(), __kmp_taskloop_linear(), __kmp_taskloop_recur(), __kmp_team_from_gtid(), __kmp_team_static_init(), __kmp_teams_master(), __kmp_terminate_thread(), __kmp_thread_from_gtid(), __kmp_tid_from_gtid(), __kmp_track_dependence(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_user_set_library(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_cancel(), __kmpc_cancel_barrier(), __kmpc_cancellationpoint(), __kmpc_copyprivate(), __kmpc_copyprivate_light(), __kmpc_critical(), __kmpc_doacross_fini(), __kmpc_doacross_init(), __kmpc_doacross_post(), __kmpc_doacross_wait(), __kmpc_end_masked(), __kmpc_end_master(), __kmpc_end_ordered(), __kmpc_end_reduce(), __kmpc_end_scope(), __kmpc_end_sections(), __kmpc_end_serialized_parallel(), __kmpc_end_single(), __kmpc_end_taskgroup(), __kmpc_for_collapsed_init(), __kmpc_fork_call(), __kmpc_fork_teams(), __kmpc_get_default_allocator(), __kmpc_masked(), __kmpc_master(), __kmpc_next_section(), __kmpc_omp_task_begin_if0_template(), __kmpc_omp_task_parts(), __kmpc_omp_task_with_deps(), __kmpc_omp_taskwait_deps_51(), __kmpc_omp_taskwait_template(), __kmpc_omp_taskyield(), __kmpc_ordered(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_scope(), __kmpc_sections_init(), __kmpc_set_default_allocator(), __kmpc_set_thread_limit(), __kmpc_single(), __kmpc_task_reduction_get_th_data(), __kmpc_taskgroup(), __kmpc_threadprivate(), __ompt_get_target_task_data(), FTN_CAPTURE_AFFINITY(), FTN_CONTROL_TOOL(), FTN_DISPLAY_AFFINITY(), FTN_GET_AFFINITY(), FTN_GET_BLOCKTIME(), FTN_GET_MAX_THREADS(), FTN_GET_NUM_PLACES(), FTN_GET_NUM_PROCS(), FTN_GET_PLACE_NUM_PROCS(), FTN_GET_PLACE_PROC_IDS(), FTN_GET_THREAD_LIMIT(), KMP_API_NAME_GOMP_PARALLEL_END(), KMP_API_NAME_GOMP_SINGLE_START(), KMP_API_NAME_GOMP_TASK_REDUCTION_REMAP(), KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_REGISTER(), KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER(), kmp_threadprivate_insert(), kmp_threadprivate_insert_private_data(), KMP_UBER_GTID(), kmp_hier_t< T >::next(), ompc_capture_affinity(), and ompc_display_affinity().

◆ __kmp_threads_capacity

int __kmp_threads_capacity = 0

◆ __kmp_tls_gtid_min

int __kmp_tls_gtid_min = INT_MAX

◆ __kmp_tp_cached

int __kmp_tp_cached = 0

◆ __kmp_tp_capacity

int __kmp_tp_capacity = 0

◆ __kmp_use_yield

kmp_int32 __kmp_use_yield = 1

◆ __kmp_use_yield_exp_set

kmp_int32 __kmp_use_yield_exp_set = 0

Definition at line 437 of file kmp_global.cpp.

Referenced by __kmp_aux_set_library(), and __kmp_stg_parse_use_yield().

◆ __kmp_version

int __kmp_version = 0

◆ __kmp_wpolicy_passive

bool __kmp_wpolicy_passive = false

◆ __kmp_xproc

int __kmp_xproc = 0

◆ __kmp_yield_init

kmp_uint32 __kmp_yield_init = KMP_INIT_WAIT

Definition at line 439 of file kmp_global.cpp.

◆ __kmp_yield_next

kmp_uint32 __kmp_yield_next = KMP_NEXT_WAIT

Definition at line 440 of file kmp_global.cpp.

◆ kmp_max_mem_alloc

omp_allocator_handle_t const kmp_max_mem_alloc
Initial value:
=
void * omp_allocator_handle_t
Definition: kmp.h:1088

Definition at line 327 of file kmp_global.cpp.

Referenced by ___kmpc_free(), __kmp_alloc(), and __kmpc_destroy_allocator().

◆ llvm_omp_target_device_mem_alloc

omp_allocator_handle_t const llvm_omp_target_device_mem_alloc
Initial value:

Definition at line 325 of file kmp_global.cpp.

Referenced by ___kmpc_free().

◆ llvm_omp_target_device_mem_space

omp_memspace_handle_t const llvm_omp_target_device_mem_space
Initial value:
=
void * omp_memspace_handle_t
Definition: kmp.h:1073

Definition at line 345 of file kmp_global.cpp.

◆ llvm_omp_target_host_mem_alloc

omp_allocator_handle_t const llvm_omp_target_host_mem_alloc
Initial value:

Definition at line 321 of file kmp_global.cpp.

Referenced by ___kmpc_free(), and __kmp_alloc().

◆ llvm_omp_target_host_mem_space

omp_memspace_handle_t const llvm_omp_target_host_mem_space
Initial value:
=

Definition at line 341 of file kmp_global.cpp.

Referenced by __kmp_alloc().

◆ llvm_omp_target_shared_mem_alloc

omp_allocator_handle_t const llvm_omp_target_shared_mem_alloc
Initial value:

Definition at line 323 of file kmp_global.cpp.

Referenced by ___kmpc_free(), and __kmp_alloc().

◆ llvm_omp_target_shared_mem_space

omp_memspace_handle_t const llvm_omp_target_shared_mem_space
Initial value:
=

Definition at line 343 of file kmp_global.cpp.

Referenced by __kmp_alloc().

◆ omp_cgroup_mem_alloc

omp_allocator_handle_t const omp_cgroup_mem_alloc
Initial value:

Definition at line 315 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_const_mem_alloc

omp_allocator_handle_t const omp_const_mem_alloc
Initial value:

Definition at line 309 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_const_mem_space

omp_memspace_handle_t const omp_const_mem_space
Initial value:

Definition at line 335 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), and __kmpc_init_allocator().

◆ omp_default_mem_alloc

omp_allocator_handle_t const omp_default_mem_alloc

◆ omp_default_mem_space

omp_memspace_handle_t const omp_default_mem_space
Initial value:

Definition at line 331 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), __kmpc_init_allocator(), and main().

◆ omp_high_bw_mem_alloc

omp_allocator_handle_t const omp_high_bw_mem_alloc
Initial value:

Definition at line 311 of file kmp_global.cpp.

Referenced by ___kmpc_free(), __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_high_bw_mem_space

omp_memspace_handle_t const omp_high_bw_mem_space
Initial value:

Definition at line 337 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), __kmpc_init_allocator(), and main().

◆ omp_large_cap_mem_alloc

omp_allocator_handle_t const omp_large_cap_mem_alloc
Initial value:

Definition at line 307 of file kmp_global.cpp.

Referenced by ___kmpc_free(), __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_large_cap_mem_space

omp_memspace_handle_t const omp_large_cap_mem_space
Initial value:

Definition at line 333 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), __kmpc_init_allocator(), and main().

◆ omp_low_lat_mem_alloc

omp_allocator_handle_t const omp_low_lat_mem_alloc
Initial value:

Definition at line 313 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_low_lat_mem_space

omp_memspace_handle_t const omp_low_lat_mem_space
Initial value:

Definition at line 339 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), and __kmpc_init_allocator().

◆ omp_null_allocator

omp_allocator_handle_t const omp_null_allocator = NULL

◆ omp_pteam_mem_alloc

omp_allocator_handle_t const omp_pteam_mem_alloc
Initial value:

Definition at line 317 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().

◆ omp_thread_mem_alloc

omp_allocator_handle_t const omp_thread_mem_alloc
Initial value:

Definition at line 319 of file kmp_global.cpp.

Referenced by __kmp_alloc(), __kmp_stg_parse_allocator(), and __kmp_stg_print_allocator().