LLVM OpenMP 22.0.0git
kmp.h File Reference
#include "kmp_config.h"
#include <signal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits>
#include <type_traits>
#include <sys/types.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include "kmp_os.h"
#include "kmp_safe_c_api.h"
#include "kmp_debug.h"
#include "kmp_lock.h"
#include "kmp_version.h"
#include "kmp_barrier.h"
#include "kmp_i18n.h"
#include "kmp_wrapper_malloc.h"
#include "kmp_str.h"

Go to the source code of this file.

Classes

struct  ident
 The ident structure that describes a source location. More...
union  kmp_r_sched
struct  kmp_nested_nthreads_t
struct  kmp_nested_proc_bind_t
struct  kmp_hws_item
struct  omp_alloctrait_t
struct  kmp_memspace_t
 Memory space informaition is shared with offload runtime. More...
struct  kmp_allocator_t
 Memory allocator information is shared with offload runtime. More...
struct  cons_data
struct  cons_header
struct  kmp_region_info
struct  kmp_sys_info
struct  kmp_cached_addr
struct  private_data
struct  private_common
struct  shared_common
struct  common_table
struct  shared_table
struct  kmp_sched_flags
struct  dispatch_private_info32
struct  dispatch_private_info64
struct  dispatch_private_info
union  dispatch_private_info::private_info
struct  dispatch_shared_info32
struct  dispatch_shared_info64
struct  dispatch_shared_info
union  dispatch_shared_info::shared_info
struct  kmp_disp
struct  kmp_internal_control
struct  kmp_bstate
union  kmp_barrier_union
union  kmp_barrier_team_union
struct  kmp_desc_base
union  kmp_desc
struct  kmp_local
union  kmp_cmplrdata
struct  kmp_task
struct  kmp_taskgroup
struct  kmp_depend_info
struct  kmp_depnode_list
struct  kmp_base_depnode
union  kmp_depnode
struct  kmp_dephash_entry
struct  kmp_dephash
struct  kmp_task_affinity_info
struct  kmp_event_t
struct  kmp_tasking_flags
struct  kmp_target_data
struct  kmp_taskdata
struct  kmp_base_thread_data
union  kmp_thread_data
struct  kmp_task_pri
struct  kmp_base_task_team
union  kmp_task_team
struct  kmp_task_team_list_t
struct  kmp_hot_team_ptr
struct  kmp_teams_size
struct  kmp_cg_root
struct  kmp_base_info
union  kmp_info
struct  kmp_base_data
union  kmp_sleep_team
union  kmp_ordered_team
struct  kmp_base_team
union  kmp_team
union  kmp_time_global
struct  kmp_base_global
union  kmp_global
struct  kmp_base_root
union  kmp_root
struct  fortran_inx_info
struct  kmp_old_threads_list_t
struct  kmp_dim
class  kmp_safe_raii_file_t
 This class safely opens and closes a C-style FILE* object using RAII semantics. More...
struct  kmp_convert< SourceType, TargetType, isSourceSmaller, isSourceEqual, isSourceSigned, isTargetSigned >
struct  kmp_convert< SourceType, TargetType, true, false, true, true >
struct  kmp_convert< SourceType, TargetType, false, true, true, true >
struct  kmp_convert< SourceType, TargetType, false, false, true, true >
struct  kmp_convert< SourceType, TargetType, true, false, true, false >
struct  kmp_convert< SourceType, TargetType, false, true, true, false >
struct  kmp_convert< SourceType, TargetType, false, false, true, false >
struct  kmp_convert< SourceType, TargetType, true, false, false, true >
struct  kmp_convert< SourceType, TargetType, false, true, false, true >
struct  kmp_convert< SourceType, TargetType, false, false, false, true >
struct  kmp_convert< SourceType, TargetType, true, false, false, false >
struct  kmp_convert< SourceType, TargetType, false, true, false, false >
struct  kmp_convert< SourceType, TargetType, false, false, false, false >

Macros

#define KMP_STATIC_STEAL_ENABLED   1
#define KMP_WEIGHTED_ITERATIONS_SUPPORTED
#define TASK_CURRENT_NOT_QUEUED   0
#define TASK_CURRENT_QUEUED   1
#define TASK_NOT_PUSHED   1
#define TASK_SUCCESSFULLY_PUSHED   0
#define TASK_TIED   1
#define TASK_UNTIED   0
#define TASK_EXPLICIT   1
#define TASK_IMPLICIT   0
#define TASK_PROXY   1
#define TASK_FULL   0
#define TASK_DETACHABLE   1
#define TASK_UNDETACHABLE   0
#define KMP_CANCEL_THREADS
#define KMP_THREAD_ATTR
#define KMP_INTERNAL_MALLOC(sz)
#define KMP_INTERNAL_FREE(p)
#define KMP_INTERNAL_REALLOC(p, sz)
#define KMP_INTERNAL_CALLOC(n, sz)
#define KMP_HANDLE_SIGNALS   ((KMP_OS_UNIX && !KMP_OS_WASI) || KMP_OS_WINDOWS)
#define UNLIKELY(x)
#define USE_FAST_MEMORY   3
#define USE_CMP_XCHG_FOR_BGET   1
#define KMP_NSEC_PER_SEC   1000000000L
#define KMP_USEC_PER_SEC   1000000L
#define KMP_NSEC_PER_USEC   1000L
#define KMP_PACK_64(HIGH_32, LOW_32)
#define SKIP_WS(_x)
#define SKIP_DIGITS(_x)
#define SKIP_TOKEN(_x)
#define SKIP_TO(_x, _c)
#define KMP_MAX(x, y)
#define KMP_MIN(x, y)
#define KMP_SCHED_TYPE_DEFINED
#define SCHEDULE_WITHOUT_MODIFIERS(s)
#define SCHEDULE_HAS_MONOTONIC(s)
#define SCHEDULE_HAS_NONMONOTONIC(s)
#define SCHEDULE_HAS_NO_MODIFIERS(s)
#define SCHEDULE_GET_MODIFIERS(s)
#define SCHEDULE_SET_MODIFIERS(s, m)
#define SCHEDULE_NONMONOTONIC   0
#define SCHEDULE_MONOTONIC   1
#define KMP_FAST_REDUCTION_BARRIER   1
#define PACK_REDUCTION_METHOD_AND_BARRIER(reduction_method, barrier_type)
#define UNPACK_REDUCTION_METHOD(packed_reduction_method)
#define UNPACK_REDUCTION_BARRIER(packed_reduction_method)
#define TEST_REDUCTION_METHOD(packed_reduction_method, which_reduction_block)
#define KMP_HW_MAX_NUM_CORE_EFFS   8
#define KMP_DEBUG_ASSERT_VALID_HW_TYPE(type)
#define KMP_ASSERT_VALID_HW_TYPE(type)
#define KMP_FOREACH_HW_TYPE(type)
#define KMP_PAD(type, sz)
#define KMP_GTID_DNE   (-2) /* Does not exist */
#define KMP_GTID_SHUTDOWN   (-3) /* Library is shutting down */
#define KMP_GTID_MONITOR   (-4) /* Monitor thread ID */
#define KMP_GTID_UNKNOWN   (-5) /* Is not known */
#define KMP_GTID_MIN   (-6) /* Minimal gtid for low bound check in DEBUG */
#define omp_atv_default   ((omp_uintptr_t)-1)
#define KMP_UINT64_MAX    (~((kmp_uint64)1 << ((sizeof(kmp_uint64) * (1 << 3)) - 1)))
#define KMP_MIN_NTH   1
#define KMP_MAX_NTH   INT_MAX
#define KMP_MIN_STKSIZE   ((size_t)(32 * 1024))
#define KMP_MAX_STKSIZE   (~((size_t)1 << ((sizeof(size_t) * (1 << 3)) - 1)))
#define KMP_DEFAULT_STKSIZE   ((size_t)(1024 * 1024))
#define KMP_DEFAULT_MALLOC_POOL_INCR   ((size_t)(1024 * 1024))
#define KMP_MIN_MALLOC_POOL_INCR   ((size_t)(4 * 1024))
#define KMP_MAX_MALLOC_POOL_INCR    (~((size_t)1 << ((sizeof(size_t) * (1 << 3)) - 1)))
#define KMP_MIN_STKOFFSET   (0)
#define KMP_MAX_STKOFFSET   KMP_MAX_STKSIZE
#define KMP_DEFAULT_STKOFFSET   CACHE_LINE
#define KMP_MIN_STKPADDING   (0)
#define KMP_MAX_STKPADDING   (2 * 1024 * 1024)
#define KMP_BLOCKTIME_MULTIPLIER    (1000000) /* number of blocktime units per second */
#define KMP_MIN_BLOCKTIME   (0)
#define KMP_MAX_BLOCKTIME    (INT_MAX) /* Must be this for "infinite" setting the work */
#define KMP_DEFAULT_BLOCKTIME   (__kmp_is_hybrid_cpu() ? (0) : (200000))
#define KMP_BLOCKTIME(team, tid)
#define KMP_NOW()
#define KMP_BLOCKTIME_INTERVAL(team, tid)
#define KMP_BLOCKING(goal, count)
#define KMP_MIN_STATSCOLS   40
#define KMP_MAX_STATSCOLS   4096
#define KMP_DEFAULT_STATSCOLS   80
#define KMP_MIN_INTERVAL   0
#define KMP_MAX_INTERVAL   (INT_MAX - 1)
#define KMP_DEFAULT_INTERVAL   0
#define KMP_MIN_CHUNK   1
#define KMP_MAX_CHUNK   (INT_MAX - 1)
#define KMP_DEFAULT_CHUNK   1
#define KMP_MIN_DISP_NUM_BUFF   1
#define KMP_DFLT_DISP_NUM_BUFF   7
#define KMP_MAX_DISP_NUM_BUFF   4096
#define KMP_MAX_ORDERED   8
#define KMP_MAX_FIELDS   32
#define KMP_MAX_BRANCH_BITS   31
#define KMP_MAX_ACTIVE_LEVELS_LIMIT   INT_MAX
#define KMP_MAX_DEFAULT_DEVICE_LIMIT   INT_MAX
#define KMP_MAX_TASK_PRIORITY_LIMIT   INT_MAX
#define KMP_TLS_GTID_MIN   INT_MAX
#define KMP_MASTER_TID(tid)
#define KMP_WORKER_TID(tid)
#define KMP_MASTER_GTID(gtid)
#define KMP_WORKER_GTID(gtid)
#define KMP_INITIAL_GTID(gtid)
#define FALSE   0
#define TRUE   (!FALSE)
#define KMP_CPU_PAUSE()
#define KMP_INIT_YIELD(count)
#define KMP_INIT_BACKOFF(time)
#define KMP_OVERSUBSCRIBED    (TCR_4(__kmp_nth) > (__kmp_avail_proc ? __kmp_avail_proc : __kmp_xproc))
#define KMP_TRY_YIELD    ((__kmp_use_yield == 1) || (__kmp_use_yield == 2 && (KMP_OVERSUBSCRIBED)))
#define KMP_TRY_YIELD_OVERSUB    ((__kmp_use_yield == 1 || __kmp_use_yield == 2) && (KMP_OVERSUBSCRIBED))
#define KMP_YIELD(cond)
#define KMP_YIELD_OVERSUB()
#define KMP_YIELD_SPIN(count)
#define KMP_YIELD_OVERSUB_ELSE_SPIN(count, time)
#define IS_CONS_TYPE_ORDERED(ct)
#define KMP_HASH_TABLE_LOG2   9 /* log2 of the hash table size */
#define KMP_HASH_TABLE_SIZE    (1 << KMP_HASH_TABLE_LOG2) /* size of the hash table */
#define KMP_HASH_SHIFT   3 /* throw away this many low bits from the address */
#define KMP_HASH(x)
#define KMP_INIT_BARRIER_STATE   0 /* should probably start from zero */
#define KMP_BARRIER_SLEEP_BIT   0 /* bit used for suspend/sleep part of state */
#define KMP_BARRIER_UNUSED_BIT   1
#define KMP_BARRIER_BUMP_BIT   2 /* lsb used for bump of go/arrived state */
#define KMP_BARRIER_SLEEP_STATE   (1 << KMP_BARRIER_SLEEP_BIT)
#define KMP_BARRIER_UNUSED_STATE   (1 << KMP_BARRIER_UNUSED_BIT)
#define KMP_BARRIER_STATE_BUMP   (1 << KMP_BARRIER_BUMP_BIT)
#define KMP_BARRIER_NOT_WAITING   0
#define KMP_BARRIER_OWN_FLAG    1
#define KMP_BARRIER_PARENT_FLAG    2
#define KMP_BARRIER_SWITCH_TO_OWN_FLAG    3
#define KMP_BARRIER_SWITCHING    4
#define KMP_NOT_SAFE_TO_REAP    0
#define KMP_SAFE_TO_REAP   1
#define bs_reduction_barrier   bs_plain_barrier
#define KMP_BARRIER_ICV_PUSH   1
#define KMP_CHECK_UPDATE(a, b)
#define KMP_CHECK_UPDATE_SYNC(a, b)
#define get__blocktime(xteam, xtid)
#define get__bt_set(xteam, xtid)
#define get__dynamic_2(xteam, xtid)
#define get__nproc_2(xteam, xtid)
#define get__sched_2(xteam, xtid)
#define set__blocktime_team(xteam, xtid, xval)
#define set__bt_set_team(xteam, xtid, xval)
#define set__dynamic(xthread, xval)
#define get__dynamic(xthread)
#define set__nproc(xthread, xval)
#define set__thread_limit(xthread, xval)
#define set__max_active_levels(xthread, xval)
#define get__max_active_levels(xthread)
#define set__sched(xthread, xval)
#define set__proc_bind(xthread, xval)
#define get__proc_bind(xthread)
#define KMP_TASK_TO_TASKDATA(task)
#define KMP_TASKDATA_TO_TASK(taskdata)
#define KMP_TASKING_ENABLED(task_team)
#define KMP_DEP_IN   0x1
#define KMP_DEP_OUT   0x2
#define KMP_DEP_INOUT   0x3
#define KMP_DEP_MTX   0x4
#define KMP_DEP_SET   0x8
#define KMP_DEP_ALL   0x80
#define MAX_MTX_DEPS   4
#define TASK_DEQUE_BITS   8
#define INITIAL_TASK_DEQUE_SIZE   (1 << TASK_DEQUE_BITS)
#define TASK_DEQUE_SIZE(td)
#define TASK_DEQUE_MASK(td)
#define KMP_MIN_MALLOC_ARGV_ENTRIES   100
#define KMP_INLINE_ARGV_BYTES    (2 * CACHE_LINE - ((3 * KMP_PTR_SKIP + 2 * sizeof(int)) % CACHE_LINE))
#define KMP_INLINE_ARGV_ENTRIES   (int)(KMP_INLINE_ARGV_BYTES / KMP_PTR_SKIP)
#define KMP_DEBUG_BUF_LINES_INIT   512
#define KMP_DEBUG_BUF_LINES_MIN   1
#define KMP_DEBUG_BUF_CHARS_INIT   128
#define KMP_DEBUG_BUF_CHARS_MIN   2
#define __kmp_get_gtid()
#define __kmp_entry_gtid()
#define __kmp_get_tid()
#define __kmp_get_team()
#define __kmp_get_thread()
#define __kmp_get_team_num_threads(gtid)
#define _KMP_GEN_ID(counter)
#define KMP_GEN_TASK_ID()
#define KMP_GEN_TEAM_ID()
#define __kmp_allocate(size)
#define __kmp_page_allocate(size)
#define __kmp_free(ptr)
#define __kmp_thread_malloc(th, size)
#define __kmp_thread_calloc(th, nelem, elsize)
#define __kmp_thread_realloc(th, ptr, size)
#define __kmp_thread_free(th, ptr)
#define __kmp_assign_root_init_mask()
#define KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT(team, thr)
#define KMPC_CONVENTION
#define KMP_DEVICE_DEFAULT   -1
#define KMP_DEVICE_ALL   -11
#define KMP_HIDDEN_HELPER_THREAD(gtid)
#define KMP_HIDDEN_HELPER_WORKER_THREAD(gtid)
#define KMP_HIDDEN_HELPER_MAIN_THREAD(gtid)
#define KMP_HIDDEN_HELPER_TEAM(team)
#define KMP_GTID_TO_SHADOW_GTID(gtid)

Typedefs

typedef union kmp_team kmp_team_t
typedef struct kmp_taskdata kmp_taskdata_t
typedef union kmp_task_team kmp_task_team_t
typedef union kmp_team kmp_team_p
typedef union kmp_info kmp_info_p
typedef union kmp_root kmp_root_p
typedef enum kmp_sched kmp_sched_t
typedef union kmp_r_sched kmp_r_sched_t
typedef struct kmp_nested_nthreads_t kmp_nested_nthreads_t
typedef int PACKED_REDUCTION_METHOD_T
typedef enum kmp_hw_core_type_t kmp_hw_core_type_t
typedef enum kmp_proc_bind_t kmp_proc_bind_t
typedef struct kmp_nested_proc_bind_t kmp_nested_proc_bind_t
typedef enum kmp_cancel_kind_t kmp_cancel_kind_t
typedef struct kmp_hws_item kmp_hws_item_t
typedef uintptr_t omp_uintptr_t
typedef voidomp_memspace_handle_t
typedef voidomp_allocator_handle_t
typedef struct kmp_memspace_t kmp_memspace_t
 Memory space informaition is shared with offload runtime.
typedef struct kmp_allocator_t kmp_allocator_t
 Memory allocator information is shared with offload runtime.
typedef struct kmp_sys_info kmp_sys_info_t
typedef kmp_int32 kmp_critical_name[8]
typedef void(* kmpc_micro) (kmp_int32 *global_tid, kmp_int32 *bound_tid,...)
 The type for a microtask which gets passed to __kmpc_fork_call().
typedef void(* kmpc_micro_bound) (kmp_int32 *bound_tid, kmp_int32 *bound_nth,...)
typedef struct kmp_cached_addr kmp_cached_addr_t
typedef struct kmp_sched_flags kmp_sched_flags_t
typedef struct KMP_ALIGN_CACHE dispatch_private_info32 dispatch_private_info32_t
typedef struct KMP_ALIGN_CACHE dispatch_private_info64 dispatch_private_info64_t
typedef struct KMP_ALIGN_CACHE dispatch_private_info dispatch_private_info_t
typedef struct dispatch_shared_info32 dispatch_shared_info32_t
typedef struct dispatch_shared_info64 dispatch_shared_info64_t
typedef struct dispatch_shared_info dispatch_shared_info_t
typedef struct kmp_disp kmp_disp_t
typedef enum kmp_bar_pat kmp_bar_pat_e
typedef struct kmp_internal_control kmp_internal_control_t
typedef struct KMP_ALIGN_CACHE kmp_bstate kmp_bstate_t
typedef union kmp_barrier_union kmp_balign_t
typedef union kmp_barrier_team_union kmp_balign_team_t
typedef struct kmp_desc_base kmp_desc_base_t
typedef union KMP_ALIGN_CACHE kmp_desc kmp_desc_t
typedef struct kmp_local kmp_local_t
typedef enum kmp_tasking_mode kmp_tasking_mode_t
typedef struct kmp_taskgroup kmp_taskgroup_t
typedef union kmp_depnode kmp_depnode_t
typedef struct kmp_depnode_list kmp_depnode_list_t
typedef struct kmp_dephash_entry kmp_dephash_entry_t
typedef struct kmp_depend_info kmp_depend_info_t
typedef struct kmp_base_depnode kmp_base_depnode_t
typedef struct kmp_dephash kmp_dephash_t
typedef struct kmp_task_affinity_info kmp_task_affinity_info_t
typedef enum kmp_event_type_t kmp_event_type_t
typedef struct kmp_tasking_flags kmp_tasking_flags_t
typedef struct kmp_target_data kmp_target_data_t
typedef struct kmp_base_thread_data kmp_base_thread_data_t
typedef union KMP_ALIGN_CACHE kmp_thread_data kmp_thread_data_t
typedef struct kmp_task_pri kmp_task_pri_t
typedef struct kmp_base_task_team kmp_base_task_team_t
typedef struct kmp_task_team_list_t kmp_task_team_list_t
typedef struct kmp_hot_team_ptr kmp_hot_team_ptr_t
typedef struct kmp_teams_size kmp_teams_size_t
typedef struct kmp_cg_root kmp_cg_root_t
typedef struct KMP_ALIGN_CACHE kmp_base_info kmp_base_info_t
typedef union KMP_ALIGN_CACHE kmp_info kmp_info_t
typedef struct kmp_base_data kmp_base_data_t
typedef union KMP_ALIGN_CACHE kmp_sleep_team kmp_sleep_team_t
typedef union KMP_ALIGN_CACHE kmp_ordered_team kmp_ordered_team_t
typedef int(* launch_t) (int gtid)
typedef struct KMP_ALIGN_CACHE kmp_base_team kmp_base_team_t
typedef union KMP_ALIGN_CACHE kmp_time_global kmp_time_global_t
typedef struct kmp_base_global kmp_base_global_t
typedef union KMP_ALIGN_CACHE kmp_global kmp_global_t
typedef struct kmp_base_root kmp_base_root_t
typedef union KMP_ALIGN_CACHE kmp_root kmp_root_t
typedef struct kmp_old_threads_list_t kmp_old_threads_list_t
typedef enum omp_sched_t omp_sched_t
typedef voidkmp_affinity_mask_t
typedef enum kmp_target_offload_kind kmp_target_offload_kind_t
typedef enum kmp_pause_status_t kmp_pause_status_t
typedef enum kmp_severity_t kmp_severity_t
typedef void *(* kmpc_ctor) (void *)
 Pointer to the constructor function.
typedef void(* kmpc_dtor) (void *)
 Pointer to the destructor function.
typedef void *(* kmpc_cctor) (void *, void *)
 Pointer to an alternate constructor.
typedef void *(* kmpc_ctor_vec) (void *, size_t)
 Array constructor.
typedef void(* kmpc_dtor_vec) (void *, size_t)
 Pointer to the array destructor function.
typedef void *(* kmpc_cctor_vec) (void *, void *, size_t)
 Array constructor.
typedef kmp_int32(* kmp_routine_entry_t) (kmp_int32, void *)
typedef union kmp_cmplrdata kmp_cmplrdata_t
typedef struct kmp_task kmp_task_t

Enumerations

enum  kmp_state_timer { ts_stop , ts_start , ts_pause , ts_last_state }
enum  dynamic_mode { dynamic_default , dynamic_random , dynamic_thread_limit , dynamic_max }
enum  kmp_sched {
  kmp_sched_lower = 0 , kmp_sched_static = 1 , kmp_sched_dynamic = 2 , kmp_sched_guided = 3 ,
  kmp_sched_auto = 4 , kmp_sched_upper_std = 5 , kmp_sched_lower_ext = 100 , kmp_sched_trapezoidal = 101 ,
  kmp_sched_upper , kmp_sched_default = kmp_sched_static , kmp_sched_monotonic = 0x80000000
}
enum  sched_type : kmp_int32 {
  kmp_sch_lower = 32 , kmp_sch_static_chunked = 33 , kmp_sch_static = 34 , kmp_sch_dynamic_chunked = 35 ,
  kmp_sch_guided_chunked = 36 , kmp_sch_runtime = 37 , kmp_sch_auto = 38 , kmp_sch_trapezoidal = 39 ,
  kmp_sch_static_greedy = 40 , kmp_sch_static_balanced = 41 , kmp_sch_guided_iterative_chunked = 42 , kmp_sch_guided_analytical_chunked = 43 ,
  kmp_sch_static_steal = 44 , kmp_sch_static_balanced_chunked = 45 , kmp_sch_guided_simd = 46 , kmp_sch_runtime_simd = 47 ,
  kmp_sch_upper , kmp_ord_lower = 64 , kmp_ord_static_chunked = 65 , kmp_ord_static = 66 ,
  kmp_ord_dynamic_chunked = 67 , kmp_ord_guided_chunked = 68 , kmp_ord_runtime = 69 , kmp_ord_auto = 70 ,
  kmp_ord_trapezoidal = 71 , kmp_ord_upper , kmp_distribute_static_chunked = 91 , kmp_distribute_static = 92 ,
  kmp_nm_lower = 160 , kmp_nm_static_chunked , kmp_nm_static = 162 , kmp_nm_dynamic_chunked = 163 ,
  kmp_nm_guided_chunked = 164 , kmp_nm_runtime = 165 , kmp_nm_auto = 166 , kmp_nm_trapezoidal = 167 ,
  kmp_nm_static_greedy = 168 , kmp_nm_static_balanced = 169 , kmp_nm_guided_iterative_chunked = 170 , kmp_nm_guided_analytical_chunked = 171 ,
  kmp_nm_static_steal , kmp_nm_ord_static_chunked = 193 , kmp_nm_ord_static = 194 , kmp_nm_ord_dynamic_chunked = 195 ,
  kmp_nm_ord_guided_chunked = 196 , kmp_nm_ord_runtime = 197 , kmp_nm_ord_auto = 198 , kmp_nm_ord_trapezoidal = 199 ,
  kmp_nm_upper , kmp_sch_modifier_monotonic , kmp_sch_modifier_nonmonotonic , kmp_sch_default = kmp_sch_static
}
 Describes the loop schedule to be used for a parallel for loop. More...
enum  library_type { library_none , library_serial , library_turnaround , library_throughput }
enum  _reduction_method {
  reduction_method_not_defined = 0 , critical_reduce_block = (1 << 8) , atomic_reduce_block = (2 << 8) , tree_reduce_block = (3 << 8) ,
  empty_reduce_block = (4 << 8)
}
enum  kmp_hw_t : int {
  KMP_HW_UNKNOWN = -1 , KMP_HW_SOCKET = 0 , KMP_HW_PROC_GROUP , KMP_HW_NUMA ,
  KMP_HW_DIE , KMP_HW_LLC , KMP_HW_L3 , KMP_HW_TILE ,
  KMP_HW_MODULE , KMP_HW_L2 , KMP_HW_L1 , KMP_HW_CORE ,
  KMP_HW_THREAD , KMP_HW_LAST
}
enum  kmp_hw_core_type_t { KMP_HW_CORE_TYPE_UNKNOWN = 0x0 , KMP_HW_MAX_NUM_CORE_TYPES = 1 }
enum  kmp_proc_bind_t {
  proc_bind_false = 0 , proc_bind_true , proc_bind_primary , proc_bind_close ,
  proc_bind_spread , proc_bind_intel , proc_bind_default
}
enum  kmp_cancel_kind_t {
  cancel_noreq = 0 , cancel_parallel = 1 , cancel_loop = 2 , cancel_sections = 3 ,
  cancel_taskgroup = 4
}
enum  omp_alloctrait_key_t {
  omp_atk_sync_hint = 1 , omp_atk_alignment = 2 , omp_atk_access = 3 , omp_atk_pool_size = 4 ,
  omp_atk_fallback = 5 , omp_atk_fb_data = 6 , omp_atk_pinned = 7 , omp_atk_partition = 8 ,
  omp_atk_pin_device = 9 , omp_atk_preferred_device = 10 , omp_atk_device_access = 11 , omp_atk_target_access = 12 ,
  omp_atk_atomic_scope = 13 , omp_atk_part_size = 14
}
enum  omp_alloctrait_value_t {
  omp_atv_false = 0 , omp_atv_true = 1 , omp_atv_contended = 3 , omp_atv_uncontended = 4 ,
  omp_atv_serialized = 5 , omp_atv_sequential = omp_atv_serialized , omp_atv_private = 6 , omp_atv_device = 7 ,
  omp_atv_thread = 8 , omp_atv_pteam = 9 , omp_atv_cgroup = 10 , omp_atv_default_mem_fb = 11 ,
  omp_atv_null_fb = 12 , omp_atv_abort_fb = 13 , omp_atv_allocator_fb = 14 , omp_atv_environment = 15 ,
  omp_atv_nearest = 16 , omp_atv_blocked = 17 , omp_atv_interleaved = 18 , omp_atv_all = 19 ,
  omp_atv_single = 20 , omp_atv_multiple = 21 , omp_atv_memspace = 22
}
enum  cons_type {
  ct_none , ct_parallel , ct_pdo , ct_pdo_ordered ,
  ct_psections , ct_psingle , ct_critical , ct_ordered_in_parallel ,
  ct_ordered_in_pdo , ct_master , ct_reduce , ct_barrier ,
  ct_masked
}
enum  flag_type {
  flag32 , flag64 , atomic_flag64 , flag_oncore ,
  flag_unset
}
enum  barrier_type { bs_plain_barrier = 0 , bs_forkjoin_barrier , bs_last_barrier }
enum  kmp_bar_pat {
  bp_linear_bar , bp_tree_bar , bp_hyper_bar = 2 , bp_hierarchical_bar = 3 ,
  bp_dist_bar = 4 , bp_last_bar
}
enum  kmp_tasking_mode { tskm_immediate_exec = 0 , tskm_extra_barrier = 1 , tskm_task_teams = 2 , tskm_max = 2 }
enum  kmp_event_type_t { KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 }
enum  fork_context_e { fork_context_gnu , fork_context_intel , fork_context_last }
 Tell the fork call which compiler generated the fork call, and therefore how to deal with the call. More...
enum  omp_sched_t { omp_sched_static = 1 , omp_sched_dynamic = 2 , omp_sched_guided = 3 , omp_sched_auto = 4 }
enum  kmp_target_offload_kind { tgt_disabled = 0 , tgt_default = 1 , tgt_mandatory = 2 }
enum  kmp_pause_status_t { kmp_not_paused = 0 , kmp_soft_paused = 1 , kmp_hard_paused = 2 , kmp_stop_tool_paused = 3 }
enum  kmp_severity_t { severity_warning = 1 , severity_fatal = 2 }

Functions

static void __kmp_sched_apply_mods_stdkind (kmp_sched_t *kind, enum sched_type internal_kind)
static void __kmp_sched_apply_mods_intkind (kmp_sched_t kind, enum sched_type *internal_kind)
static kmp_sched_t __kmp_sched_without_mods (kmp_sched_t kind)
const char__kmp_hw_get_keyword (kmp_hw_t type, bool plural=false)
const char__kmp_hw_get_catalog_string (kmp_hw_t type, bool plural=false)
const char__kmp_hw_get_core_type_string (kmp_hw_core_type_t type)
omp_allocator_handle_t __kmpc_init_allocator (int gtid, omp_memspace_handle_t, int ntraits, omp_alloctrait_t traits[])
void __kmpc_destroy_allocator (int gtid, omp_allocator_handle_t al)
void __kmpc_set_default_allocator (int gtid, omp_allocator_handle_t al)
omp_allocator_handle_t __kmpc_get_default_allocator (int gtid)
void__kmpc_alloc (int gtid, size_t sz, omp_allocator_handle_t al)
void__kmpc_aligned_alloc (int gtid, size_t align, size_t sz, omp_allocator_handle_t al)
void__kmpc_calloc (int gtid, size_t nmemb, size_t sz, omp_allocator_handle_t al)
void__kmpc_realloc (int gtid, void *ptr, size_t sz, omp_allocator_handle_t al, omp_allocator_handle_t free_al)
void __kmpc_free (int gtid, void *ptr, omp_allocator_handle_t al)
void__kmp_alloc (int gtid, size_t align, size_t sz, omp_allocator_handle_t al)
void__kmp_calloc (int gtid, size_t align, size_t nmemb, size_t sz, omp_allocator_handle_t al)
void__kmp_realloc (int gtid, void *ptr, size_t sz, omp_allocator_handle_t al, omp_allocator_handle_t free_al)
void ___kmpc_free (int gtid, void *ptr, omp_allocator_handle_t al)
void __kmp_init_memkind ()
void __kmp_fini_memkind ()
void __kmp_init_target_mem ()
void __kmp_fini_target_mem ()
 Finalize target memory support.
omp_memspace_handle_t __kmp_get_devices_memspace (int ndevs, const int *devs, omp_memspace_handle_t, int host)
omp_allocator_handle_t __kmp_get_devices_allocator (int ndevs, const int *devs, omp_memspace_handle_t, int host)
int __kmp_get_memspace_num_resources (omp_memspace_handle_t memspace)
omp_memspace_handle_t __kmp_get_submemspace (omp_memspace_handle_t memspace, int num_resources, int *resources)
kmp_uint64 __kmp_now_nsec ()
 KMP_BUILD_ASSERT (sizeof(kmp_sched_flags_t)==4)
static void copy_icvs (kmp_internal_control_t *dst, kmp_internal_control_t *src)
 KMP_BUILD_ASSERT (sizeof(kmp_taskdata_t) % sizeof(void *)==0)
 KMP_BUILD_ASSERT (sizeof(kmp_task_team_t *[2])==sizeof(kmp_task_team_list_t))
 KMP_BUILD_ASSERT (alignof(kmp_task_team_t *[2])==alignof(kmp_task_team_list_t))
static bool __kmp_is_hybrid_cpu ()
static void __kmp_aux_convert_blocktime (int *bt)
static bool KMP_UBER_GTID (int gtid)
static int __kmp_tid_from_gtid (int gtid)
static int __kmp_gtid_from_tid (int tid, const kmp_team_t *team)
static int __kmp_gtid_from_thread (const kmp_info_t *thr)
static kmp_info_t__kmp_thread_from_gtid (int gtid)
static kmp_team_t__kmp_team_from_gtid (int gtid)
static void __kmp_assert_valid_gtid (kmp_int32 gtid)
void __kmp_print_storage_map_gtid (int gtid, void *p1, void *p2, size_t size, char const *format,...)
void __kmp_serial_initialize (void)
void __kmp_middle_initialize (void)
void __kmp_parallel_initialize (void)
void __kmp_internal_begin (void)
void __kmp_internal_end_library (int gtid)
void __kmp_internal_end_thread (int gtid)
void __kmp_internal_end_atexit (void)
void __kmp_internal_end_dtor (void)
void __kmp_internal_end_dest (void *)
int __kmp_register_root (int initial_thread)
void __kmp_unregister_root (int gtid)
void __kmp_unregister_library (void)
int __kmp_ignore_mppbeg (void)
int __kmp_ignore_mppend (void)
int __kmp_enter_single (int gtid, ident_t *id_ref, int push_ws)
void __kmp_exit_single (int gtid)
void __kmp_parallel_deo (int *gtid_ref, int *cid_ref, ident_t *loc_ref)
void __kmp_parallel_dxo (int *gtid_ref, int *cid_ref, ident_t *loc_ref)
int __kmp_get_global_thread_id (void)
int __kmp_get_global_thread_id_reg (void)
void __kmp_exit_thread (int exit_status)
void __kmp_abort (char const *format,...)
void __kmp_abort_thread (void)
KMP_NORETURN void __kmp_abort_process (void)
void __kmp_warn (char const *format,...)
void __kmp_set_num_threads (int new_nth, int gtid)
bool __kmp_detect_shm ()
bool __kmp_detect_tmp ()
static kmp_info_t__kmp_entry_thread ()
void __kmp_set_max_active_levels (int gtid, int new_max_active_levels)
int __kmp_get_max_active_levels (int gtid)
int __kmp_get_ancestor_thread_num (int gtid, int level)
int __kmp_get_team_size (int gtid, int level)
void __kmp_set_schedule (int gtid, kmp_sched_t new_sched, int chunk)
void __kmp_get_schedule (int gtid, kmp_sched_t *sched, int *chunk)
unsigned short __kmp_get_random (kmp_info_t *thread)
void __kmp_init_random (kmp_info_t *thread)
kmp_r_sched_t __kmp_get_schedule_global (void)
void __kmp_adjust_num_threads (int new_nproc)
void __kmp_check_stksize (size_t *val)
void___kmp_allocate (size_t size KMP_SRC_LOC_DECL)
void___kmp_page_allocate (size_t size KMP_SRC_LOC_DECL)
void ___kmp_free (void *ptr KMP_SRC_LOC_DECL)
void___kmp_thread_malloc (kmp_info_t *th, size_t size KMP_SRC_LOC_DECL)
void___kmp_thread_calloc (kmp_info_t *th, size_t nelem, size_t elsize KMP_SRC_LOC_DECL)
void___kmp_thread_realloc (kmp_info_t *th, void *ptr, size_t size KMP_SRC_LOC_DECL)
void ___kmp_thread_free (kmp_info_t *th, void *ptr KMP_SRC_LOC_DECL)
void __kmp_push_num_threads (ident_t *loc, int gtid, int num_threads)
void __kmp_push_num_threads_list (ident_t *loc, int gtid, kmp_uint32 list_length, int *num_threads_list)
void __kmp_set_strict_num_threads (ident_t *loc, int gtid, int sev, const char *msg)
void __kmp_push_proc_bind (ident_t *loc, int gtid, kmp_proc_bind_t proc_bind)
void __kmp_push_num_teams (ident_t *loc, int gtid, int num_teams, int num_threads)
void __kmp_push_num_teams_51 (ident_t *loc, int gtid, int num_teams_lb, int num_teams_ub, int num_threads)
void __kmp_yield ()
void __kmpc_dispatch_init_4 (ident_t *loc, kmp_int32 gtid, enum sched_type schedule, kmp_int32 lb, kmp_int32 ub, kmp_int32 st, kmp_int32 chunk)
void __kmpc_dispatch_init_4u (ident_t *loc, kmp_int32 gtid, enum sched_type schedule, kmp_uint32 lb, kmp_uint32 ub, kmp_int32 st, kmp_int32 chunk)
 See __kmpc_dispatch_init_4.
void __kmpc_dispatch_init_8 (ident_t *loc, kmp_int32 gtid, enum sched_type schedule, kmp_int64 lb, kmp_int64 ub, kmp_int64 st, kmp_int64 chunk)
 See __kmpc_dispatch_init_4.
void __kmpc_dispatch_init_8u (ident_t *loc, kmp_int32 gtid, enum sched_type schedule, kmp_uint64 lb, kmp_uint64 ub, kmp_int64 st, kmp_int64 chunk)
 See __kmpc_dispatch_init_4.
int __kmpc_dispatch_next_4 (ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_int32 *p_lb, kmp_int32 *p_ub, kmp_int32 *p_st)
int __kmpc_dispatch_next_4u (ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_uint32 *p_lb, kmp_uint32 *p_ub, kmp_int32 *p_st)
 See __kmpc_dispatch_next_4.
int __kmpc_dispatch_next_8 (ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_int64 *p_lb, kmp_int64 *p_ub, kmp_int64 *p_st)
 See __kmpc_dispatch_next_4.
int __kmpc_dispatch_next_8u (ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_uint64 *p_lb, kmp_uint64 *p_ub, kmp_int64 *p_st)
 See __kmpc_dispatch_next_4.
void __kmpc_dispatch_fini_4 (ident_t *loc, kmp_int32 gtid)
void __kmpc_dispatch_fini_8 (ident_t *loc, kmp_int32 gtid)
 See __kmpc_dispatch_fini_4.
void __kmpc_dispatch_fini_4u (ident_t *loc, kmp_int32 gtid)
 See __kmpc_dispatch_fini_4.
void __kmpc_dispatch_fini_8u (ident_t *loc, kmp_int32 gtid)
 See __kmpc_dispatch_fini_4.
void __kmpc_dispatch_deinit (ident_t *loc, kmp_int32 gtid)
 See __kmpc_dispatch_deinit.
kmp_uint32 __kmp_eq_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_neq_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_lt_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_ge_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_le_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_wait_4 (kmp_uint32 volatile *spinner, kmp_uint32 checker, kmp_uint32(*pred)(kmp_uint32, kmp_uint32), void *obj)
void __kmp_wait_4_ptr (void *spinner, kmp_uint32 checker, kmp_uint32(*pred)(void *, kmp_uint32), void *obj)
void __kmp_wait_64 (kmp_info_t *this_thr, kmp_flag_64<> *flag, int final_spin)
void __kmp_release_64 (kmp_flag_64<> *flag)
void __kmp_infinite_loop (void)
void __kmp_cleanup (void)
void __kmp_clear_system_time (void)
void __kmp_read_system_time (double *delta)
void __kmp_check_stack_overlap (kmp_info_t *thr)
void __kmp_expand_host_name (char *buffer, size_t size)
void __kmp_expand_file_name (char *result, size_t rlen, char *pattern)
void __kmp_runtime_initialize (void)
void __kmp_runtime_destroy (void)
static void __kmp_reset_root_init_mask (int gtid)
size_t __kmp_aux_capture_affinity (int gtid, const char *format, kmp_str_buf_t *buffer)
void __kmp_aux_display_affinity (int gtid, const char *format)
void __kmp_cleanup_hierarchy ()
void __kmp_get_hierarchy (kmp_uint32 nproc, kmp_bstate_t *thr_bar)
void __kmp_gtid_set_specific (int gtid)
int __kmp_gtid_get_specific (void)
double __kmp_read_cpu_time (void)
int __kmp_read_system_info (struct kmp_sys_info *info)
void__kmp_launch_thread (kmp_info_t *thr)
void __kmp_create_worker (int gtid, kmp_info_t *th, size_t stack_size)
void __kmp_reap_worker (kmp_info_t *th)
void __kmp_terminate_thread (int gtid)
int __kmp_try_suspend_mx (kmp_info_t *th)
void __kmp_lock_suspend_mx (kmp_info_t *th)
void __kmp_unlock_suspend_mx (kmp_info_t *th)
void __kmp_elapsed (double *)
void __kmp_elapsed_tick (double *)
void __kmp_enable (int old_state)
void __kmp_disable (int *old_state)
void __kmp_thread_sleep (int millis)
void __kmp_common_initialize (void)
void __kmp_common_destroy (void)
void __kmp_common_destroy_gtid (int gtid)
void __kmp_suspend_initialize (void)
void __kmp_suspend_initialize_thread (kmp_info_t *th)
void __kmp_suspend_uninitialize_thread (kmp_info_t *th)
kmp_info_t__kmp_allocate_thread (kmp_root_t *root, kmp_team_t *team, int tid)
kmp_team_t__kmp_allocate_team (kmp_root_t *root, int new_nproc, int max_nproc, kmp_proc_bind_t proc_bind, kmp_internal_control_t *new_icvs, int argc, kmp_info_t *thr)
void __kmp_free_thread (kmp_info_t *)
void __kmp_free_team (kmp_root_t *, kmp_team_t *, kmp_info_t *)
kmp_team_t__kmp_reap_team (kmp_team_t *)
void __kmp_initialize_bget (kmp_info_t *th)
void __kmp_finalize_bget (kmp_info_t *th)
KMP_EXPORT voidkmpc_malloc (size_t size)
KMP_EXPORT voidkmpc_aligned_malloc (size_t size, size_t alignment)
KMP_EXPORT voidkmpc_calloc (size_t nelem, size_t elsize)
KMP_EXPORT voidkmpc_realloc (void *ptr, size_t size)
KMP_EXPORT void kmpc_free (void *ptr)
int __kmp_barrier (enum barrier_type bt, int gtid, int is_split, size_t reduce_size, void *reduce_data, void(*reduce)(void *, void *))
void __kmp_end_split_barrier (enum barrier_type bt, int gtid)
int __kmp_barrier_gomp_cancel (int gtid)
int __kmp_fork_call (ident_t *loc, int gtid, enum fork_context_e fork_context, kmp_int32 argc, microtask_t microtask, launch_t invoker, kmp_va_list ap)
void __kmp_join_call (ident_t *loc, int gtid, int exit_teams=0)
void __kmp_serialized_parallel (ident_t *id, kmp_int32 gtid)
void __kmp_internal_fork (ident_t *id, int gtid, kmp_team_t *team)
void __kmp_internal_join (ident_t *id, int gtid, kmp_team_t *team)
int __kmp_invoke_task_func (int gtid)
void __kmp_run_before_invoked_task (int gtid, int tid, kmp_info_t *this_thr, kmp_team_t *team)
void __kmp_run_after_invoked_task (int gtid, int tid, kmp_info_t *this_thr, kmp_team_t *team)
KMP_EXPORT int __kmpc_invoke_task_func (int gtid)
int __kmp_invoke_teams_master (int gtid)
void __kmp_teams_master (int gtid)
int __kmp_aux_get_team_num ()
int __kmp_aux_get_num_teams ()
void __kmp_save_internal_controls (kmp_info_t *thread)
void __kmp_user_set_library (enum library_type arg)
void __kmp_aux_set_library (enum library_type arg)
void __kmp_aux_set_stacksize (size_t arg)
void __kmp_aux_set_blocktime (int arg, kmp_info_t *thread, int tid)
void __kmp_aux_set_defaults (char const *str, size_t len)
void kmpc_set_blocktime (int arg)
void ompc_set_nested (int flag)
void ompc_set_dynamic (int flag)
void ompc_set_num_threads (int arg)
void __kmp_push_current_task_to_thread (kmp_info_t *this_thr, kmp_team_t *team, int tid)
void __kmp_pop_current_task_from_thread (kmp_info_t *this_thr)
kmp_task_t__kmp_task_alloc (ident_t *loc_ref, kmp_int32 gtid, kmp_tasking_flags_t *flags, size_t sizeof_kmp_task_t, size_t sizeof_shareds, kmp_routine_entry_t task_entry)
void __kmp_init_implicit_task (ident_t *loc_ref, kmp_info_t *this_thr, kmp_team_t *team, int tid, int set_curr_task)
void __kmp_finish_implicit_task (kmp_info_t *this_thr)
void __kmp_free_implicit_task (kmp_info_t *this_thr)
kmp_event_t__kmpc_task_allow_completion_event (ident_t *loc_ref, int gtid, kmp_task_t *task)
void __kmp_fulfill_event (kmp_event_t *event)
void __kmp_free_task_team (kmp_info_t *thread, kmp_task_team_t *task_team)
void __kmp_reap_task_teams (void)
void __kmp_push_task_team_node (kmp_info_t *thread, kmp_team_t *team)
void __kmp_pop_task_team_node (kmp_info_t *thread, kmp_team_t *team)
void __kmp_wait_to_unref_task_teams (void)
void __kmp_task_team_setup (kmp_info_t *this_thr, kmp_team_t *team)
void __kmp_task_team_sync (kmp_info_t *this_thr, kmp_team_t *team)
void __kmp_task_team_wait (kmp_info_t *this_thr, kmp_team_t *team, int wait=1)
void __kmp_tasking_barrier (kmp_team_t *team, kmp_info_t *thread, int gtid)
int __kmp_is_address_mapped (void *addr)
kmp_uint64 __kmp_hardware_timestamp (void)
int __kmp_invoke_microtask (microtask_t pkfn, int gtid, int npr, int argc, void *argv[])
KMP_EXPORT void __kmpc_begin (ident_t *, kmp_int32 flags)
KMP_EXPORT void __kmpc_end (ident_t *)
KMP_EXPORT void __kmpc_threadprivate_register_vec (ident_t *, void *data, kmpc_ctor_vec ctor, kmpc_cctor_vec cctor, kmpc_dtor_vec dtor, size_t vector_length)
KMP_EXPORT void __kmpc_threadprivate_register (ident_t *, void *data, kmpc_ctor ctor, kmpc_cctor cctor, kmpc_dtor dtor)
KMP_EXPORT void__kmpc_threadprivate (ident_t *, kmp_int32 global_tid, void *data, size_t size)
KMP_EXPORT kmp_int32 __kmpc_global_thread_num (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_global_num_threads (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_bound_thread_num (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_bound_num_threads (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_ok_to_fork (ident_t *)
KMP_EXPORT void __kmpc_fork_call (ident_t *, kmp_int32 nargs, kmpc_micro microtask,...)
KMP_EXPORT void __kmpc_fork_call_if (ident_t *loc, kmp_int32 nargs, kmpc_micro microtask, kmp_int32 cond, void *args)
KMP_EXPORT void __kmpc_serialized_parallel (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_serialized_parallel (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_flush (ident_t *)
KMP_EXPORT void __kmpc_barrier (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_masked (ident_t *, kmp_int32 global_tid, kmp_int32 filter)
KMP_EXPORT void __kmpc_end_masked (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_ordered (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_ordered (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_critical (ident_t *, kmp_int32 global_tid, kmp_critical_name *)
KMP_EXPORT void __kmpc_end_critical (ident_t *, kmp_int32 global_tid, kmp_critical_name *)
KMP_EXPORT void __kmpc_critical_with_hint (ident_t *, kmp_int32 global_tid, kmp_critical_name *, uint32_t hint)
KMP_EXPORT kmp_int32 __kmpc_barrier_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_barrier_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_barrier_master_nowait (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_single (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_single (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_sections_init (ident_t *loc, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_next_section (ident_t *loc, kmp_int32 global_tid, kmp_int32 numberOfSections)
KMP_EXPORT void __kmpc_end_sections (ident_t *loc, kmp_int32 global_tid)
KMP_EXPORT void KMPC_FOR_STATIC_INIT (ident_t *loc, kmp_int32 global_tid, kmp_int32 schedtype, kmp_int32 *plastiter, kmp_int *plower, kmp_int *pupper, kmp_int *pstride, kmp_int incr, kmp_int chunk)
KMP_EXPORT void __kmpc_for_static_fini (ident_t *loc, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_copyprivate (ident_t *loc, kmp_int32 global_tid, size_t cpy_size, void *cpy_data, void(*cpy_func)(void *, void *), kmp_int32 didit)
KMP_EXPORT void__kmpc_copyprivate_light (ident_t *loc, kmp_int32 gtid, void *cpy_data)
void KMPC_SET_NUM_THREADS (int arg)
void KMPC_SET_DYNAMIC (int flag)
void KMPC_SET_NESTED (int flag)
KMP_EXPORT kmp_int32 __kmpc_omp_task (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task)
KMP_EXPORT kmp_task_t__kmpc_omp_task_alloc (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, size_t sizeof_kmp_task_t, size_t sizeof_shareds, kmp_routine_entry_t task_entry)
KMP_EXPORT kmp_task_t__kmpc_omp_target_task_alloc (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, size_t sizeof_kmp_task_t, size_t sizeof_shareds, kmp_routine_entry_t task_entry, kmp_int64 device_id)
KMP_EXPORT void __kmpc_omp_task_begin_if0 (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *task)
KMP_EXPORT void __kmpc_omp_task_complete_if0 (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *task)
KMP_EXPORT kmp_int32 __kmpc_omp_task_parts (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task)
KMP_EXPORT kmp_int32 __kmpc_omp_taskwait (ident_t *loc_ref, kmp_int32 gtid)
KMP_EXPORT kmp_int32 __kmpc_omp_taskyield (ident_t *loc_ref, kmp_int32 gtid, int end_part)
KMP_EXPORT void __kmpc_taskgroup (ident_t *loc, int gtid)
KMP_EXPORT void __kmpc_end_taskgroup (ident_t *loc, int gtid)
KMP_EXPORT kmp_int32 __kmpc_omp_task_with_deps (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list)
KMP_EXPORT kmp_base_depnode_t__kmpc_task_get_depnode (kmp_task_t *task)
KMP_EXPORT kmp_depnode_list_t__kmpc_task_get_successors (kmp_task_t *task)
KMP_EXPORT void __kmpc_omp_wait_deps (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list)
KMP_EXPORT void __kmpc_omp_taskwait_deps_51 (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list, kmp_int32 has_no_wait)
kmp_int32 __kmp_omp_task (kmp_int32 gtid, kmp_task_t *new_task, bool serialize_immediate)
KMP_EXPORT kmp_int32 __kmpc_cancel (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind)
KMP_EXPORT kmp_int32 __kmpc_cancellationpoint (ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind)
KMP_EXPORT kmp_int32 __kmpc_cancel_barrier (ident_t *loc_ref, kmp_int32 gtid)
KMP_EXPORT int __kmp_get_cancellation_status (int cancel_kind)
KMP_EXPORT void __kmpc_proxy_task_completed (kmp_int32 gtid, kmp_task_t *ptask)
KMP_EXPORT void __kmpc_proxy_task_completed_ooo (kmp_task_t *ptask)
KMP_EXPORT void __kmpc_taskloop (ident_t *loc, kmp_int32 gtid, kmp_task_t *task, kmp_int32 if_val, kmp_uint64 *lb, kmp_uint64 *ub, kmp_int64 st, kmp_int32 nogroup, kmp_int32 sched, kmp_uint64 grainsize, void *task_dup)
KMP_EXPORT void __kmpc_taskloop_5 (ident_t *loc, kmp_int32 gtid, kmp_task_t *task, kmp_int32 if_val, kmp_uint64 *lb, kmp_uint64 *ub, kmp_int64 st, kmp_int32 nogroup, kmp_int32 sched, kmp_uint64 grainsize, kmp_int32 modifier, void *task_dup)
KMP_EXPORT void__kmpc_task_reduction_init (int gtid, int num_data, void *data)
KMP_EXPORT void__kmpc_taskred_init (int gtid, int num_data, void *data)
KMP_EXPORT void__kmpc_task_reduction_get_th_data (int gtid, void *tg, void *d)
KMP_EXPORT void__kmpc_task_reduction_modifier_init (ident_t *loc, int gtid, int is_ws, int num, void *data)
KMP_EXPORT void__kmpc_taskred_modifier_init (ident_t *loc, int gtid, int is_ws, int num, void *data)
KMP_EXPORT void __kmpc_task_reduction_modifier_fini (ident_t *loc, int gtid, int is_ws)
KMP_EXPORT kmp_int32 __kmpc_omp_reg_task_with_affinity (ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task, kmp_int32 naffins, kmp_task_affinity_info_t *affin_list)
KMP_EXPORT void __kmp_set_num_teams (int num_teams)
KMP_EXPORT int __kmp_get_max_teams (void)
KMP_EXPORT void __kmp_set_teams_thread_limit (int limit)
KMP_EXPORT int __kmp_get_teams_thread_limit (void)
KMP_EXPORT void ** __kmpc_omp_get_target_async_handle_ptr (kmp_int32 gtid)
KMP_EXPORT bool __kmpc_omp_has_task_team (kmp_int32 gtid)
KMP_EXPORT void __kmpc_init_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_init_nest_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_destroy_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_destroy_nest_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_set_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_set_nest_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_unset_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_unset_nest_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT int __kmpc_test_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT int __kmpc_test_nest_lock (ident_t *loc, kmp_int32 gtid, void **user_lock)
KMP_EXPORT void __kmpc_init_lock_with_hint (ident_t *loc, kmp_int32 gtid, void **user_lock, uintptr_t hint)
KMP_EXPORT void __kmpc_init_nest_lock_with_hint (ident_t *loc, kmp_int32 gtid, void **user_lock, uintptr_t hint)
KMP_EXPORT kmp_int32 __kmpc_reduce_nowait (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size, void *reduce_data, void(*reduce_func)(void *lhs_data, void *rhs_data), kmp_critical_name *lck)
KMP_EXPORT void __kmpc_end_reduce_nowait (ident_t *loc, kmp_int32 global_tid, kmp_critical_name *lck)
KMP_EXPORT kmp_int32 __kmpc_reduce (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size, void *reduce_data, void(*reduce_func)(void *lhs_data, void *rhs_data), kmp_critical_name *lck)
KMP_EXPORT void __kmpc_end_reduce (ident_t *loc, kmp_int32 global_tid, kmp_critical_name *lck)
PACKED_REDUCTION_METHOD_T __kmp_determine_reduction_method (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size, void *reduce_data, void(*reduce_func)(void *lhs_data, void *rhs_data), kmp_critical_name *lck)
KMP_EXPORT kmp_int32 __kmp_get_reduce_method (void)
KMP_EXPORT kmp_uint64 __kmpc_get_taskid ()
KMP_EXPORT kmp_uint64 __kmpc_get_parent_taskid ()
KMP_EXPORT kmp_int32 __kmpc_in_parallel (ident_t *loc)
KMP_EXPORT void __kmpc_pop_num_threads (ident_t *loc, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_push_num_threads (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_threads)
KMP_EXPORT void __kmpc_push_num_threads_strict (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_threads, int severity, const char *message)
KMP_EXPORT void __kmpc_push_num_threads_list (ident_t *loc, kmp_int32 global_tid, kmp_uint32 list_length, kmp_int32 *num_threads_list)
KMP_EXPORT void __kmpc_push_num_threads_list_strict (ident_t *loc, kmp_int32 global_tid, kmp_uint32 list_length, kmp_int32 *num_threads_list, int severity, const char *message)
KMP_EXPORT void __kmpc_push_proc_bind (ident_t *loc, kmp_int32 global_tid, int proc_bind)
KMP_EXPORT void __kmpc_push_num_teams (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_teams, kmp_int32 num_threads)
KMP_EXPORT void __kmpc_set_thread_limit (ident_t *loc, kmp_int32 global_tid, kmp_int32 thread_limit)
KMP_EXPORT void __kmpc_push_num_teams_51 (ident_t *loc, kmp_int32 global_tid, kmp_int32 num_teams_lb, kmp_int32 num_teams_ub, kmp_int32 num_threads)
KMP_EXPORT void __kmpc_fork_teams (ident_t *loc, kmp_int32 argc, kmpc_micro microtask,...)
KMP_EXPORT void __kmpc_doacross_init (ident_t *loc, kmp_int32 gtid, kmp_int32 num_dims, const struct kmp_dim *dims)
KMP_EXPORT void __kmpc_doacross_wait (ident_t *loc, kmp_int32 gtid, const kmp_int64 *vec)
KMP_EXPORT void __kmpc_doacross_post (ident_t *loc, kmp_int32 gtid, const kmp_int64 *vec)
KMP_EXPORT void __kmpc_doacross_fini (ident_t *loc, kmp_int32 gtid)
KMP_EXPORT void__kmpc_threadprivate_cached (ident_t *loc, kmp_int32 global_tid, void *data, size_t size, void ***cache)
void kmp_threadprivate_insert_private_data (int gtid, void *pc_addr, void *data_addr, size_t pc_size)
struct private_commonkmp_threadprivate_insert (int gtid, void *pc_addr, void *data_addr, size_t pc_size)
void __kmp_threadprivate_resize_cache (int newCapacity)
void __kmp_cleanup_threadprivate_caches ()
KMP_EXPORT void KMPC_CONVENTION ompc_set_max_active_levels (int)
KMP_EXPORT void KMPC_CONVENTION ompc_set_schedule (omp_sched_t, int)
KMP_EXPORT int KMPC_CONVENTION ompc_get_ancestor_thread_num (int)
KMP_EXPORT int KMPC_CONVENTION ompc_get_team_size (int)
KMP_EXPORT int KMPC_CONVENTION kmpc_set_affinity_mask_proc (int, kmp_affinity_mask_t *)
KMP_EXPORT int KMPC_CONVENTION kmpc_unset_affinity_mask_proc (int, kmp_affinity_mask_t *)
KMP_EXPORT int KMPC_CONVENTION kmpc_get_affinity_mask_proc (int, kmp_affinity_mask_t *)
KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize (int)
KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize_s (size_t)
KMP_EXPORT void KMPC_CONVENTION kmpc_set_library (int)
KMP_EXPORT void KMPC_CONVENTION kmpc_set_defaults (char const *)
KMP_EXPORT void KMPC_CONVENTION kmpc_set_disp_num_buffers (int)
void KMP_EXPAND_NAME ompc_set_affinity_format (char const *format)
size_t KMP_EXPAND_NAME ompc_get_affinity_format (char *buffer, size_t size)
void KMP_EXPAND_NAME ompc_display_affinity (char const *format)
size_t KMP_EXPAND_NAME ompc_capture_affinity (char *buffer, size_t buf_size, char const *format)
int __kmpc_get_target_offload ()
int __kmpc_pause_resource (kmp_pause_status_t level)
int __kmp_pause_resource (kmp_pause_status_t level)
void __kmp_resume_if_soft_paused ()
static void __kmp_resume_if_hard_paused ()
void __kmp_omp_display_env (int verbose)
void __kmp_hidden_helper_initialize ()
void __kmp_hidden_helper_threads_initz_routine ()
void __kmp_do_initialize_hidden_helper_threads ()
void __kmp_hidden_helper_threads_initz_wait ()
void __kmp_hidden_helper_initz_release ()
void __kmp_hidden_helper_threads_deinitz_wait ()
void __kmp_hidden_helper_threads_deinitz_release ()
void __kmp_hidden_helper_main_thread_wait ()
void __kmp_hidden_helper_worker_thread_wait ()
void __kmp_hidden_helper_worker_thread_signal ()
void __kmp_hidden_helper_main_thread_release ()
static int __kmp_adjust_gtid_for_hidden_helpers (int gtid)
void __kmpc_error (ident_t *loc, int severity, const char *message)
KMP_EXPORT void __kmpc_scope (ident_t *loc, kmp_int32 gtid, void *reserved)
KMP_EXPORT void __kmpc_end_scope (ident_t *loc, kmp_int32 gtid, void *reserved)
template<bool C, bool S>
void __kmp_suspend_32 (int th_gtid, kmp_flag_32< C, S > *flag)
template<bool C, bool S>
void __kmp_suspend_64 (int th_gtid, kmp_flag_64< C, S > *flag)
template<bool C, bool S>
void __kmp_atomic_suspend_64 (int th_gtid, kmp_atomic_flag_64< C, S > *flag)
void __kmp_suspend_oncore (int th_gtid, kmp_flag_oncore *flag)
template<bool C, bool S>
void __kmp_resume_32 (int target_gtid, kmp_flag_32< C, S > *flag)
template<bool C, bool S>
void __kmp_resume_64 (int target_gtid, kmp_flag_64< C, S > *flag)
template<bool C, bool S>
void __kmp_atomic_resume_64 (int target_gtid, kmp_atomic_flag_64< C, S > *flag)
void __kmp_resume_oncore (int target_gtid, kmp_flag_oncore *flag)
template<bool C, bool S>
int __kmp_execute_tasks_32 (kmp_info_t *thread, kmp_int32 gtid, kmp_flag_32< C, S > *flag, int final_spin, int *thread_finished, kmp_int32 is_constrained)
template<bool C, bool S>
int __kmp_execute_tasks_64 (kmp_info_t *thread, kmp_int32 gtid, kmp_flag_64< C, S > *flag, int final_spin, int *thread_finished, kmp_int32 is_constrained)
template<bool C, bool S>
int __kmp_atomic_execute_tasks_64 (kmp_info_t *thread, kmp_int32 gtid, kmp_atomic_flag_64< C, S > *flag, int final_spin, int *thread_finished, kmp_int32 is_constrained)
int __kmp_execute_tasks_oncore (kmp_info_t *thread, kmp_int32 gtid, kmp_flag_oncore *flag, int final_spin, int *thread_finished, kmp_int32 is_constrained)
void __kmp_init_nesting_mode ()
void __kmp_set_nesting_mode_threads ()
template<typename T1, typename T2>
static void __kmp_type_convert (T1 src, T2 *dest)

Variables

enum sched_type __kmp_sch_map []
kmp_nested_nthreads_t __kmp_nested_nth
kmp_nested_proc_bind_t __kmp_nested_proc_bind
kmp_proc_bind_t __kmp_teams_proc_bind
int __kmp_display_affinity
char__kmp_affinity_format
static const size_t KMP_AFFINITY_FORMAT_SIZE = 512
int __kmp_affinity_num_places
kmp_hws_item_t __kmp_hws_socket
kmp_hws_item_t __kmp_hws_die
kmp_hws_item_t __kmp_hws_node
kmp_hws_item_t __kmp_hws_tile
kmp_hws_item_t __kmp_hws_core
kmp_hws_item_t __kmp_hws_proc
int __kmp_hws_requested
int __kmp_hws_abs_flag
omp_memspace_handle_t const omp_null_mem_space
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
omp_memspace_handle_t const kmp_max_mem_space
omp_allocator_handle_t const omp_null_allocator
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
int __kmp_memkind_available
bool __kmp_hwloc_available
kmp_key_t __kmp_gtid_threadprivate_key
kmp_tasking_mode_t __kmp_tasking_mode
int __kmp_task_stealing_constraint
int __kmp_enable_task_throttling
kmp_int32 __kmp_default_device
kmp_int32 __kmp_max_task_priority
kmp_uint64 __kmp_taskloop_min_tasks
int __kmp_settings
int __kmp_duplicate_library_ok
PACKED_REDUCTION_METHOD_T __kmp_force_reduction_method
int __kmp_determ_red
int __kmp_debug_buf
int __kmp_debug_buf_lines
int __kmp_debug_buf_chars
int __kmp_debug_buf_atomic
char__kmp_debug_buffer
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
volatile int __kmp_init_serial
volatile int __kmp_init_gtid
volatile int __kmp_init_common
volatile int __kmp_need_register_serial
volatile int __kmp_init_middle
volatile int __kmp_init_parallel
volatile int __kmp_init_user_locks
volatile int __kmp_init_hidden_helper_threads
int __kmp_init_counter
int __kmp_root_counter
int __kmp_version
kmp_cached_addr_t__kmp_threadpriv_cache_list
kmp_uint32 __kmp_barrier_gather_bb_dflt
kmp_uint32 __kmp_barrier_release_bb_dflt
kmp_bar_pat_e __kmp_barrier_gather_pat_dflt
kmp_bar_pat_e __kmp_barrier_release_pat_dflt
kmp_uint32 __kmp_barrier_gather_branch_bits [bs_last_barrier]
kmp_uint32 __kmp_barrier_release_branch_bits [bs_last_barrier]
kmp_bar_pat_e __kmp_barrier_gather_pattern [bs_last_barrier]
kmp_bar_pat_e __kmp_barrier_release_pattern [bs_last_barrier]
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]
kmp_bootstrap_lock_t __kmp_initz_lock
kmp_bootstrap_lock_t __kmp_forkjoin_lock
kmp_bootstrap_lock_t __kmp_task_team_lock
kmp_bootstrap_lock_t __kmp_exit_lock
kmp_bootstrap_lock_t __kmp_tp_cached_lock
kmp_lock_t __kmp_global_lock
enum library_type __kmp_library
enum sched_type __kmp_sched
enum sched_type __kmp_static
enum sched_type __kmp_guided
enum sched_type __kmp_auto
int __kmp_chunk
int __kmp_force_monotonic
size_t __kmp_stksize
size_t __kmp_stkoffset
int __kmp_stkpadding
size_t __kmp_malloc_pool_incr
int __kmp_env_stksize
int __kmp_env_blocktime
int __kmp_env_checks
int __kmp_env_consistency_check
int __kmp_generate_warnings
int __kmp_reserve_warn
kmp_int32 __kmp_use_yield
kmp_int32 __kmp_use_yield_exp_set
kmp_uint32 __kmp_yield_init
kmp_uint32 __kmp_yield_next
kmp_uint64 __kmp_pause_init
int __kmp_allThreadsSpecified
size_t __kmp_align_alloc
int __kmp_xproc
int __kmp_avail_proc
size_t __kmp_sys_min_stksize
int __kmp_sys_max_nth
int __kmp_max_nth
int __kmp_cg_max_nth
int __kmp_task_max_nth
int __kmp_teams_max_nth
int __kmp_threads_capacity
int __kmp_dflt_team_nth
int __kmp_dflt_team_nth_ub
int __kmp_tp_capacity
int __kmp_tp_cached
int __kmp_dflt_blocktime
char __kmp_blocktime_units
bool __kmp_wpolicy_passive
int __kmp_abort_delay
int __kmp_need_register_atfork_specified
int __kmp_need_register_atfork
int __kmp_gtid_mode
int __kmp_adjust_gtid_mode
int __kmp_tls_gtid_min
int __kmp_foreign_tp
int __kmp_dflt_max_active_levels
bool __kmp_dflt_max_active_levels_set
int __kmp_dispatch_num_buffers
int __kmp_hot_teams_mode
int __kmp_hot_teams_max_level
int __kmp_display_env
int __kmp_display_env_verbose
int __kmp_omp_cancellation
int __kmp_nteams
int __kmp_teams_thread_limit
kmp_info_t ** __kmp_threads
kmp_old_threads_list_t__kmp_old_threads_list
volatile kmp_team_t__kmp_team_pool
volatile kmp_info_t__kmp_thread_pool
kmp_info_t__kmp_thread_pool_insert_pt
volatile int __kmp_nth
volatile int __kmp_all_nth
std::atomic< int__kmp_thread_pool_active_nth
kmp_root_t ** __kmp_root
kmp_global_t __kmp_global
kmp_info_t __kmp_monitor
std::atomic< kmp_int32__kmp_team_counter
std::atomic< kmp_int32__kmp_task_counter
kmp_target_offload_kind_t __kmp_target_offload
kmp_pause_status_t __kmp_pause_status
volatile int __kmp_init_hidden_helper
volatile int __kmp_hidden_helper_team_done
kmp_int32 __kmp_enable_hidden_helper
kmp_info_t__kmp_hidden_helper_main_thread
kmp_info_t ** __kmp_hidden_helper_threads
kmp_int32 __kmp_hidden_helper_threads_num
std::atomic< kmp_int32__kmp_unexecuted_hidden_helper_tasks
int __kmp_nesting_mode
int __kmp_nesting_mode_nlevels
int__kmp_nesting_nth_level
enum  {
  KMP_IDENT_IMB = 0x01 , KMP_IDENT_KMPC = 0x02 , KMP_IDENT_AUTOPAR = 0x08 , KMP_IDENT_ATOMIC_REDUCE = 0x10 ,
  KMP_IDENT_BARRIER_EXPL = 0x20 , KMP_IDENT_BARRIER_IMPL = 0x0040 , KMP_IDENT_BARRIER_IMPL_MASK = 0x01C0 , KMP_IDENT_BARRIER_IMPL_FOR = 0x0040 ,
  KMP_IDENT_BARRIER_IMPL_SECTIONS = 0x00C0 , KMP_IDENT_BARRIER_IMPL_SINGLE = 0x0140 , KMP_IDENT_BARRIER_IMPL_WORKSHARE = 0x01C0 , KMP_IDENT_WORK_LOOP = 0x200 ,
  KMP_IDENT_WORK_SECTIONS = 0x400 , KMP_IDENT_WORK_DISTRIBUTE = 0x800 , KMP_IDENT_ATOMIC_HINT_MASK = 0xFF0000 , KMP_IDENT_ATOMIC_HINT_UNCONTENDED = 0x010000 ,
  KMP_IDENT_ATOMIC_HINT_CONTENDED = 0x020000 , KMP_IDENT_ATOMIC_HINT_NONSPECULATIVE = 0x040000 , KMP_IDENT_ATOMIC_HINT_SPECULATIVE = 0x080000 , KMP_IDENT_OPENMP_SPEC_VERSION_MASK = 0xFF000000
}
 Values for bit flags used in the ident_t to describe the fields. More...
typedef struct ident ident_t
 The ident structure that describes a source location.

Macro Definition Documentation

◆ __kmp_allocate

#define __kmp_allocate ( size)
Value:
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t size
void * ___kmp_allocate(size_t size KMP_SRC_LOC_DECL)
#define KMP_SRC_LOC_CURR

Definition at line 3754 of file kmp.h.

Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_alloc_task_deque(), __kmp_alloc_task_pri_list(), __kmp_allocate_cons_stack(), __kmp_allocate_task_team(), __kmp_allocate_team(), __kmp_allocate_team_arrays(), __kmp_allocate_thread(), __kmp_dispatch_init_algorithm(), __kmp_dispatch_init_hierarchy(), __kmp_do_serial_initialize(), __kmp_expand_cons_stack(), __kmp_expand_threads(), __kmp_fork_call(), __kmp_get_submemspace(), __kmp_GOMP_taskgroup_reduction_register(), __kmp_init_common_data(), __kmp_init_drdpa_lock(), __kmp_initialize_info(), __kmp_lock_block_allocate(), __kmp_lock_table_insert(), __kmp_omp_task(), __kmp_process_deps(), __kmp_push_task_team_node(), __kmp_realloc_task_deque(), __kmp_realloc_task_threads_data(), __kmp_register_root(), __kmp_save_internal_controls(), __kmp_serialized_parallel(), __kmp_task_reduction_init(), __kmp_teams_master(), __kmp_threadprivate_resize_cache(), __kmp_track_dependence(), __kmp_user_lock_allocate(), __kmpc_init_allocator(), __kmpc_omp_task_with_deps(), __kmpc_task_reduction_get_th_data(), __kmpc_task_reduction_init(), __kmpc_taskred_init(), __kmpc_threadprivate_cached(), __kmpc_threadprivate_register(), __kmpc_threadprivate_register_vec(), __ompt_lw_taskteam_link(), kmp_hw_subset_t::allocate(), kmp_topology_t::allocate(), kmp_hier_t< T >::allocate_hier(), kmp_hier_sched_env_t::append(), CollapseAllocator< T >::CollapseAllocator(), kmp_tgt_memspace_list_t::get_memspace(), hierarchy_info::init(), kmp_threadprivate_insert(), kmp_threadprivate_insert_private_data(), kmp_flag_native< PtrType, FlagType, Sleepable >::operator new(), kmp_flag_oncore::operator new(), kmp_hw_subset_t::push_back(), hierarchy_info::resize(), and SimpleVLA< T, N >::SimpleVLA().

◆ __kmp_assign_root_init_mask

◆ __kmp_entry_gtid

#define __kmp_entry_gtid ( )
Value:
int __kmp_get_global_thread_id_reg(void)

Definition at line 3601 of file kmp.h.

Referenced by __GOMP_taskloop(), __kmp_aux_env_initialize(), __kmp_control_tool(), __kmp_dispatch_init_hierarchy(), __kmp_entry_thread(), __kmp_get_devices_allocator(), __kmp_GOMP_doacross_post< long, false >(), __kmp_GOMP_doacross_post< long, true >(), __kmp_GOMP_doacross_wait(), __kmp_internal_begin(), __kmp_parallel_initialize(), __kmp_set_nesting_mode_threads(), __kmp_user_set_library(), __kmpc_atomic_start(), __kmpc_bound_thread_num(), __kmpc_fork_call(), __kmpc_fork_call_if(), __kmpc_fork_teams(), __kmpc_global_thread_num(), FTN_CONTROL_TOOL(), FTN_DESTROY_ALLOCATOR(), FTN_DESTROY_LOCK(), FTN_DESTROY_NEST_LOCK(), FTN_GET_ANCESTOR_THREAD_NUM(), FTN_GET_BLOCKTIME(), FTN_GET_DEFAULT_ALLOCATOR(), FTN_GET_MAX_ACTIVE_LEVELS(), FTN_GET_MAX_THREADS(), FTN_GET_NUM_PLACES(), FTN_GET_NUM_PROCS(), FTN_GET_PARTITION_NUM_PLACES(), FTN_GET_PARTITION_PLACE_NUMS(), FTN_GET_PLACE_NUM(), FTN_GET_PLACE_NUM_PROCS(), FTN_GET_PLACE_PROC_IDS(), FTN_GET_SCHEDULE(), FTN_GET_TEAM_SIZE(), FTN_GET_THREAD_LIMIT(), FTN_GET_THREAD_NUM(), FTN_IN_EXPLICIT_TASK(), FTN_INIT_ALLOCATOR(), FTN_INIT_LOCK(), FTN_INIT_NEST_LOCK(), FTN_SET_BLOCKTIME(), FTN_SET_DEFAULT_ALLOCATOR(), FTN_SET_LOCK(), FTN_SET_MAX_ACTIVE_LEVELS(), FTN_SET_NEST_LOCK(), FTN_SET_NUM_THREADS(), FTN_SET_SCHEDULE(), FTN_TEST_LOCK(), FTN_TEST_NEST_LOCK(), FTN_UNSET_LOCK(), FTN_UNSET_NEST_LOCK(), KMP_API_NAME_GOMP_ALLOC(), KMP_API_NAME_GOMP_ATOMIC_START(), KMP_API_NAME_GOMP_BARRIER(), KMP_API_NAME_GOMP_CRITICAL_NAME_START(), KMP_API_NAME_GOMP_CRITICAL_START(), KMP_API_NAME_GOMP_DOACROSS_ULL_POST(), KMP_API_NAME_GOMP_FREE(), KMP_API_NAME_GOMP_LOOP_DOACROSS_START(), KMP_API_NAME_GOMP_LOOP_ORDERED_START(), KMP_API_NAME_GOMP_LOOP_START(), KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_START(), KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_START(), KMP_API_NAME_GOMP_LOOP_ULL_START(), KMP_API_NAME_GOMP_ORDERED_START(), KMP_API_NAME_GOMP_PARALLEL_REDUCTIONS(), KMP_API_NAME_GOMP_PARALLEL_START(), KMP_API_NAME_GOMP_SECTIONS2_START(), KMP_API_NAME_GOMP_SINGLE_COPY_START(), KMP_API_NAME_GOMP_SINGLE_START(), KMP_API_NAME_GOMP_TASK_REDUCTION_REMAP(), KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_REGISTER(), KMP_API_NAME_GOMP_TASKWAIT_DEPEND(), KMP_API_NAME_GOMP_TEAMS_REG(), kmpc_set_blocktime(), omp_aligned_alloc(), omp_aligned_calloc(), omp_alloc(), omp_calloc(), omp_free(), omp_realloc(), ompc_get_ancestor_thread_num(), ompc_get_team_size(), ompc_set_max_active_levels(), ompc_set_num_threads(), ompc_set_schedule(), ompt_get_partition_place_nums(), and ompt_get_place_num().

◆ __kmp_free

#define __kmp_free ( ptr)
Value:
void ___kmp_free(void *ptr KMP_SRC_LOC_DECL)

Definition at line 3756 of file kmp.h.

Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_alloc_argv_entries(), __kmp_cleanup(), __kmp_cleanup_threadprivate_caches(), __kmp_cleanup_user_locks(), __kmp_dephash_free_entries(), __kmp_destroy_drdpa_lock(), __kmp_dispatch_next(), __kmp_free_cons_stack(), __kmp_free_hot_teams(), __kmp_free_task_deque(), __kmp_free_task_pri_list(), __kmp_free_task_threads_data(), __kmp_free_team(), __kmp_free_team_arrays(), __kmp_free_thread(), __kmp_get_submemspace(), __kmp_initialize_info(), __kmp_omp_task(), __kmp_pop_task_team_node(), __kmp_realloc_task_deque(), __kmp_realloc_task_threads_data(), __kmp_reallocate_team_arrays(), __kmp_reap_task_teams(), __kmp_reap_team(), __kmp_reap_thread(), __kmp_reset_root(), __kmp_task_reduction_fini(), __kmp_track_dependence(), __kmpc_destroy_allocator(), __kmpc_end_serialized_parallel(), __kmpc_fork_teams(), __kmpc_init_allocator(), __kmpc_omp_task_with_deps(), __ompt_lw_taskteam_unlink(), distributedBarrier::deallocate(), kmp_hier_sched_env_t::deallocate(), kmp_hier_t< T >::deallocate(), kmp_hw_subset_t::deallocate(), kmp_topology_t::deallocate(), hierarchy_info::fini(), kmp_tgt_memspace_list_t::fini(), kmp_tgt_memspace_list_t::get_memspace(), KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_UNREGISTER(), kmp_flag_native< PtrType, FlagType, Sleepable >::operator delete(), kmp_flag_oncore::operator delete(), kmp_hw_subset_t::push_back(), hierarchy_info::resize(), CollapseAllocator< T >::~CollapseAllocator(), and SimpleVLA< T, N >::~SimpleVLA().

◆ __kmp_get_gtid

#define __kmp_get_gtid ( )
Value:
int __kmp_get_global_thread_id(void)

Definition at line 3600 of file kmp.h.

Referenced by __kmp_alloc_task_pri_list(), __kmp_allocate_thread(), __kmp_check_barrier(), __kmp_check_sync(), __kmp_check_workshare(), __kmp_expand_cons_stack(), __kmp_fork_team_threads(), __kmp_free_team(), __kmp_free_thread(), __kmp_fulfill_event(), __kmp_get_priority_task(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_push_parallel(), __kmp_push_sync(), __kmp_push_workshare(), __kmp_release_template(), __kmp_reserve_threads(), __kmp_resume_template(), __kmp_resume_template(), __kmp_stg_parse_allocator(), __kmpc_atomic_end(), __kmpc_cancel(), __kmpc_cancel_barrier(), __kmpc_cancellationpoint(), __kmpc_get_parent_taskid(), __kmpc_get_taskid(), __ompt_get_parallel_info_internal(), __ompt_get_target_task_data(), __ompt_get_task_info_internal(), __ompt_get_thread_data_internal(), core_barrier_impl< T >::barrier(), counter_barrier_impl< T >::barrier(), FTN_CAPTURE_AFFINITY(), FTN_DISPLAY_AFFINITY(), FTN_GET_AFFINITY(), KMP_API_NAME_GOMP_ATOMIC_END(), KMP_API_NAME_GOMP_CRITICAL_END(), KMP_API_NAME_GOMP_CRITICAL_NAME_END(), KMP_API_NAME_GOMP_ORDERED_END(), KMP_API_NAME_GOMP_PARALLEL_END(), KMP_API_NAME_GOMP_SINGLE_COPY_END(), KMP_API_NAME_GOMP_TASKGROUP_REDUCTION_UNREGISTER(), KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER(), ompc_capture_affinity(), ompc_display_affinity(), ompt_get_partition_place_nums(), ompt_get_place_num(), and ompt_get_proc_id().

◆ __kmp_get_team

#define __kmp_get_team ( )
Value:
(__kmp_threads[(__kmp_get_gtid())]->th.th_team)
kmp_info_t ** __kmp_threads
#define __kmp_get_gtid()
Definition kmp.h:3600

Definition at line 3603 of file kmp.h.

◆ __kmp_get_team_num_threads

#define __kmp_get_team_num_threads ( gtid)
Value:
(__kmp_threads[(gtid)]->th.th_team->t.t_nproc)

Definition at line 3609 of file kmp.h.

Referenced by __kmp_determine_reduction_method().

◆ __kmp_get_thread

#define __kmp_get_thread ( )
Value:
static kmp_info_t * __kmp_thread_from_gtid(int gtid)
Definition kmp.h:3634

Definition at line 3604 of file kmp.h.

Referenced by __kmp_fulfill_event(), kmpc_free(), and kmpc_realloc().

◆ __kmp_get_tid

#define __kmp_get_tid ( )
Value:
static int __kmp_tid_from_gtid(int gtid)
Definition kmp.h:3619

Definition at line 3602 of file kmp.h.

Referenced by __ompt_get_task_info_internal(), and KMP_API_NAME_GOMP_TASK_REDUCTION_REMAP().

◆ __kmp_page_allocate

#define __kmp_page_allocate ( size)
Value:
void * ___kmp_page_allocate(size_t size KMP_SRC_LOC_DECL)

Definition at line 3755 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

◆ __kmp_thread_calloc

#define __kmp_thread_calloc ( th,
nelem,
elsize )
Value:
___kmp_thread_calloc((th), (nelem), (elsize)KMP_SRC_LOC_CURR)
void * ___kmp_thread_calloc(kmp_info_t *th, size_t nelem, size_t elsize KMP_SRC_LOC_DECL)

Definition at line 3778 of file kmp.h.

Referenced by __kmpc_doacross_init().

◆ __kmp_thread_free

◆ __kmp_thread_malloc

◆ __kmp_thread_realloc

#define __kmp_thread_realloc ( th,
ptr,
size )
Value:
void * ___kmp_thread_realloc(kmp_info_t *th, void *ptr, size_t size KMP_SRC_LOC_DECL)

Definition at line 3780 of file kmp.h.

◆ _KMP_GEN_ID

#define _KMP_GEN_ID ( counter)
Value:
(~0)

Definition at line 3677 of file kmp.h.

◆ bs_reduction_barrier

#define bs_reduction_barrier   bs_plain_barrier

◆ FALSE

#define FALSE   0

Definition at line 1349 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_barrier_template(), __kmp_cleanup(), __kmp_cleanup_user_locks(), __kmp_common_destroy(), __kmp_create_worker(), __kmp_dispatch_init(), __kmp_dispatch_init_algorithm(), __kmp_dispatch_init_hierarchy(), __kmp_dispatch_next(), __kmp_dist_barrier_gather(), __kmp_dist_barrier_release(), __kmp_do_serial_initialize(), __kmp_end_split_barrier(), __kmp_env_initialize(), __kmp_execute_tasks_template(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_team_threads(), __kmp_free_thread(), __kmp_get_global_thread_id_reg(), __kmp_hidden_helper_threads_initz_routine(), __kmp_hierarchical_barrier_gather(), __kmp_hierarchical_barrier_release(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_ignore_mppbeg(), __kmp_ignore_mppend(), __kmp_infinite_loop(), __kmp_initialize_root(), __kmp_initialize_team(), __kmp_internal_end(), __kmp_launch_worker(), __kmp_linear_barrier_gather_template(), __kmp_linear_barrier_release_template(), __kmp_match_str(), __kmp_match_with_sentinel(), __kmp_parse_nested_num_threads(), __kmp_print_storage_map_gtid(), __kmp_realloc_task_threads_data(), __kmp_reap_thread(), __kmp_register_atfork(), __kmp_reinitialize_team(), __kmp_release_queuing_lock(), __kmp_reset_root(), __kmp_runtime_destroy(), __kmp_serial_fork_call(), __kmp_set_stack_info(), __kmp_setup_icv_copy(), __kmp_steal_task(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_bool(), __kmp_stg_parse_consistency_check(), __kmp_stg_parse_gtid_mode(), __kmp_stg_parse_num_hidden_helper_threads(), __kmp_stg_parse_spin_backoff_params(), __kmp_stg_parse_storage_map(), __kmp_stg_parse_use_hidden_helper(), __kmp_str_contains(), __kmp_str_match(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_suspend_uninitialize_thread(), __kmp_task_alloc(), __kmp_task_team_init(), __kmp_task_team_wait(), __kmp_tasking_barrier(), __kmp_terminate_thread(), __kmp_test_drdpa_lock(), __kmp_test_queuing_lock(), __kmp_test_tas_lock(), __kmp_test_ticket_lock(), __kmp_thread_sleep(), __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_wait_64(), __kmp_wait_template(), __kmp_wait_to_unref_task_teams(), __kmp_win32_cond_init(), __kmpc_atomic_1(), __kmpc_atomic_2(), __kmpc_atomic_8(), __kmpc_barrier(), __kmpc_barrier_master_nowait(), __kmpc_begin(), __kmpc_copyprivate(), __kmpc_copyprivate_light(), __kmpc_end(), __kmpc_end_reduce(), __kmpc_end_taskgroup(), __kmpc_for_collapsed_init(), __kmpc_omp_has_task_team(), __kmpc_omp_task_alloc(), __kmpc_omp_taskwait_deps_51(), __kmpc_omp_taskwait_template(), __kmpc_omp_taskyield(), __kmpc_reduce_nowait(), FTN_SET_DISP_NUM_BUFFERS(), FTN_SET_DYNAMIC(), FTN_SET_WARNINGS_OFF(), KMP_API_NAME_GOMP_SINGLE_COPY_END(), KMP_API_NAME_GOMP_SINGLE_COPY_START(), KMP_API_NAME_GOMP_SINGLE_START(), KMP_LOCK_INIT(), kmpc_set_disp_num_buffers(), kmp_hier_t< T >::next(), and kmp_atomic_flag_64< Cancellable, Sleepable >::wait().

◆ get__blocktime

#define get__blocktime ( xteam,
xtid )
Value:
((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.blocktime)

Definition at line 2390 of file kmp.h.

Referenced by FTN_GET_BLOCKTIME().

◆ get__bt_set

#define get__bt_set ( xteam,
xtid )
Value:
((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.bt_set)

Definition at line 2392 of file kmp.h.

Referenced by FTN_GET_BLOCKTIME().

◆ get__dynamic

#define get__dynamic ( xthread)
Value:
(((xthread)->th.th_current_task->td_icvs.dynamic) ? (FTN_TRUE) : (FTN_FALSE))
#define FTN_TRUE
Definition kmp_os.h:1178
#define FTN_FALSE
Definition kmp_os.h:1182

Definition at line 2421 of file kmp.h.

Referenced by FTN_GET_DYNAMIC().

◆ get__dynamic_2

#define get__dynamic_2 ( xteam,
xtid )
Value:
((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.dynamic)

Definition at line 2399 of file kmp.h.

Referenced by __kmp_reserve_threads().

◆ get__max_active_levels

#define get__max_active_levels ( xthread)
Value:
((xthread)->th.th_current_task->td_icvs.max_active_levels)

Definition at line 2433 of file kmp.h.

Referenced by __kmp_set_nesting_mode_threads(), FTN_GET_NESTED(), and FTN_SET_NESTED().

◆ get__nproc_2

#define get__nproc_2 ( xteam,
xtid )
Value:
((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.nproc)

Definition at line 2401 of file kmp.h.

Referenced by __kmp_fork_call().

◆ get__proc_bind

#define get__proc_bind ( xthread)
Value:
((xthread)->th.th_current_task->td_icvs.proc_bind)

Definition at line 2441 of file kmp.h.

Referenced by FTN_GET_PROC_BIND().

◆ get__sched_2

#define get__sched_2 ( xteam,
xtid )
Value:
((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.sched)

Definition at line 2403 of file kmp.h.

Referenced by __kmp_fork_call().

◆ INITIAL_TASK_DEQUE_SIZE

#define INITIAL_TASK_DEQUE_SIZE   (1 << TASK_DEQUE_BITS)

◆ IS_CONS_TYPE_ORDERED

#define IS_CONS_TYPE_ORDERED ( ct)
Value:
((ct) == ct_pdo_ordered)
@ ct_pdo_ordered
Definition kmp.h:1695

Definition at line 1707 of file kmp.h.

Referenced by __kmp_check_sync().

◆ KMP_ASSERT_VALID_HW_TYPE

#define KMP_ASSERT_VALID_HW_TYPE ( type)
Value:
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle __itt_metadata_type type
kmp_hw_t
Definition kmp.h:601
@ KMP_HW_LAST
Definition kmp.h:615
#define KMP_ASSERT(cond)
Definition kmp_debug.h:59

Definition at line 633 of file kmp.h.

Referenced by kmp_topology_t::canonicalize(), and kmp_topology_t::print().

◆ KMP_BARRIER_BUMP_BIT

#define KMP_BARRIER_BUMP_BIT   2 /* lsb used for bump of go/arrived state */

Definition at line 2124 of file kmp.h.

◆ KMP_BARRIER_ICV_PUSH

#define KMP_BARRIER_ICV_PUSH   1

Definition at line 2188 of file kmp.h.

◆ KMP_BARRIER_NOT_WAITING

#define KMP_BARRIER_NOT_WAITING   0

◆ KMP_BARRIER_OWN_FLAG

#define KMP_BARRIER_OWN_FLAG    1

Definition at line 2139 of file kmp.h.

Referenced by __kmp_hierarchical_barrier_release().

◆ KMP_BARRIER_PARENT_FLAG

#define KMP_BARRIER_PARENT_FLAG    2

◆ KMP_BARRIER_SLEEP_BIT

#define KMP_BARRIER_SLEEP_BIT   0 /* bit used for suspend/sleep part of state */

Definition at line 2122 of file kmp.h.

◆ KMP_BARRIER_SLEEP_STATE

◆ KMP_BARRIER_STATE_BUMP

◆ KMP_BARRIER_SWITCH_TO_OWN_FLAG

#define KMP_BARRIER_SWITCH_TO_OWN_FLAG    3

Definition at line 2143 of file kmp.h.

Referenced by __kmp_allocate_team(), __kmp_free_thread(), and kmp_flag_oncore::notdone_check().

◆ KMP_BARRIER_SWITCHING

#define KMP_BARRIER_SWITCHING    4

Definition at line 2145 of file kmp.h.

Referenced by __kmp_hierarchical_barrier_release(), and kmp_flag_oncore::notdone_check().

◆ KMP_BARRIER_UNUSED_BIT

#define KMP_BARRIER_UNUSED_BIT   1

Definition at line 2123 of file kmp.h.

◆ KMP_BARRIER_UNUSED_STATE

#define KMP_BARRIER_UNUSED_STATE   (1 << KMP_BARRIER_UNUSED_BIT)

Definition at line 2127 of file kmp.h.

Referenced by __kmp_hyper_barrier_gather().

◆ KMP_BLOCKING

#define KMP_BLOCKING ( goal,
count )
Value:
((count) % 1000 != 0 || (goal) > KMP_NOW())
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t count
#define KMP_NOW()
Definition kmp.h:1297

Definition at line 1300 of file kmp.h.

Referenced by __kmp_wait_template().

◆ KMP_BLOCKTIME

#define KMP_BLOCKTIME ( team,
tid )
Value:
(get__bt_set(team, tid) ? get__blocktime(team, tid) : __kmp_dflt_blocktime)
#define get__blocktime(xteam, xtid)
Definition kmp.h:2390
int __kmp_dflt_blocktime
#define get__bt_set(xteam, xtid)
Definition kmp.h:2392

Definition at line 1280 of file kmp.h.

◆ KMP_BLOCKTIME_INTERVAL

#define KMP_BLOCKTIME_INTERVAL ( team,
tid )
Value:
#define KMP_NSEC_PER_USEC
Definition kmp.h:175
#define KMP_BLOCKTIME(team, tid)
Definition kmp.h:1280
unsigned long long kmp_uint64

Definition at line 1298 of file kmp.h.

Referenced by __kmp_barrier_template(), __kmp_fork_barrier(), and __kmp_join_barrier().

◆ KMP_BLOCKTIME_MULTIPLIER

#define KMP_BLOCKTIME_MULTIPLIER    (1000000) /* number of blocktime units per second */

Definition at line 1251 of file kmp.h.

◆ KMP_CANCEL_THREADS

#define KMP_CANCEL_THREADS

Definition at line 48 of file kmp.h.

◆ KMP_CHECK_UPDATE

◆ KMP_CHECK_UPDATE_SYNC

#define KMP_CHECK_UPDATE_SYNC ( a,
b )
Value:
if ((a) != (b)) \
TCW_SYNC_PTR((a), (b))

Definition at line 2386 of file kmp.h.

Referenced by __kmp_fork_call().

◆ KMP_CPU_PAUSE

◆ KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT

#define KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT ( team,
thr )
Value:
/* Nothing */

Definition at line 4152 of file kmp.h.

Referenced by __kmp_fork_call(), __kmp_fork_team_threads(), __kmp_join_barrier(), and __kmp_join_call().

◆ KMP_DEBUG_ASSERT_VALID_HW_TYPE

#define KMP_DEBUG_ASSERT_VALID_HW_TYPE ( type)
Value:
#define KMP_DEBUG_ASSERT(cond)
Definition kmp_debug.h:61

Definition at line 631 of file kmp.h.

Referenced by kmp_topology_t::get_level(), and kmp_topology_t::set_equivalent_type().

◆ KMP_DEBUG_BUF_CHARS_INIT

#define KMP_DEBUG_BUF_CHARS_INIT   128

Definition at line 3326 of file kmp.h.

◆ KMP_DEBUG_BUF_CHARS_MIN

#define KMP_DEBUG_BUF_CHARS_MIN   2

Definition at line 3327 of file kmp.h.

◆ KMP_DEBUG_BUF_LINES_INIT

#define KMP_DEBUG_BUF_LINES_INIT   512

Definition at line 3323 of file kmp.h.

◆ KMP_DEBUG_BUF_LINES_MIN

#define KMP_DEBUG_BUF_LINES_MIN   1

Definition at line 3324 of file kmp.h.

◆ KMP_DEFAULT_BLOCKTIME

#define KMP_DEFAULT_BLOCKTIME   (__kmp_is_hybrid_cpu() ? (0) : (200000))

◆ KMP_DEFAULT_CHUNK

#define KMP_DEFAULT_CHUNK   1

◆ KMP_DEFAULT_INTERVAL

#define KMP_DEFAULT_INTERVAL   0

Definition at line 1310 of file kmp.h.

◆ KMP_DEFAULT_MALLOC_POOL_INCR

#define KMP_DEFAULT_MALLOC_POOL_INCR   ((size_t)(1024 * 1024))

Definition at line 1235 of file kmp.h.

◆ KMP_DEFAULT_STATSCOLS

#define KMP_DEFAULT_STATSCOLS   80

Definition at line 1306 of file kmp.h.

◆ KMP_DEFAULT_STKOFFSET

#define KMP_DEFAULT_STKOFFSET   CACHE_LINE

Definition at line 1245 of file kmp.h.

◆ KMP_DEFAULT_STKSIZE

#define KMP_DEFAULT_STKSIZE   ((size_t)(1024 * 1024))

Definition at line 1232 of file kmp.h.

Referenced by __kmp_check_stksize(), and __kmp_create_worker().

◆ KMP_DEP_ALL

#define KMP_DEP_ALL   0x80

Definition at line 2531 of file kmp.h.

Referenced by __kmp_check_deps().

◆ KMP_DEP_IN

#define KMP_DEP_IN   0x1

Definition at line 2526 of file kmp.h.

Referenced by __kmp_check_deps().

◆ KMP_DEP_INOUT

#define KMP_DEP_INOUT   0x3

Definition at line 2528 of file kmp.h.

Referenced by __kmp_check_deps().

◆ KMP_DEP_MTX

#define KMP_DEP_MTX   0x4

Definition at line 2529 of file kmp.h.

Referenced by __kmp_check_deps(), and __kmp_process_deps().

◆ KMP_DEP_OUT

#define KMP_DEP_OUT   0x2

Definition at line 2527 of file kmp.h.

Referenced by __kmp_check_deps().

◆ KMP_DEP_SET

#define KMP_DEP_SET   0x8

Definition at line 2530 of file kmp.h.

Referenced by __kmp_check_deps().

◆ KMP_DEVICE_ALL

#define KMP_DEVICE_ALL   -11

Definition at line 4537 of file kmp.h.

Referenced by FTN_PAUSE_RESOURCE_ALL().

◆ KMP_DEVICE_DEFAULT

#define KMP_DEVICE_DEFAULT   -1

Definition at line 4536 of file kmp.h.

◆ KMP_DFLT_DISP_NUM_BUFF

#define KMP_DFLT_DISP_NUM_BUFF   7

Definition at line 1317 of file kmp.h.

◆ KMP_FAST_REDUCTION_BARRIER

#define KMP_FAST_REDUCTION_BARRIER   1

Definition at line 520 of file kmp.h.

◆ KMP_FOREACH_HW_TYPE

#define KMP_FOREACH_HW_TYPE ( type)
Value:
type = (kmp_hw_t)((int)type + 1))
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle __itt_metadata_type size_t void ITT_FORMAT p const __itt_domain __itt_id __itt_string_handle const wchar_t size_t ITT_FORMAT lu const __itt_domain __itt_id __itt_relation __itt_id ITT_FORMAT p const wchar_t int ITT_FORMAT __itt_group_mark d int

Definition at line 636 of file kmp.h.

Referenced by __kmp_stg_parse_hw_subset_name(), kmp_topology_t::allocate(), kmp_topology_t::canonicalize(), kmp_topology_t::dump(), kmp_topology_t::print(), and kmp_topology_t::set_equivalent_type().

◆ KMP_GEN_TASK_ID

#define KMP_GEN_TASK_ID ( )
Value:
#define _KMP_GEN_ID(counter)
Definition kmp.h:3677
std::atomic< kmp_int32 > __kmp_task_counter

Definition at line 3680 of file kmp.h.

Referenced by __kmp_init_implicit_task(), __kmp_task_alloc(), and __kmp_task_dup_alloc().

◆ KMP_GEN_TEAM_ID

#define KMP_GEN_TEAM_ID ( )
Value:
std::atomic< kmp_int32 > __kmp_team_counter

Definition at line 3681 of file kmp.h.

Referenced by __kmp_reinitialize_team().

◆ KMP_GTID_DNE

◆ KMP_GTID_MIN

#define KMP_GTID_MIN   (-6) /* Minimal gtid for low bound check in DEBUG */

Definition at line 1013 of file kmp.h.

Referenced by KMP_UBER_GTID().

◆ KMP_GTID_MONITOR

#define KMP_GTID_MONITOR   (-4) /* Monitor thread ID */

◆ KMP_GTID_SHUTDOWN

#define KMP_GTID_SHUTDOWN   (-3) /* Library is shutting down */

◆ KMP_GTID_TO_SHADOW_GTID

#define KMP_GTID_TO_SHADOW_GTID ( gtid)
Value:
((gtid) % (__kmp_hidden_helper_threads_num - 1) + 2)
kmp_int32 __kmp_hidden_helper_threads_num

Definition at line 4609 of file kmp.h.

Referenced by __kmp_push_task(), and __kmp_task_alloc().

◆ KMP_GTID_UNKNOWN

#define KMP_GTID_UNKNOWN   (-5) /* Is not known */

Definition at line 1012 of file kmp.h.

◆ KMP_HANDLE_SIGNALS

#define KMP_HANDLE_SIGNALS   ((KMP_OS_UNIX && !KMP_OS_WASI) || KMP_OS_WINDOWS)

Definition at line 127 of file kmp.h.

◆ KMP_HASH

#define KMP_HASH ( x)

◆ KMP_HASH_SHIFT

#define KMP_HASH_SHIFT   3 /* throw away this many low bits from the address */

Definition at line 1881 of file kmp.h.

◆ KMP_HASH_TABLE_LOG2

#define KMP_HASH_TABLE_LOG2   9 /* log2 of the hash table size */

Definition at line 1878 of file kmp.h.

◆ KMP_HASH_TABLE_SIZE

#define KMP_HASH_TABLE_SIZE    (1 << KMP_HASH_TABLE_LOG2) /* size of the hash table */

Definition at line 1879 of file kmp.h.

Referenced by __kmp_common_destroy(), and __kmp_common_initialize().

◆ KMP_HIDDEN_HELPER_MAIN_THREAD

#define KMP_HIDDEN_HELPER_MAIN_THREAD ( gtid)
Value:
((gtid) == 1 && (gtid) <= __kmp_hidden_helper_threads_num)

Definition at line 4601 of file kmp.h.

◆ KMP_HIDDEN_HELPER_TEAM

#define KMP_HIDDEN_HELPER_TEAM ( team)
Value:
(team->t.t_threads[0] == __kmp_hidden_helper_main_thread)
kmp_info_t * __kmp_hidden_helper_main_thread

Definition at line 4604 of file kmp.h.

Referenced by __kmp_allocate_thread().

◆ KMP_HIDDEN_HELPER_THREAD

#define KMP_HIDDEN_HELPER_THREAD ( gtid)
Value:
((gtid) >= 1 && (gtid) <= __kmp_hidden_helper_threads_num)

Definition at line 4595 of file kmp.h.

Referenced by __kmp_push_task(), __kmp_release_deps(), and __kmp_task_finish().

◆ KMP_HIDDEN_HELPER_WORKER_THREAD

#define KMP_HIDDEN_HELPER_WORKER_THREAD ( gtid)
Value:
((gtid) > 1 && (gtid) <= __kmp_hidden_helper_threads_num)

Definition at line 4598 of file kmp.h.

Referenced by __kmp_wait_template().

◆ KMP_HW_MAX_NUM_CORE_EFFS

#define KMP_HW_MAX_NUM_CORE_EFFS   8

Definition at line 629 of file kmp.h.

Referenced by kmp_topology_t::print().

◆ KMP_INIT_BACKOFF

◆ KMP_INIT_BARRIER_STATE

◆ KMP_INIT_YIELD

◆ KMP_INITIAL_GTID

#define KMP_INITIAL_GTID ( gtid)
Value:
(0 == (gtid))

Definition at line 1346 of file kmp.h.

Referenced by __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_do_serial_initialize(), and kmp_threadprivate_insert().

◆ KMP_INLINE_ARGV_BYTES

#define KMP_INLINE_ARGV_BYTES    (2 * CACHE_LINE - ((3 * KMP_PTR_SKIP + 2 * sizeof(int)) % CACHE_LINE))

Definition at line 3125 of file kmp.h.

◆ KMP_INLINE_ARGV_ENTRIES

#define KMP_INLINE_ARGV_ENTRIES   (int)(KMP_INLINE_ARGV_BYTES / KMP_PTR_SKIP)

Definition at line 3128 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

◆ KMP_INTERNAL_CALLOC

#define KMP_INTERNAL_CALLOC ( n,
sz )
Value:
calloc((n), (sz))

Definition at line 116 of file kmp.h.

◆ KMP_INTERNAL_FREE

◆ KMP_INTERNAL_MALLOC

◆ KMP_INTERNAL_REALLOC

#define KMP_INTERNAL_REALLOC ( p,
sz )

◆ KMP_MASTER_GTID

◆ KMP_MASTER_TID

◆ KMP_MAX

#define KMP_MAX ( x,
y )
Value:
((x) > (y) ? (x) : (y))

Definition at line 299 of file kmp.h.

◆ KMP_MAX_ACTIVE_LEVELS_LIMIT

◆ KMP_MAX_BLOCKTIME

◆ KMP_MAX_BRANCH_BITS

#define KMP_MAX_BRANCH_BITS   31

Definition at line 1324 of file kmp.h.

Referenced by __kmp_stg_parse_barrier_branch_bit().

◆ KMP_MAX_CHUNK

#define KMP_MAX_CHUNK   (INT_MAX - 1)

Definition at line 1313 of file kmp.h.

Referenced by __kmp_parse_single_omp_schedule().

◆ KMP_MAX_DEFAULT_DEVICE_LIMIT

#define KMP_MAX_DEFAULT_DEVICE_LIMIT   INT_MAX

Definition at line 1328 of file kmp.h.

Referenced by __kmp_stg_parse_default_device().

◆ KMP_MAX_DISP_NUM_BUFF

#define KMP_MAX_DISP_NUM_BUFF   4096

◆ KMP_MAX_FIELDS

#define KMP_MAX_FIELDS   32

Definition at line 1322 of file kmp.h.

◆ KMP_MAX_INTERVAL

#define KMP_MAX_INTERVAL   (INT_MAX - 1)

Definition at line 1309 of file kmp.h.

◆ KMP_MAX_MALLOC_POOL_INCR

#define KMP_MAX_MALLOC_POOL_INCR    (~((size_t)1 << ((sizeof(size_t) * (1 << 3)) - 1)))

Definition at line 1237 of file kmp.h.

Referenced by __kmp_stg_parse_malloc_pool_incr().

◆ KMP_MAX_NTH

#define KMP_MAX_NTH   INT_MAX

Definition at line 1202 of file kmp.h.

Referenced by __kmp_runtime_initialize().

◆ KMP_MAX_ORDERED

#define KMP_MAX_ORDERED   8

Definition at line 1320 of file kmp.h.

◆ KMP_MAX_STATSCOLS

#define KMP_MAX_STATSCOLS   4096

Definition at line 1305 of file kmp.h.

◆ KMP_MAX_STKOFFSET

#define KMP_MAX_STKOFFSET   KMP_MAX_STKSIZE

Definition at line 1241 of file kmp.h.

Referenced by __kmp_stg_parse_stackoffset().

◆ KMP_MAX_STKPADDING

#define KMP_MAX_STKPADDING   (2 * 1024 * 1024)

Definition at line 1249 of file kmp.h.

Referenced by __kmp_fork_call(), and __kmp_stg_parse_stackpad().

◆ KMP_MAX_STKSIZE

#define KMP_MAX_STKSIZE   (~((size_t)1 << ((sizeof(size_t) * (1 << 3)) - 1)))

Definition at line 1216 of file kmp.h.

Referenced by __kmp_aux_set_stacksize(), __kmp_check_stksize(), and __kmp_stg_parse_stacksize().

◆ KMP_MAX_TASK_PRIORITY_LIMIT

#define KMP_MAX_TASK_PRIORITY_LIMIT   INT_MAX

Definition at line 1330 of file kmp.h.

Referenced by __kmp_stg_parse_max_task_priority().

◆ KMP_MIN

#define KMP_MIN ( x,
y )

◆ KMP_MIN_BLOCKTIME

#define KMP_MIN_BLOCKTIME   (0)

Definition at line 1253 of file kmp.h.

Referenced by __kmp_aux_set_blocktime(), and __kmp_stg_parse_blocktime().

◆ KMP_MIN_CHUNK

#define KMP_MIN_CHUNK   1

Definition at line 1312 of file kmp.h.

◆ KMP_MIN_DISP_NUM_BUFF

#define KMP_MIN_DISP_NUM_BUFF   1

◆ KMP_MIN_INTERVAL

#define KMP_MIN_INTERVAL   0

Definition at line 1308 of file kmp.h.

◆ KMP_MIN_MALLOC_ARGV_ENTRIES

#define KMP_MIN_MALLOC_ARGV_ENTRIES   100

Definition at line 3112 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

◆ KMP_MIN_MALLOC_POOL_INCR

#define KMP_MIN_MALLOC_POOL_INCR   ((size_t)(4 * 1024))

Definition at line 1236 of file kmp.h.

Referenced by __kmp_stg_parse_malloc_pool_incr().

◆ KMP_MIN_NTH

#define KMP_MIN_NTH   1

◆ KMP_MIN_STATSCOLS

#define KMP_MIN_STATSCOLS   40

Definition at line 1304 of file kmp.h.

◆ KMP_MIN_STKOFFSET

#define KMP_MIN_STKOFFSET   (0)

Definition at line 1240 of file kmp.h.

Referenced by __kmp_stg_parse_stackoffset().

◆ KMP_MIN_STKPADDING

#define KMP_MIN_STKPADDING   (0)

Definition at line 1248 of file kmp.h.

Referenced by __kmp_stg_parse_stackpad().

◆ KMP_MIN_STKSIZE

#define KMP_MIN_STKSIZE   ((size_t)(32 * 1024))

Definition at line 1210 of file kmp.h.

Referenced by __kmp_runtime_initialize().

◆ KMP_NOT_SAFE_TO_REAP

#define KMP_NOT_SAFE_TO_REAP    0

◆ KMP_NOW

#define KMP_NOW ( )
Value:
kmp_uint64 __kmp_now_nsec()

Definition at line 1297 of file kmp.h.

Referenced by __kmp_wait_template().

◆ KMP_NSEC_PER_SEC

#define KMP_NSEC_PER_SEC   1000000000L

Definition at line 173 of file kmp.h.

Referenced by __kmp_elapsed(), __kmp_now_nsec(), and __kmp_read_cpu_time().

◆ KMP_NSEC_PER_USEC

#define KMP_NSEC_PER_USEC   1000L

Definition at line 175 of file kmp.h.

◆ KMP_OVERSUBSCRIBED

#define KMP_OVERSUBSCRIBED    (TCR_4(__kmp_nth) > (__kmp_avail_proc ? __kmp_avail_proc : __kmp_xproc))

Definition at line 1603 of file kmp.h.

◆ KMP_PACK_64

#define KMP_PACK_64 ( HIGH_32,
LOW_32 )
Value:
((kmp_int64)((((kmp_uint64)(HIGH_32)) << 32) | (kmp_uint64)(LOW_32)))
int64_t kmp_int64
Definition common.h:10

Definition at line 271 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), and __kmp_release_queuing_lock().

◆ KMP_PAD

#define KMP_PAD ( type,
sz )
Value:
(sizeof(type) + (sz - ((sizeof(type) - 1) % (sz)) - 1))

Definition at line 1004 of file kmp.h.

◆ KMP_SAFE_TO_REAP

#define KMP_SAFE_TO_REAP   1

◆ KMP_SCHED_TYPE_DEFINED

#define KMP_SCHED_TYPE_DEFINED

Definition at line 326 of file kmp.h.

◆ KMP_STATIC_STEAL_ENABLED

#define KMP_STATIC_STEAL_ENABLED   1

Definition at line 28 of file kmp.h.

◆ KMP_TASK_TO_TASKDATA

◆ KMP_TASKDATA_TO_TASK

◆ KMP_TASKING_ENABLED

#define KMP_TASKING_ENABLED ( task_team)
Value:
(TRUE == TCR_SYNC_4((task_team)->tt.tt_found_tasks))
#define TRUE
Definition kmp.h:1350
#define TCR_SYNC_4(a)
Definition kmp_os.h:1145

Definition at line 2471 of file kmp.h.

Referenced by __kmp_dist_barrier_gather(), __kmp_push_task(), __kmp_task_alloc(), __kmp_task_team_setup(), __kmp_task_team_wait(), __kmp_wait_template(), and __kmpc_omp_taskyield().

◆ KMP_THREAD_ATTR

#define KMP_THREAD_ATTR

Definition at line 49 of file kmp.h.

◆ KMP_TLS_GTID_MIN

#define KMP_TLS_GTID_MIN   INT_MAX

Definition at line 1338 of file kmp.h.

Referenced by __kmp_runtime_initialize().

◆ KMP_TRY_YIELD

#define KMP_TRY_YIELD    ((__kmp_use_yield == 1) || (__kmp_use_yield == 2 && (KMP_OVERSUBSCRIBED)))

Definition at line 1606 of file kmp.h.

◆ KMP_TRY_YIELD_OVERSUB

#define KMP_TRY_YIELD_OVERSUB    ((__kmp_use_yield == 1 || __kmp_use_yield == 2) && (KMP_OVERSUBSCRIBED))

Definition at line 1609 of file kmp.h.

◆ KMP_UINT64_MAX

#define KMP_UINT64_MAX    (~((kmp_uint64)1 << ((sizeof(kmp_uint64) * (1 << 3)) - 1)))

Definition at line 1187 of file kmp.h.

◆ KMP_USEC_PER_SEC

#define KMP_USEC_PER_SEC   1000000L

Definition at line 174 of file kmp.h.

Referenced by __kmp_elapsed().

◆ KMP_WEIGHTED_ITERATIONS_SUPPORTED

#define KMP_WEIGHTED_ITERATIONS_SUPPORTED
Value:
#define KMP_STATIC_STEAL_ENABLED
Definition kmp.h:28
#define KMP_AFFINITY_SUPPORTED
Definition kmp_os.h:88
#define KMP_ARCH_X86_64
#define KMP_ARCH_X86

Definition at line 30 of file kmp.h.

◆ KMP_WORKER_GTID

#define KMP_WORKER_GTID ( gtid)
Value:
(0 != __kmp_tid_from_gtid((gtid)))

Definition at line 1345 of file kmp.h.

◆ KMP_WORKER_TID

#define KMP_WORKER_TID ( tid)
Value:
(0 != (tid))

Definition at line 1342 of file kmp.h.

◆ KMP_YIELD

#define KMP_YIELD ( cond)
Value:
{ \
KMP_CPU_PAUSE(); \
if ((cond) && (KMP_TRY_YIELD)) \
__kmp_yield(); \
}
#define KMP_TRY_YIELD
Definition kmp.h:1606

Definition at line 1612 of file kmp.h.

Referenced by __kmp_allocate_thread(), __kmp_execute_tasks_template(), __kmp_infinite_loop(), __kmp_tasking_barrier(), __kmp_terminate_thread(), __kmpc_doacross_init(), __kmpc_doacross_wait(), and __kmpc_omp_taskwait_deps_51().

◆ KMP_YIELD_OVERSUB

#define KMP_YIELD_OVERSUB ( )
Value:
{ \
KMP_CPU_PAUSE(); \
__kmp_yield(); \
}
#define KMP_TRY_YIELD_OVERSUB
Definition kmp.h:1609

Definition at line 1619 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), and __kmp_release_tas_lock().

◆ KMP_YIELD_OVERSUB_ELSE_SPIN

#define KMP_YIELD_OVERSUB_ELSE_SPIN ( count,
time )
Value:
{ \
KMP_CPU_PAUSE(); \
__kmp_yield(); \
else if (__kmp_use_yield == 1) { \
(count) -= 2; \
if (!(count)) { \
__kmp_yield(); \
} \
} \
}
kmp_int32 __kmp_use_yield
kmp_uint32 __kmp_yield_next

Definition at line 1670 of file kmp.h.

Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_reap_common(), __kmp_wait(), __kmp_wait_4(), __kmp_wait_4_ptr(), __kmp_wait_template(), and __kmp_wait_to_unref_task_teams().

◆ KMP_YIELD_SPIN

#define KMP_YIELD_SPIN ( count)
Value:
{ \
KMP_CPU_PAUSE(); \
if (KMP_TRY_YIELD) { \
(count) -= 2; \
if (!(count)) { \
__kmp_yield(); \
} \
} \
}

Definition at line 1628 of file kmp.h.

◆ KMPC_CONVENTION

#define KMPC_CONVENTION

Definition at line 4490 of file kmp.h.

◆ MAX_MTX_DEPS

#define MAX_MTX_DEPS   4

Definition at line 2567 of file kmp.h.

Referenced by __kmp_check_deps(), __kmp_init_node(), and __kmp_process_deps().

◆ omp_atv_default

#define omp_atv_default   ((omp_uintptr_t)-1)

Definition at line 1063 of file kmp.h.

◆ PACK_REDUCTION_METHOD_AND_BARRIER

#define PACK_REDUCTION_METHOD_AND_BARRIER ( reduction_method,
barrier_type )
Value:
(reduction_method)

Definition at line 557 of file kmp.h.

◆ SCHEDULE_GET_MODIFIERS

#define SCHEDULE_GET_MODIFIERS ( s)
Value:
((enum sched_type)( \
sched_type
Describes the loop schedule to be used for a parallel for loop.
Definition kmp.h:350
@ kmp_sch_modifier_monotonic
Set if the monotonic schedule modifier was present.
Definition kmp.h:438
@ kmp_sch_modifier_nonmonotonic
Set if the nonmonotonic schedule modifier was present.
Definition kmp.h:440
void const char const char int ITT_FORMAT __itt_group_sync s

Definition at line 450 of file kmp.h.

Referenced by __kmp_get_schedule_global().

◆ SCHEDULE_HAS_MONOTONIC

#define SCHEDULE_HAS_MONOTONIC ( s)

◆ SCHEDULE_HAS_NO_MODIFIERS

#define SCHEDULE_HAS_NO_MODIFIERS ( s)
Value:

Definition at line 448 of file kmp.h.

◆ SCHEDULE_HAS_NONMONOTONIC

#define SCHEDULE_HAS_NONMONOTONIC ( s)
Value:

Definition at line 447 of file kmp.h.

Referenced by __kmp_get_monotonicity(), and __kmp_stg_print_omp_schedule().

◆ SCHEDULE_MONOTONIC

#define SCHEDULE_MONOTONIC   1

Definition at line 456 of file kmp.h.

Referenced by __kmp_dispatch_init_algorithm(), and __kmp_get_monotonicity().

◆ SCHEDULE_NONMONOTONIC

#define SCHEDULE_NONMONOTONIC   0

Definition at line 455 of file kmp.h.

Referenced by __kmp_dispatch_init_algorithm(), and __kmp_get_monotonicity().

◆ SCHEDULE_SET_MODIFIERS

#define SCHEDULE_SET_MODIFIERS ( s,
m )
Value:
(s = (enum sched_type)((kmp_int32)s | (kmp_int32)m))
int32_t kmp_int32

Definition at line 453 of file kmp.h.

Referenced by __kmp_get_schedule_global(), and __kmp_parse_single_omp_schedule().

◆ SCHEDULE_WITHOUT_MODIFIERS

◆ set__blocktime_team

#define set__blocktime_team ( xteam,
xtid,
xval )
Value:
(((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.blocktime) = \
(xval))

Definition at line 2406 of file kmp.h.

Referenced by __kmp_aux_set_blocktime().

◆ set__bt_set_team

#define set__bt_set_team ( xteam,
xtid,
xval )
Value:
(((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.bt_set) = (xval))

Definition at line 2416 of file kmp.h.

Referenced by __kmp_aux_set_blocktime().

◆ set__dynamic

#define set__dynamic ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.dynamic) = (xval))

Definition at line 2419 of file kmp.h.

Referenced by FTN_SET_DYNAMIC(), and ompc_set_dynamic().

◆ set__max_active_levels

#define set__max_active_levels ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.max_active_levels) = (xval))

Definition at line 2430 of file kmp.h.

Referenced by __kmp_set_max_active_levels(), __kmp_set_nesting_mode_threads(), FTN_SET_NESTED(), and ompc_set_nested().

◆ set__nproc

#define set__nproc ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.nproc) = (xval))

Definition at line 2424 of file kmp.h.

Referenced by __kmp_do_middle_initialize(), __kmp_set_nesting_mode_threads(), __kmp_set_num_threads(), and __kmp_user_set_library().

◆ set__proc_bind

#define set__proc_bind ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.proc_bind) = (xval))

Definition at line 2439 of file kmp.h.

◆ set__sched

#define set__sched ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.sched) = (xval))

Definition at line 2436 of file kmp.h.

◆ set__thread_limit

#define set__thread_limit ( xthread,
xval )
Value:
(((xthread)->th.th_current_task->td_icvs.thread_limit) = (xval))

Definition at line 2427 of file kmp.h.

◆ SKIP_DIGITS

#define SKIP_DIGITS ( _x)

◆ SKIP_TO

#define SKIP_TO ( _x,
_c )
Value:
{ \
while (*(_x) != '\0' && *(_x) != (_c)) \
(_x)++; \
}

Definition at line 291 of file kmp.h.

◆ SKIP_TOKEN

#define SKIP_TOKEN ( _x)
Value:
{ \
while ((*(_x) >= '0' && *(_x) <= '9') || (*(_x) >= 'a' && *(_x) <= 'z') || \
(*(_x) >= 'A' && *(_x) <= 'Z') || *(_x) == '_') \
(_x)++; \
}

Definition at line 285 of file kmp.h.

Referenced by __kmp_aux_capture_affinity_field(), and __kmp_stg_parse_omp_schedule().

◆ SKIP_WS

◆ TASK_CURRENT_NOT_QUEUED

#define TASK_CURRENT_NOT_QUEUED   0

◆ TASK_CURRENT_QUEUED

#define TASK_CURRENT_QUEUED   1

Definition at line 35 of file kmp.h.

◆ TASK_DEQUE_BITS

#define TASK_DEQUE_BITS   8

Definition at line 2831 of file kmp.h.

◆ TASK_DEQUE_MASK

#define TASK_DEQUE_MASK ( td)

◆ TASK_DEQUE_SIZE

#define TASK_DEQUE_SIZE ( td)
Value:
((td).td_deque_size)

Definition at line 2834 of file kmp.h.

Referenced by __kmp_give_task(), __kmp_push_priority_task(), __kmp_push_task(), and __kmp_realloc_task_deque().

◆ TASK_DETACHABLE

#define TASK_DETACHABLE   1

Definition at line 45 of file kmp.h.

Referenced by __kmp_task_alloc(), __kmp_task_finish(), and __kmp_track_children_task().

◆ TASK_EXPLICIT

◆ TASK_FULL

#define TASK_FULL   0

Definition at line 44 of file kmp.h.

Referenced by __kmp_init_implicit_task(), __kmp_task_alloc(), and __kmp_task_dup_alloc().

◆ TASK_IMPLICIT

#define TASK_IMPLICIT   0

◆ TASK_NOT_PUSHED

#define TASK_NOT_PUSHED   1

◆ TASK_PROXY

◆ TASK_SUCCESSFULLY_PUSHED

#define TASK_SUCCESSFULLY_PUSHED   0

Definition at line 38 of file kmp.h.

Referenced by __kmp_push_priority_task(), and __kmp_push_task().

◆ TASK_TIED

◆ TASK_UNDETACHABLE

#define TASK_UNDETACHABLE   0

Definition at line 46 of file kmp.h.

◆ TASK_UNTIED

◆ TEST_REDUCTION_METHOD

#define TEST_REDUCTION_METHOD ( packed_reduction_method,
which_reduction_block )
Value:
((UNPACK_REDUCTION_METHOD(packed_reduction_method)) == \
(which_reduction_block))
#define UNPACK_REDUCTION_METHOD(packed_reduction_method)
Definition kmp.h:560

Definition at line 566 of file kmp.h.

Referenced by __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_reduce(), and __kmpc_reduce_nowait().

◆ TRUE

#define TRUE   (!FALSE)

Definition at line 1350 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_affinity_bind_thread(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_aux_set_blocktime(), __kmp_aux_set_stacksize(), __kmp_barrier_template(), __kmp_check_stack_overlap(), __kmp_common_initialize(), __kmp_create_worker(), __kmp_dispatch_init_algorithm(), __kmp_dispatch_init_hierarchy(), __kmp_dispatch_next(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_env_initialize(), __kmp_execute_tasks_template(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_in_teams(), __kmp_free_thread(), __kmp_hidden_helper_initialize(), __kmp_hidden_helper_threads_initz_routine(), __kmp_hierarchical_barrier_release(), __kmp_hyper_barrier_release(), __kmp_ignore_mppbeg(), __kmp_ignore_mppend(), __kmp_infinite_loop(), __kmp_initialize_info(), __kmp_internal_begin(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_worker(), __kmp_linear_barrier_release_template(), __kmp_match_str(), __kmp_parallel_initialize(), __kmp_parse_nested_num_threads(), __kmp_print_version_1(), __kmp_print_version_2(), __kmp_push_task(), __kmp_realloc_task_threads_data(), __kmp_register_root(), __kmp_release_queuing_lock(), __kmp_runtime_initialize(), __kmp_serial_fork_call(), __kmp_set_stack_info(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_bool(), __kmp_stg_parse_consistency_check(), __kmp_stg_parse_gtid_mode(), __kmp_stg_parse_init_at_fork(), __kmp_stg_parse_omp_display_env(), __kmp_stg_parse_spin_backoff_params(), __kmp_stg_parse_storage_map(), __kmp_suspend_initialize_thread(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_task_alloc(), __kmp_task_team_init(), __kmp_task_team_wait(), __kmp_tasking_barrier(), __kmp_terminate_thread(), __kmp_test_drdpa_lock(), __kmp_test_queuing_lock(), __kmp_test_tas_lock(), __kmp_test_ticket_lock(), __kmp_tree_barrier_release(), __kmp_wait_64(), __kmp_wait_64(), __kmp_wait_to_unref_task_teams(), __kmp_win32_cond_init(), __kmpc_atomic_1(), __kmpc_atomic_2(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_barrier_master(), __kmpc_doacross_init(), __kmpc_doacross_wait(), __kmpc_for_collapsed_init(), __kmpc_ok_to_fork(), __kmpc_omp_target_task_alloc(), __kmpc_omp_taskwait_deps_51(), __kmpc_reduce(), __kmpc_single(), __kmpc_threadprivate_register_vec(), kmp_hier_t< T >::allocate_hier(), FTN_SET_DYNAMIC(), kmp_flag_oncore::notdone_check(), and kmp_atomic_flag_64< Cancellable, Sleepable >::wait().

◆ UNLIKELY

◆ UNPACK_REDUCTION_BARRIER

#define UNPACK_REDUCTION_BARRIER ( packed_reduction_method)
Value:
@ bs_plain_barrier
Definition kmp.h:2162

Definition at line 563 of file kmp.h.

Referenced by __kmpc_end_reduce(), __kmpc_reduce(), and __kmpc_reduce_nowait().

◆ UNPACK_REDUCTION_METHOD

#define UNPACK_REDUCTION_METHOD ( packed_reduction_method)
Value:
(packed_reduction_method)

Definition at line 560 of file kmp.h.

◆ USE_CMP_XCHG_FOR_BGET

#define USE_CMP_XCHG_FOR_BGET   1

Definition at line 165 of file kmp.h.

◆ USE_FAST_MEMORY

#define USE_FAST_MEMORY   3

Definition at line 160 of file kmp.h.

Typedef Documentation

◆ dispatch_private_info32_t

◆ dispatch_private_info64_t

◆ dispatch_private_info_t

◆ dispatch_shared_info32_t

◆ dispatch_shared_info64_t

◆ dispatch_shared_info_t

◆ kmp_affinity_mask_t

Definition at line 4500 of file kmp.h.

◆ kmp_allocator_t

typedef struct kmp_allocator_t kmp_allocator_t

Memory allocator information is shared with offload runtime.

◆ kmp_balign_t

Definition at line 2259 of file kmp.h.

◆ kmp_balign_team_t

Definition at line 2278 of file kmp.h.

◆ kmp_bar_pat_e

typedef enum kmp_bar_pat kmp_bar_pat_e

◆ kmp_base_data_t

◆ kmp_base_depnode_t

◆ kmp_base_global_t

◆ kmp_base_info_t

◆ kmp_base_root_t

◆ kmp_base_task_team_t

◆ kmp_base_team_t

◆ kmp_base_thread_data_t

◆ kmp_bstate_t

◆ kmp_cached_addr_t

◆ kmp_cancel_kind_t

◆ kmp_cg_root_t

typedef struct kmp_cg_root kmp_cg_root_t

◆ kmp_critical_name

typedef kmp_int32 kmp_critical_name[8]

Definition at line 1762 of file kmp.h.

◆ kmp_depend_info_t

◆ kmp_dephash_entry_t

Definition at line 2523 of file kmp.h.

◆ kmp_dephash_t

typedef struct kmp_dephash kmp_dephash_t

◆ kmp_depnode_list_t

Definition at line 2522 of file kmp.h.

◆ kmp_depnode_t

typedef union kmp_depnode kmp_depnode_t

Definition at line 2521 of file kmp.h.

◆ kmp_desc_base_t

◆ kmp_desc_t

◆ kmp_disp_t

typedef struct kmp_disp kmp_disp_t

◆ kmp_event_type_t

◆ kmp_global_t

◆ kmp_hot_team_ptr_t

◆ kmp_hw_core_type_t

◆ kmp_hws_item_t

typedef struct kmp_hws_item kmp_hws_item_t

◆ kmp_info_p

typedef union kmp_info kmp_info_p

Definition at line 255 of file kmp.h.

◆ kmp_info_t

◆ kmp_internal_control_t

◆ kmp_local_t

typedef struct kmp_local kmp_local_t

◆ kmp_memspace_t

typedef struct kmp_memspace_t kmp_memspace_t

Memory space informaition is shared with offload runtime.

◆ kmp_nested_nthreads_t

typedef struct kmp_nested_nthreads_t kmp_nested_nthreads_t

◆ kmp_nested_proc_bind_t

typedef struct kmp_nested_proc_bind_t kmp_nested_proc_bind_t

◆ kmp_old_threads_list_t

typedef struct kmp_old_threads_list_t kmp_old_threads_list_t

◆ kmp_ordered_team_t

◆ kmp_pause_status_t

◆ kmp_proc_bind_t

◆ kmp_r_sched_t

typedef union kmp_r_sched kmp_r_sched_t

◆ kmp_root_p

typedef union kmp_root kmp_root_p

Definition at line 256 of file kmp.h.

◆ kmp_root_t

◆ kmp_sched_flags_t

◆ kmp_sched_t

typedef enum kmp_sched kmp_sched_t

◆ kmp_severity_t

◆ kmp_sleep_team_t

◆ kmp_sys_info_t

typedef struct kmp_sys_info kmp_sys_info_t

◆ kmp_target_data_t

◆ kmp_target_offload_kind_t

Definition at line 4530 of file kmp.h.

◆ kmp_task_affinity_info_t

◆ kmp_task_pri_t

typedef struct kmp_task_pri kmp_task_pri_t

◆ kmp_task_team_list_t

typedef struct kmp_task_team_list_t kmp_task_team_list_t

◆ kmp_task_team_t

Definition at line 253 of file kmp.h.

◆ kmp_taskdata_t

typedef struct kmp_taskdata kmp_taskdata_t

Definition at line 252 of file kmp.h.

◆ kmp_taskgroup_t

◆ kmp_tasking_flags_t

◆ kmp_tasking_mode_t

◆ kmp_team_p

typedef union kmp_team kmp_team_p

Definition at line 254 of file kmp.h.

◆ kmp_team_t

typedef union kmp_team kmp_team_t

Definition at line 251 of file kmp.h.

◆ kmp_teams_size_t

◆ kmp_thread_data_t

◆ kmp_time_global_t

◆ kmpc_micro_bound

typedef void(* kmpc_micro_bound) (kmp_int32 *bound_tid, kmp_int32 *bound_nth,...)

Definition at line 1774 of file kmp.h.

◆ launch_t

typedef int(* launch_t) (int gtid)

Definition at line 3109 of file kmp.h.

◆ omp_allocator_handle_t

Definition at line 1082 of file kmp.h.

◆ omp_memspace_handle_t

Definition at line 1065 of file kmp.h.

◆ omp_sched_t

typedef enum omp_sched_t omp_sched_t

◆ omp_uintptr_t

typedef uintptr_t omp_uintptr_t

Definition at line 1019 of file kmp.h.

◆ PACKED_REDUCTION_METHOD_T

Definition at line 578 of file kmp.h.

Enumeration Type Documentation

◆ _reduction_method

Enumerator
reduction_method_not_defined 
critical_reduce_block 
atomic_reduce_block 
tree_reduce_block 
empty_reduce_block 

Definition at line 527 of file kmp.h.

◆ barrier_type

Enumerator
bs_plain_barrier 
bs_forkjoin_barrier 
bs_last_barrier 

Definition at line 2161 of file kmp.h.

◆ cons_type

enum cons_type
Enumerator
ct_none 
ct_parallel 
ct_pdo 
ct_pdo_ordered 
ct_psections 
ct_psingle 
ct_critical 
ct_ordered_in_parallel 
ct_ordered_in_pdo 
ct_master 
ct_reduce 
ct_barrier 
ct_masked 

Definition at line 1691 of file kmp.h.

◆ dynamic_mode

Enumerator
dynamic_default 
dynamic_random 
dynamic_thread_limit 
dynamic_max 

Definition at line 313 of file kmp.h.

◆ flag_type

enum flag_type
Enumerator
flag32 

atomic 32 bit flags

flag64 

64 bit flags

atomic_flag64 

atomic 64 bit flags

flag_oncore 

special 64-bit flag for on-core barrier (hierarchical)

flag_unset 

Definition at line 2153 of file kmp.h.

◆ fork_context_e

Tell the fork call which compiler generated the fork call, and therefore how to deal with the call.

Enumerator
fork_context_gnu 

Called from GNU generated code, so must not invoke the microtask internally.

fork_context_intel 

Called from Intel generated code.

fork_context_last 

Definition at line 4061 of file kmp.h.

◆ kmp_bar_pat

Enumerator
bp_linear_bar 
bp_tree_bar 
bp_hyper_bar 
bp_hierarchical_bar 
bp_dist_bar 
bp_last_bar 

Definition at line 2176 of file kmp.h.

◆ kmp_cancel_kind_t

Enumerator
cancel_noreq 
cancel_parallel 
cancel_loop 
cancel_sections 
cancel_taskgroup 

Definition at line 979 of file kmp.h.

◆ kmp_event_type_t

Enumerator
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 

Definition at line 2617 of file kmp.h.

◆ kmp_hw_core_type_t

Enumerator
KMP_HW_CORE_TYPE_UNKNOWN 
KMP_HW_MAX_NUM_CORE_TYPES 

Definition at line 618 of file kmp.h.

◆ kmp_hw_t

enum kmp_hw_t : int
Enumerator
KMP_HW_UNKNOWN 
KMP_HW_SOCKET 
KMP_HW_PROC_GROUP 
KMP_HW_NUMA 
KMP_HW_DIE 
KMP_HW_LLC 
KMP_HW_L3 
KMP_HW_TILE 
KMP_HW_MODULE 
KMP_HW_L2 
KMP_HW_L1 
KMP_HW_CORE 
KMP_HW_THREAD 
KMP_HW_LAST 

Definition at line 601 of file kmp.h.

◆ kmp_pause_status_t

Enumerator
kmp_not_paused 
kmp_soft_paused 
kmp_hard_paused 
kmp_stop_tool_paused 

Definition at line 4543 of file kmp.h.

◆ kmp_proc_bind_t

Enumerator
proc_bind_false 
proc_bind_true 
proc_bind_primary 
proc_bind_close 
proc_bind_spread 
proc_bind_intel 
proc_bind_default 

Definition at line 940 of file kmp.h.

◆ kmp_sched

enum kmp_sched
Enumerator
kmp_sched_lower 
kmp_sched_static 
kmp_sched_dynamic 
kmp_sched_guided 
kmp_sched_auto 
kmp_sched_upper_std 
kmp_sched_lower_ext 
kmp_sched_trapezoidal 
kmp_sched_upper 
kmp_sched_default 
kmp_sched_monotonic 

Definition at line 327 of file kmp.h.

◆ kmp_severity_t

Enumerator
severity_warning 
severity_fatal 

Definition at line 4632 of file kmp.h.

◆ kmp_state_timer

Enumerator
ts_stop 
ts_start 
ts_pause 
ts_last_state 

Definition at line 305 of file kmp.h.

◆ kmp_target_offload_kind

Enumerator
tgt_disabled 
tgt_default 
tgt_mandatory 

Definition at line 4525 of file kmp.h.

◆ kmp_tasking_mode

Enumerator
tskm_immediate_exec 
tskm_extra_barrier 
tskm_task_teams 
tskm_max 

Definition at line 2446 of file kmp.h.

◆ library_type

Enumerator
library_none 
library_serial 
library_turnaround 
library_throughput 

Definition at line 497 of file kmp.h.

◆ omp_alloctrait_key_t

Enumerator
omp_atk_sync_hint 
omp_atk_alignment 
omp_atk_access 
omp_atk_pool_size 
omp_atk_fallback 
omp_atk_fb_data 
omp_atk_pinned 
omp_atk_partition 
omp_atk_pin_device 
omp_atk_preferred_device 
omp_atk_device_access 
omp_atk_target_access 
omp_atk_atomic_scope 
omp_atk_part_size 

Definition at line 1021 of file kmp.h.

◆ omp_alloctrait_value_t

Enumerator
omp_atv_false 
omp_atv_true 
omp_atv_contended 
omp_atv_uncontended 
omp_atv_serialized 
omp_atv_sequential 
omp_atv_private 
omp_atv_device 
omp_atv_thread 
omp_atv_pteam 
omp_atv_cgroup 
omp_atv_default_mem_fb 
omp_atv_null_fb 
omp_atv_abort_fb 
omp_atv_allocator_fb 
omp_atv_environment 
omp_atv_nearest 
omp_atv_blocked 
omp_atv_interleaved 
omp_atv_all 
omp_atv_single 
omp_atv_multiple 
omp_atv_memspace 

Definition at line 1038 of file kmp.h.

◆ omp_sched_t

Enumerator
omp_sched_static 
omp_sched_dynamic 
omp_sched_guided 
omp_sched_auto 

Definition at line 4494 of file kmp.h.

Function Documentation

◆ ___kmp_allocate()

void * ___kmp_allocate ( size_t size KMP_SRC_LOC_DECL)
extern

◆ ___kmp_free()

◆ ___kmp_page_allocate()

void * ___kmp_page_allocate ( size_t size KMP_SRC_LOC_DECL)
extern

Definition at line 2499 of file kmp_alloc.cpp.

References ___kmp_allocate_align(), KE_TRACE, KMP_SRC_LOC_DECL, KMP_SRC_LOC_PARM, and size.

◆ ___kmp_thread_calloc()

void * ___kmp_thread_calloc ( kmp_info_t * th,
size_t nelem,
size_t elsize KMP_SRC_LOC_DECL )
extern

Definition at line 1208 of file kmp_alloc.cpp.

References KE_TRACE, KMP_SRC_LOC_DECL, and KMP_SRC_LOC_PARM.

◆ ___kmp_thread_free()

void ___kmp_thread_free ( kmp_info_t * th,
void *ptr KMP_SRC_LOC_DECL )
extern

Definition at line 1227 of file kmp_alloc.cpp.

References KE_TRACE, KMP_SRC_LOC_DECL, and KMP_SRC_LOC_PARM.

◆ ___kmp_thread_malloc()

void * ___kmp_thread_malloc ( kmp_info_t * th,
size_t size KMP_SRC_LOC_DECL )
extern

Definition at line 1199 of file kmp_alloc.cpp.

References KE_TRACE, KMP_SRC_LOC_DECL, KMP_SRC_LOC_PARM, and size.

◆ ___kmp_thread_realloc()

void * ___kmp_thread_realloc ( kmp_info_t * th,
void * ptr,
size_t size KMP_SRC_LOC_DECL )
extern

Definition at line 1218 of file kmp_alloc.cpp.

References KE_TRACE, KMP_SRC_LOC_DECL, KMP_SRC_LOC_PARM, and size.

◆ ___kmpc_free()

◆ __kmp_abort()

void __kmp_abort ( char const * format,
... )
extern

References KMP_NORETURN.

◆ __kmp_abort_process()

◆ __kmp_abort_thread()

void __kmp_abort_thread ( void )
extern

◆ __kmp_adjust_gtid_for_hidden_helpers()

int __kmp_adjust_gtid_for_hidden_helpers ( int gtid)
inlinestatic

Definition at line 4615 of file kmp.h.

References __kmp_hidden_helper_threads_num.

◆ __kmp_adjust_num_threads()

void __kmp_adjust_num_threads ( int new_nproc)
extern

References KMP_SRC_LOC_DECL, size, and val.

◆ __kmp_alloc()

void * __kmp_alloc ( int gtid,
size_t align,
size_t sz,
omp_allocator_handle_t al )
extern

Definition at line 1910 of file kmp_alloc.cpp.

References __kmp_alloc(), __kmp_hwloc_available, __kmp_init_serial, __kmp_memkind_available, __kmp_target_mem_available, __kmp_tgt_allocator, __kmp_thread_from_gtid(), __kmp_thread_malloc, __kmp_threads, addr, alignment, kmp_allocator_t::alignment, kmp_mem_desc::allocator, kmp_allocator_t::fb, kmp_allocator_t::fb_data, KE_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_INFORM, KMP_IS_TARGET_MEM_ALLOC, KMP_IS_TARGET_MEM_SPACE, kmp_max_mem_alloc, kmp_max_mem_space, KMP_MB, kmp_mk_alloc, kmp_target_alloc_device, kmp_target_alloc_host, kmp_target_alloc_shared, kmp_target_lock_mem, KMP_TEST_THEN_ADD64, KMP_WARNING, llvm_omp_target_host_mem_alloc, llvm_omp_target_host_mem_space, llvm_omp_target_shared_mem_alloc, llvm_omp_target_shared_mem_space, kmp_allocator_t::memkind, kmp_allocator_t::memspace, mk_dax_kmem_all, mk_default, mk_hbw_preferred, omp_atv_abort_fb, omp_atv_allocator_fb, omp_atv_default_mem_fb, omp_atv_environment, omp_atv_interleaved, omp_cgroup_mem_alloc, omp_const_mem_alloc, omp_default_mem_alloc, omp_high_bw_mem_alloc, omp_large_cap_mem_alloc, omp_low_lat_mem_alloc, omp_null_allocator, omp_pteam_mem_alloc, omp_thread_mem_alloc, kmp_allocator_t::pinned, kmp_allocator_t::pool_size, kmp_allocator_t::pool_used, kmp_mem_desc::ptr_align, kmp_mem_desc::ptr_alloc, RCAST, size, kmp_mem_desc::size_a, and kmp_mem_desc::size_orig.

Referenced by __kmp_alloc(), __kmp_calloc(), __kmp_realloc(), __kmpc_aligned_alloc(), __kmpc_alloc(), KMP_API_NAME_GOMP_ALLOC(), omp_aligned_alloc(), and omp_alloc().

◆ __kmp_allocate_team()

kmp_team_t * __kmp_allocate_team ( kmp_root_t * root,
int new_nproc,
int max_nproc,
kmp_proc_bind_t proc_bind,
kmp_internal_control_t * new_icvs,
int argc,
kmp_info_t * thr )
extern

◆ __kmp_allocate_thread()

◆ __kmp_assert_valid_gtid()

◆ __kmp_atomic_execute_tasks_64()

template<bool C, bool S>
int __kmp_atomic_execute_tasks_64 ( kmp_info_t * thread,
kmp_int32 gtid,
kmp_atomic_flag_64< C, S > * flag,
int final_spin,
int * thread_finished,
kmp_int32 is_constrained )

◆ __kmp_atomic_resume_64()

◆ __kmp_atomic_suspend_64()

template<bool C, bool S>
void __kmp_atomic_suspend_64 ( int th_gtid,
kmp_atomic_flag_64< C, S > * flag )
extern

◆ __kmp_aux_capture_affinity()

◆ __kmp_aux_convert_blocktime()

void __kmp_aux_convert_blocktime ( int * bt)
inlinestatic

Definition at line 3485 of file kmp.h.

References __kmp_blocktime_units, and KMP_INFORM.

Referenced by FTN_SET_BLOCKTIME(), and kmpc_set_blocktime().

◆ __kmp_aux_display_affinity()

void __kmp_aux_display_affinity ( int gtid,
const char * format )
extern

◆ __kmp_aux_get_num_teams()

int __kmp_aux_get_num_teams ( )
extern

Definition at line 8536 of file kmp_runtime.cpp.

References __kmp_aux_get_team_info(), and kmp_team::t.

Referenced by __kmp_aux_capture_affinity_field(), and FTN_GET_NUM_TEAMS().

◆ __kmp_aux_get_team_num()

int __kmp_aux_get_team_num ( )
extern

Definition at line 8523 of file kmp_runtime.cpp.

References __kmp_aux_get_team_info(), and kmp_team::t.

Referenced by __kmp_aux_capture_affinity_field(), and FTN_GET_TEAM_NUM().

◆ __kmp_aux_set_blocktime()

◆ __kmp_aux_set_defaults()

void __kmp_aux_set_defaults ( char const * str,
size_t len )
extern

◆ __kmp_aux_set_library()

◆ __kmp_aux_set_stacksize()

◆ __kmp_barrier()

◆ __kmp_barrier_gomp_cancel()

int __kmp_barrier_gomp_cancel ( int gtid)
extern

◆ __kmp_calloc()

void * __kmp_calloc ( int gtid,
size_t align,
size_t nmemb,
size_t sz,
omp_allocator_handle_t al )
extern

◆ __kmp_check_stack_overlap()

◆ __kmp_check_stksize()

void __kmp_check_stksize ( size_t * val)
extern

Definition at line 256 of file kmp_settings.cpp.

References __kmp_sys_min_stksize, KMP_DEFAULT_STKSIZE, KMP_MAX_STKSIZE, and val.

Referenced by __kmp_runtime_initialize().

◆ __kmp_cleanup()

◆ __kmp_cleanup_hierarchy()

void __kmp_cleanup_hierarchy ( )
extern

Definition at line 39 of file kmp_affinity.cpp.

References machine_hierarchy.

Referenced by __kmp_cleanup().

◆ __kmp_cleanup_threadprivate_caches()

◆ __kmp_clear_system_time()

void __kmp_clear_system_time ( void )
extern

◆ __kmp_common_destroy()

◆ __kmp_common_destroy_gtid()

◆ __kmp_common_initialize()

◆ __kmp_create_worker()

◆ __kmp_detect_shm()

bool __kmp_detect_shm ( )
extern

Definition at line 3078 of file z_Linux_util.cpp.

Referenced by __kmp_register_library_startup().

◆ __kmp_detect_tmp()

bool __kmp_detect_tmp ( )
extern

Definition at line 3090 of file z_Linux_util.cpp.

Referenced by __kmp_register_library_startup().

◆ __kmp_determine_reduction_method()

◆ __kmp_disable()

void __kmp_disable ( int * old_state)
extern

Definition at line 1285 of file z_Linux_util.cpp.

References __kmp_init_runtime, __kmp_win32_section, KMP_CHECK_SYSFAIL, and status.

◆ __kmp_do_initialize_hidden_helper_threads()

void __kmp_do_initialize_hidden_helper_threads ( )
extern

Definition at line 3045 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_hidden_helper_initialize().

◆ __kmp_elapsed()

void __kmp_elapsed ( double * t)
extern

◆ __kmp_elapsed_tick()

void __kmp_elapsed_tick ( double * t)
extern

Definition at line 2076 of file z_Linux_util.cpp.

References __kmp_win32_tick, and double.

Referenced by FTN_GET_WTICK().

◆ __kmp_enable()

void __kmp_enable ( int old_state)
extern

◆ __kmp_end_split_barrier()

◆ __kmp_enter_single()

◆ __kmp_entry_thread()

◆ __kmp_eq_4()

kmp_uint32 __kmp_eq_4 ( kmp_uint32 value,
kmp_uint32 checker )
extern

Definition at line 3023 of file kmp_dispatch.cpp.

References checker, kmp_uint32, and value.

Referenced by __kmpc_doacross_init().

◆ __kmp_execute_tasks_32()

template<bool C, bool S>
int __kmp_execute_tasks_32 ( kmp_info_t * thread,
kmp_int32 gtid,
kmp_flag_32< C, S > * flag,
int final_spin,
int * thread_finished,
kmp_int32 is_constrained )

◆ __kmp_execute_tasks_64()

template<bool C, bool S>
int __kmp_execute_tasks_64 ( kmp_info_t * thread,
kmp_int32 gtid,
kmp_flag_64< C, S > * flag,
int final_spin,
int * thread_finished,
kmp_int32 is_constrained )

◆ __kmp_execute_tasks_oncore()

int __kmp_execute_tasks_oncore ( kmp_info_t * thread,
kmp_int32 gtid,
kmp_flag_oncore * flag,
int final_spin,
int * thread_finished,
kmp_int32 is_constrained )

◆ __kmp_exit_single()

void __kmp_exit_single ( int gtid)
extern

Definition at line 758 of file kmp_runtime.cpp.

References __kmp_env_consistency_check, __kmp_pop_workshare(), and ct_psingle.

Referenced by __kmpc_end_single().

◆ __kmp_exit_thread()

void __kmp_exit_thread ( int exit_status)
extern

Definition at line 1059 of file z_Linux_util.cpp.

◆ __kmp_expand_file_name()

void __kmp_expand_file_name ( char * result,
size_t rlen,
char * pattern )
extern

◆ __kmp_expand_host_name()

void __kmp_expand_host_name ( char * buffer,
size_t size )
extern

Definition at line 222 of file kmp_utility.cpp.

References KMP_DEBUG_ASSERT, KMP_STRCPY_S, s, size, and unknown.

Referenced by __kmp_aux_capture_affinity_field(), and __kmp_expand_file_name().

◆ __kmp_finalize_bget()

void __kmp_finalize_bget ( kmp_info_t * th)
extern

References alignment, KMP_EXPORT, and size.

Referenced by __kmp_reap_thread().

◆ __kmp_fini_memkind()

◆ __kmp_fini_target_mem()

void __kmp_fini_target_mem ( )
extern

Finalize target memory support.

Definition at line 1639 of file kmp_alloc.cpp.

References __kmp_tgt_memspace_list.

Referenced by __kmp_fini_allocator().

◆ __kmp_finish_implicit_task()

◆ __kmp_fork_call()

int __kmp_fork_call ( ident_t * loc,
int gtid,
enum fork_context_e fork_context,
kmp_int32 argc,
microtask_t microtask,
launch_t invoker,
kmp_va_list ap )
extern

Definition at line 1934 of file kmp_runtime.cpp.

References __kmp_acquire_bootstrap_lock(), __kmp_allocate, __kmp_allocate_team(), __kmp_assign_root_init_mask, __kmp_barrier_release_pattern, __kmp_fork_in_teams(), __kmp_fork_team_threads(), __kmp_forkjoin_lock, __kmp_hot_teams_max_level, __kmp_init_parallel, __kmp_init_serial, __kmp_internal_fork(), __kmp_is_entering_teams(), __kmp_is_fork_in_teams(), __kmp_library, __kmp_nested_proc_bind, __kmp_override_nested_nth(), __kmp_parallel_initialize(), __kmp_release_bootstrap_lock(), __kmp_reserve_threads(), __kmp_resume_if_soft_paused(), __kmp_root, __kmp_serial_fork_call(), __kmp_setup_icv_copy(), __kmp_stkpadding, __kmp_teams_master(), __kmp_teams_proc_bind, __kmp_threads, __ompt_get_task_info_internal(), bp_dist_bar, bs_forkjoin_barrier, cancel_noreq, copy_icvs(), fork_context_gnu, get__nproc_2, get__sched_2, kmp_hot_team_ptr::hot_team, i, KA_TRACE, KC_TRACE, KF_TRACE, KMP_ALLOCA, KMP_ASSERT2, KMP_ATOMIC_INC, KMP_CHECK_UPDATE, KMP_CHECK_UPDATE_SYNC, KMP_COUNT_VALUE, KMP_DEBUG_ASSERT, KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT, KMP_GET_THREAD_STATE, KMP_INTERNAL_FREE, KMP_MAX_STKPADDING, KMP_MB, KMP_SET_THREAD_STATE, KMP_TIME_DEVELOPER_PARTITIONED_BLOCK, kmp_va_deref, level, library_serial, loc, microtask(), kmp_internal_control::next, kmp_internal_control::nproc, kmp_nested_nthreads_t::nth, ompt_callbacks, ompt_enabled, OMPT_INVOKER, kmp_internal_control::proc_bind, proc_bind_default, proc_bind_false, propagateFPControl, kmp_r_sched::sched, short, kmp_team::t, TCR_4, TRUE, and kmp_nested_nthreads_t::used.

Referenced by __kmp_GOMP_fork_call(), __kmp_teams_master(), __kmpc_fork_call(), and __kmpc_fork_teams().

◆ __kmp_free_implicit_task()

void __kmp_free_implicit_task ( kmp_info_t * this_thr)
extern

Definition at line 1186 of file kmp_tasking.cpp.

References __kmp_dephash_free(), and task::th.

Referenced by __kmp_free_thread(), and __kmp_reap_thread().

◆ __kmp_free_task_team()

◆ __kmp_free_team()

◆ __kmp_free_thread()

◆ __kmp_fulfill_event()

◆ __kmp_ge_4()

kmp_uint32 __kmp_ge_4 ( kmp_uint32 value,
kmp_uint32 checker )
extern

Definition at line 3035 of file kmp_dispatch.cpp.

References checker, kmp_uint32, and value.

◆ __kmp_get_ancestor_thread_num()

int __kmp_get_ancestor_thread_num ( int gtid,
int level )
extern

◆ __kmp_get_cancellation_status()

KMP_EXPORT int __kmp_get_cancellation_status ( int cancel_kind)
Parameters
loc_reflocation of the original task directive
gtidGlobal thread ID of encountering thread
Returns
returns true if a matching cancellation request has been flagged in the RTL and the encountering thread has to cancel..

Query function to query the current status of cancellation requests. Can be used to implement the following pattern:

if (kmp_get_cancellation_status(kmp_cancel_parallel)) { perform_cleanup(); #pragma omp cancellation point parallel }

Definition at line 309 of file kmp_cancel.cpp.

References __kmp_entry_thread(), __kmp_omp_cancellation, cancel_loop, cancel_parallel, kmp_taskgroup::cancel_request, cancel_sections, cancel_taskgroup, kmp_team::t, and task::th.

Referenced by FTN_GET_CANCELLATION_STATUS().

◆ __kmp_get_devices_allocator()

◆ __kmp_get_devices_memspace()

◆ __kmp_get_global_thread_id()

◆ __kmp_get_global_thread_id_reg()

◆ __kmp_get_hierarchy()

void __kmp_get_hierarchy ( kmp_uint32 nproc,
kmp_bstate_t * thr_bar )
extern

◆ __kmp_get_max_active_levels()

int __kmp_get_max_active_levels ( int gtid)
extern

Definition at line 2906 of file kmp_runtime.cpp.

References __kmp_init_serial, __kmp_threads, KF_TRACE, and KMP_DEBUG_ASSERT.

Referenced by FTN_GET_MAX_ACTIVE_LEVELS().

◆ __kmp_get_max_teams()

KMP_EXPORT int __kmp_get_max_teams ( void )

Definition at line 2926 of file kmp_runtime.cpp.

References __kmp_nteams.

Referenced by FTN_GET_MAX_TEAMS().

◆ __kmp_get_memspace_num_resources()

int __kmp_get_memspace_num_resources ( omp_memspace_handle_t memspace)
extern

◆ __kmp_get_random()

unsigned short __kmp_get_random ( kmp_info_t * thread)
extern

Definition at line 3642 of file kmp_runtime.cpp.

References KA_TRACE, r, and short.

Referenced by __kmp_execute_tasks_template(), and __kmp_reserve_threads().

◆ __kmp_get_reduce_method()

KMP_EXPORT kmp_int32 __kmp_get_reduce_method ( void )

Definition at line 9045 of file kmp_runtime.cpp.

References __kmp_entry_thread().

◆ __kmp_get_schedule()

◆ __kmp_get_schedule_global()

◆ __kmp_get_submemspace()

◆ __kmp_get_team_size()

int __kmp_get_team_size ( int gtid,
int level )
extern

◆ __kmp_get_teams_thread_limit()

KMP_EXPORT int __kmp_get_teams_thread_limit ( void )

Definition at line 2932 of file kmp_runtime.cpp.

References __kmp_teams_thread_limit.

Referenced by FTN_GET_TEAMS_THREAD_LIMIT().

◆ __kmp_gtid_from_thread()

◆ __kmp_gtid_from_tid()

◆ __kmp_gtid_get_specific()

◆ __kmp_gtid_set_specific()

void __kmp_gtid_set_specific ( int gtid)
extern

◆ __kmp_hardware_timestamp()

kmp_uint64 __kmp_hardware_timestamp ( void )
extern

Definition at line 1534 of file z_Windows_NT_util.cpp.

References r.

◆ __kmp_hidden_helper_initialize()

◆ __kmp_hidden_helper_initz_release()

void __kmp_hidden_helper_initz_release ( )
extern

Definition at line 3053 of file z_Linux_util.cpp.

References KMP_ASSERT.

◆ __kmp_hidden_helper_main_thread_release()

void __kmp_hidden_helper_main_thread_release ( )
extern

Definition at line 3061 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_internal_end_library(), and __kmp_internal_end_thread().

◆ __kmp_hidden_helper_main_thread_wait()

void __kmp_hidden_helper_main_thread_wait ( )
extern

Definition at line 3057 of file z_Linux_util.cpp.

References KMP_ASSERT.

◆ __kmp_hidden_helper_threads_deinitz_release()

void __kmp_hidden_helper_threads_deinitz_release ( )
extern

Definition at line 3073 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_hidden_helper_threads_initz_routine().

◆ __kmp_hidden_helper_threads_deinitz_wait()

void __kmp_hidden_helper_threads_deinitz_wait ( )
extern

Definition at line 3069 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_internal_end_library(), and __kmp_internal_end_thread().

◆ __kmp_hidden_helper_threads_initz_routine()

◆ __kmp_hidden_helper_threads_initz_wait()

void __kmp_hidden_helper_threads_initz_wait ( )
extern

Definition at line 3049 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_hidden_helper_initialize().

◆ __kmp_hidden_helper_worker_thread_signal()

void __kmp_hidden_helper_worker_thread_signal ( )
extern

Definition at line 3065 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_push_task(), and __kmp_task_finish().

◆ __kmp_hidden_helper_worker_thread_wait()

void __kmp_hidden_helper_worker_thread_wait ( )
extern

Definition at line 3041 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_wait_template().

◆ __kmp_hw_get_catalog_string()

◆ __kmp_hw_get_core_type_string()

◆ __kmp_hw_get_keyword()

◆ __kmp_ignore_mppbeg()

int __kmp_ignore_mppbeg ( void )
extern

Definition at line 8352 of file kmp_runtime.cpp.

References __kmp_str_match_false(), FALSE, and TRUE.

Referenced by __kmpc_begin().

◆ __kmp_ignore_mppend()

int __kmp_ignore_mppend ( void )
extern

Definition at line 8363 of file kmp_runtime.cpp.

References __kmp_str_match_false(), FALSE, and TRUE.

Referenced by __kmpc_end().

◆ __kmp_infinite_loop()

void __kmp_infinite_loop ( void )
extern

Definition at line 367 of file kmp_runtime.cpp.

References FALSE, KMP_YIELD, and TRUE.

Referenced by __kmp_abort_process(), __kmp_abort_thread(), and __kmp_parallel_initialize().

◆ __kmp_init_implicit_task()

◆ __kmp_init_memkind()

◆ __kmp_init_nesting_mode()

void __kmp_init_nesting_mode ( )
extern

◆ __kmp_init_random()

void __kmp_init_random ( kmp_info_t * thread)
extern

Definition at line 3655 of file kmp_runtime.cpp.

References __kmp_primes, and KA_TRACE.

Referenced by __kmp_allocate_thread(), and __kmp_register_root().

◆ __kmp_init_target_mem()

◆ __kmp_initialize_bget()

void __kmp_initialize_bget ( kmp_info_t * th)
extern

◆ __kmp_internal_begin()

void __kmp_internal_begin ( void )
extern

◆ __kmp_internal_end_atexit()

void __kmp_internal_end_atexit ( void )
extern

◆ __kmp_internal_end_dest()

void __kmp_internal_end_dest ( void * specific_gtid)
extern

Definition at line 6095 of file kmp_runtime.cpp.

References __kmp_internal_end_thread(), __kmp_type_convert(), and KA_TRACE.

Referenced by __kmp_runtime_initialize().

◆ __kmp_internal_end_dtor()

void __kmp_internal_end_dtor ( void )
extern

◆ __kmp_internal_end_library()

◆ __kmp_internal_end_thread()

◆ __kmp_internal_fork()

void __kmp_internal_fork ( ident_t * id,
int gtid,
kmp_team_t * team )
extern

◆ __kmp_internal_join()

◆ __kmp_invoke_microtask()

int __kmp_invoke_microtask ( microtask_t pkfn,
int gtid,
int npr,
int argc,
void * argv[] )
extern

◆ __kmp_invoke_task_func()

◆ __kmp_invoke_teams_master()

◆ __kmp_is_address_mapped()

int __kmp_is_address_mapped ( void * addr)
extern

◆ __kmp_is_hybrid_cpu()

bool __kmp_is_hybrid_cpu ( )
inlinestatic

◆ __kmp_join_call()

◆ __kmp_launch_thread()

◆ __kmp_le_4()

kmp_uint32 __kmp_le_4 ( kmp_uint32 value,
kmp_uint32 checker )
extern

Definition at line 3039 of file kmp_dispatch.cpp.

References checker, kmp_uint32, and value.

◆ __kmp_lock_suspend_mx()

◆ __kmp_lt_4()

kmp_uint32 __kmp_lt_4 ( kmp_uint32 value,
kmp_uint32 checker )
extern

Definition at line 3031 of file kmp_dispatch.cpp.

References checker, kmp_uint32, and value.

◆ __kmp_middle_initialize()

◆ __kmp_neq_4()

kmp_uint32 __kmp_neq_4 ( kmp_uint32 value,
kmp_uint32 checker )
extern

Definition at line 3027 of file kmp_dispatch.cpp.

References checker, kmp_uint32, and value.

◆ __kmp_now_nsec()

kmp_uint64 __kmp_now_nsec ( )
extern

Definition at line 2079 of file z_Linux_util.cpp.

References KMP_NSEC_PER_SEC.

◆ __kmp_omp_display_env()

◆ __kmp_omp_task()

◆ __kmp_parallel_deo()

void __kmp_parallel_deo ( int * gtid_ref,
int * cid_ref,
ident_t * loc_ref )
extern

◆ __kmp_parallel_dxo()

void __kmp_parallel_dxo ( int * gtid_ref,
int * cid_ref,
ident_t * loc_ref )
extern

◆ __kmp_parallel_initialize()

◆ __kmp_pause_resource()

◆ __kmp_pop_current_task_from_thread()

void __kmp_pop_current_task_from_thread ( kmp_info_t * this_thr)
extern

Definition at line 397 of file kmp_tasking.cpp.

References KF_TRACE.

Referenced by __kmp_join_call(), and __kmpc_end_serialized_parallel().

◆ __kmp_pop_task_team_node()

void __kmp_pop_task_team_node ( kmp_info_t * thread,
kmp_team_t * team )
extern

◆ __kmp_print_storage_map_gtid()

◆ __kmp_push_current_task_to_thread()

void __kmp_push_current_task_to_thread ( kmp_info_t * this_thr,
kmp_team_t * team,
int tid )
extern

◆ __kmp_push_num_teams()

void __kmp_push_num_teams ( ident_t * loc,
int gtid,
int num_teams,
int num_threads )
extern

◆ __kmp_push_num_teams_51()

void __kmp_push_num_teams_51 ( ident_t * loc,
int gtid,
int num_teams_lb,
int num_teams_ub,
int num_threads )
extern

◆ __kmp_push_num_threads()

void __kmp_push_num_threads ( ident_t * loc,
int gtid,
int num_threads )
extern

◆ __kmp_push_num_threads_list()

void __kmp_push_num_threads_list ( ident_t * loc,
int gtid,
kmp_uint32 list_length,
int * num_threads_list )
extern

◆ __kmp_push_proc_bind()

void __kmp_push_proc_bind ( ident_t * loc,
int gtid,
kmp_proc_bind_t proc_bind )
extern

Definition at line 8015 of file kmp_runtime.cpp.

References __kmp_threads.

Referenced by __kmp_GOMP_fork_call(), and __kmpc_push_proc_bind().

◆ __kmp_push_task_team_node()

void __kmp_push_task_team_node ( kmp_info_t * thread,
kmp_team_t * team )
extern

◆ __kmp_read_cpu_time()

double __kmp_read_cpu_time ( void )
extern

Definition at line 1835 of file z_Linux_util.cpp.

References double, KMP_NSEC_PER_SEC, and status.

◆ __kmp_read_system_info()

◆ __kmp_read_system_time()

void __kmp_read_system_time ( double * delta)
extern

◆ __kmp_realloc()

◆ __kmp_reap_task_teams()

◆ __kmp_reap_team()

kmp_team_t * __kmp_reap_team ( kmp_team_t * team)
extern

◆ __kmp_reap_worker()

void __kmp_reap_worker ( kmp_info_t * th)
extern

◆ __kmp_register_root()

int __kmp_register_root ( int initial_thread)
extern

Definition at line 3795 of file kmp_runtime.cpp.

References __kmp_acquire_bootstrap_lock(), __kmp_adjust_gtid_mode, __kmp_all_nth, __kmp_allocate, __kmp_allocate_cons_stack(), __kmp_allocate_team(), __kmp_avail_proc, __kmp_cg_max_nth, __kmp_create_worker(), __kmp_def_allocator, __kmp_enable_hidden_helper, __kmp_env_blocktime, __kmp_env_consistency_check, __kmp_expand_threads(), __kmp_fatal(), __kmp_forkjoin_lock, __kmp_get_global_icvs(), __kmp_gtid_from_tid(), __kmp_gtid_get_specific(), __kmp_gtid_mode, __kmp_gtid_set_specific(), __kmp_hidden_helper_threads_num, __kmp_init_gtid, __kmp_init_hidden_helper_threads, __kmp_init_random(), __kmp_initialize_bget(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_msg_null, __kmp_nth, __kmp_print_thread_storage_map(), __kmp_release_bootstrap_lock(), __kmp_root, __kmp_root_counter, __kmp_stksize, __kmp_storage_map, __kmp_threads, __kmp_threads_capacity, __kmp_tls_gtid_min, __kmp_tp_cached, __kmp_tp_capacity, __ompt_get_task_info_internal(), __ompt_get_thread_data_internal(), b, bs_forkjoin_barrier, bs_last_barrier, kmp_cg_root::cg_nthreads, kmp_cg_root::cg_root, kmp_cg_root::cg_thread_limit, KA_TRACE, KF_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_HNT, KMP_INIT_BARRIER_STATE, KMP_INIT_PARTITIONED_TIMERS, KMP_MB, KMP_MSG, KMP_SET_THREAD_STATE, ompt_callbacks, ompt_enabled, proc_bind_default, TCR_4, TCR_PTR, TCW_4, TCW_SYNC_PTR, TRUE, and kmp_cg_root::up.

Referenced by __kmp_do_serial_initialize(), __kmp_get_global_thread_id_reg(), and __kmp_hidden_helper_threads_initz_routine().

◆ __kmp_release_64()

void __kmp_release_64 ( kmp_flag_64<> * flag)
extern

Definition at line 25 of file kmp_wait_release.cpp.

References __kmp_release_template(), and flag.

Referenced by __kmp_reap_thread().

◆ __kmp_reset_root_init_mask()

◆ __kmp_resume_32()

template<bool C, bool S>
void __kmp_resume_32 ( int target_gtid,
kmp_flag_32< C, S > * flag )
extern

◆ __kmp_resume_64()

template<bool C, bool S>
void __kmp_resume_64 ( int target_gtid,
kmp_flag_64< C, S > * flag )
extern

◆ __kmp_resume_if_hard_paused()

void __kmp_resume_if_hard_paused ( )
inlinestatic

Definition at line 4559 of file kmp.h.

References __kmp_pause_status, kmp_hard_paused, and kmp_not_paused.

Referenced by __kmp_parallel_initialize().

◆ __kmp_resume_if_soft_paused()

◆ __kmp_resume_oncore()

void __kmp_resume_oncore ( int target_gtid,
kmp_flag_oncore * flag )
extern

◆ __kmp_run_after_invoked_task()

void __kmp_run_after_invoked_task ( int gtid,
int tid,
kmp_info_t * this_thr,
kmp_team_t * team )
extern

◆ __kmp_run_before_invoked_task()

◆ __kmp_runtime_destroy()

◆ __kmp_runtime_initialize()

◆ __kmp_save_internal_controls()

◆ __kmp_sched_apply_mods_intkind()

void __kmp_sched_apply_mods_intkind ( kmp_sched_t kind,
enum sched_type * internal_kind )
inlinestatic

Definition at line 472 of file kmp.h.

References kmp_sch_modifier_monotonic, and kmp_sched_monotonic.

Referenced by __kmp_set_schedule().

◆ __kmp_sched_apply_mods_stdkind()

void __kmp_sched_apply_mods_stdkind ( kmp_sched_t * kind,
enum sched_type internal_kind )
inlinestatic

Definition at line 463 of file kmp.h.

References kmp_sched_monotonic, and SCHEDULE_HAS_MONOTONIC.

Referenced by __kmp_get_schedule().

◆ __kmp_sched_without_mods()

kmp_sched_t __kmp_sched_without_mods ( kmp_sched_t kind)
inlinestatic

Definition at line 481 of file kmp.h.

References int, and kmp_sched_monotonic.

Referenced by __kmp_set_schedule().

◆ __kmp_serial_initialize()

◆ __kmp_serialized_parallel()

◆ __kmp_set_max_active_levels()

void __kmp_set_max_active_levels ( int gtid,
int new_max_active_levels )
extern

◆ __kmp_set_nesting_mode_threads()

◆ __kmp_set_num_teams()

KMP_EXPORT void __kmp_set_num_teams ( int num_teams)

Definition at line 2922 of file kmp_runtime.cpp.

References __kmp_nteams.

Referenced by FTN_SET_NUM_TEAMS().

◆ __kmp_set_num_threads()

◆ __kmp_set_schedule()

◆ __kmp_set_strict_num_threads()

void __kmp_set_strict_num_threads ( ident_t * loc,
int gtid,
int sev,
const char * msg )
extern

◆ __kmp_set_teams_thread_limit()

KMP_EXPORT void __kmp_set_teams_thread_limit ( int limit)

Definition at line 2928 of file kmp_runtime.cpp.

References __kmp_teams_thread_limit.

Referenced by FTN_SET_TEAMS_THREAD_LIMIT().

◆ __kmp_suspend_32()

template<bool C, bool S>
void __kmp_suspend_32 ( int th_gtid,
kmp_flag_32< C, S > * flag )
extern

◆ __kmp_suspend_64()

template<bool C, bool S>
void __kmp_suspend_64 ( int th_gtid,
kmp_flag_64< C, S > * flag )
extern

◆ __kmp_suspend_initialize()

void __kmp_suspend_initialize ( void )
extern

◆ __kmp_suspend_initialize_thread()

◆ __kmp_suspend_oncore()

void __kmp_suspend_oncore ( int th_gtid,
kmp_flag_oncore * flag )
extern

Definition at line 1658 of file z_Linux_util.cpp.

References __kmp_suspend_template(), __kmp_suspend_template(), and flag.

Referenced by kmp_flag_oncore::suspend().

◆ __kmp_suspend_uninitialize_thread()

◆ __kmp_task_alloc()

kmp_task_t * __kmp_task_alloc ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_tasking_flags_t * flags,
size_t sizeof_kmp_task_t,
size_t sizeof_shareds,
kmp_routine_entry_t task_entry )
extern

Definition at line 1218 of file kmp_tasking.cpp.

References __kmp_alloc_task_deque(), __kmp_enable_hidden_helper, __kmp_enable_tasking(), __kmp_hidden_helper_initialize(), __kmp_init_hidden_helper, __kmp_init_middle, __kmp_middle_initialize(), __kmp_round_up_to_val(), __kmp_task_team_setup(), __kmp_tasking_mode, __kmp_taskloop_task(), __kmp_thread_malloc, __kmp_threads, __kmp_track_children_task(), __kmp_unexecuted_hidden_helper_tasks, kmp_target_data::async_handle, kmp_tasking_flags::complete, copy_icvs(), kmp_taskgroup::count, kmp_tasking_flags::detachable, kmp_tasking_flags::executing, FALSE, kmp_tasking_flags::final, kmp_tasking_flags::freed, kmp_tasking_flags::hidden_helper, KA_TRACE, KMP_ATOMIC_INC, KMP_ATOMIC_ST_RLX, KMP_CHECK_UPDATE, KMP_DEBUG_ASSERT, KMP_EVENT_UNINITIALIZED, KMP_GEN_TASK_ID, KMP_GTID_TO_SHADOW_GTID, KMP_TASKDATA_TO_TASK, KMP_TASKING_ENABLED, kmp_tasking_flags::merged_if0, ompt_enabled, task::part_id, kmp_tasking_flags::proxy, task::routine, task::shareds, kmp_tasking_flags::started, kmp_team::t, TASK_DETACHABLE, task_entry(), TASK_EXPLICIT, TASK_FULL, TASK_PROXY, kmp_tasking_flags::task_serial, TASK_UNTIED, kmp_tasking_flags::tasking_ser, kmp_tasking_flags::tasktype, TCR_4, TCW_4, kmp_taskdata::td_alloc_thread, kmp_taskdata::td_allocated_child_tasks, kmp_taskdata::td_allow_completion_event, kmp_taskdata::td_dephash, kmp_taskdata::td_depnode, kmp_taskdata::td_flags, kmp_taskdata::td_icvs, kmp_taskdata::td_ident, kmp_taskdata::td_incomplete_child_tasks, kmp_taskdata::td_last_tied, kmp_taskdata::td_level, kmp_taskdata::td_parent, kmp_taskdata::td_size_alloc, kmp_taskdata::td_target_data, kmp_taskdata::td_task_id, kmp_taskdata::td_task_team, kmp_taskdata::td_taskgroup, kmp_taskdata::td_taskwait_counter, kmp_taskdata::td_taskwait_ident, kmp_taskdata::td_taskwait_thread, kmp_taskdata::td_team, kmp_taskdata::td_untied_count, kmp_tasking_flags::team_serial, kmp_tasking_flags::tiedness, TRUE, tskm_immediate_exec, kmp_task_team::tt, kmp_base_task_team::tt_found_proxy_tasks, kmp_base_task_team::tt_hidden_helper_task_encountered, kmp_base_task_team::tt_threads_data, kmp_event_t::type, and UNLIKELY.

Referenced by __GOMP_taskloop(), and __kmpc_omp_task_alloc().

◆ __kmp_task_team_setup()

◆ __kmp_task_team_sync()

◆ __kmp_task_team_wait()

◆ __kmp_tasking_barrier()

◆ __kmp_team_from_gtid()

◆ __kmp_teams_master()

◆ __kmp_terminate_thread()

void __kmp_terminate_thread ( int gtid)
extern

◆ __kmp_thread_from_gtid()

◆ __kmp_thread_sleep()

void __kmp_thread_sleep ( int millis)
extern

Definition at line 2053 of file z_Linux_util.cpp.

References __kmp_fatal(), __kmp_msg_null, FALSE, KMP_ERR, KMP_MSG, and status.

Referenced by __kmp_fatal().

◆ __kmp_threadprivate_resize_cache()

◆ __kmp_tid_from_gtid()

◆ __kmp_try_suspend_mx()

int __kmp_try_suspend_mx ( kmp_info_t * th)
extern

Definition at line 1471 of file z_Linux_util.cpp.

References __kmp_win32_mutex_trylock().

Referenced by __kmp_resume_if_soft_paused().

◆ __kmp_type_convert()

◆ __kmp_unlock_suspend_mx()

◆ __kmp_unregister_library()

◆ __kmp_unregister_root()

void __kmp_unregister_root ( int gtid)
extern

◆ __kmp_user_set_library()

◆ __kmp_wait_4()

◆ __kmp_wait_4_ptr()

void __kmp_wait_4_ptr ( void * spinner,
kmp_uint32 checker,
kmp_uint32(* pred )(void *, kmp_uint32),
void * obj )
extern

◆ __kmp_wait_64()

void __kmp_wait_64 ( kmp_info_t * this_thr,
kmp_flag_64<> * flag,
int final_spin )
extern

References __kmp_threads, buf, flag, mask, r, result, size, and TRUE.

Referenced by kmp_flag_oncore::notdone_check().

◆ __kmp_wait_to_unref_task_teams()

◆ __kmp_warn()

◆ __kmp_yield()

void __kmp_yield ( )
extern

Definition at line 1804 of file z_Linux_util.cpp.

◆ __kmpc_aligned_alloc()

void * __kmpc_aligned_alloc ( int gtid,
size_t align,
size_t sz,
omp_allocator_handle_t al )
extern

Definition at line 1874 of file kmp_alloc.cpp.

References __kmp_alloc(), KE_TRACE, and size.

◆ __kmpc_alloc()

void * __kmpc_alloc ( int gtid,
size_t sz,
omp_allocator_handle_t al )
extern

Definition at line 1867 of file kmp_alloc.cpp.

References __kmp_alloc(), KE_TRACE, and size.

◆ __kmpc_calloc()

void * __kmpc_calloc ( int gtid,
size_t nmemb,
size_t sz,
omp_allocator_handle_t al )
extern

Definition at line 1883 of file kmp_alloc.cpp.

References __kmp_calloc(), KE_TRACE, and size.

◆ __kmpc_cancel()

KMP_EXPORT kmp_int32 __kmpc_cancel ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_int32 cncl_kind )
Parameters
loc_reflocation of the original task directive
gtidGlobal thread ID of encountering thread
cncl_kindCancellation kind (parallel, for, sections, taskgroup)
Returns
returns true if the cancellation request has been activated and the execution thread needs to proceed to the end of the canceled region.

Request cancellation of the binding OpenMP region.

Definition at line 29 of file kmp_cancel.cpp.

References __kmp_get_gtid, __kmp_omp_cancellation, __kmp_threads, __ompt_get_task_info_internal(), cancel_loop, cancel_noreq, cancel_parallel, kmp_taskgroup::cancel_request, cancel_sections, cancel_taskgroup, KC_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, ompt_callbacks, ompt_enabled, OMPT_GET_RETURN_ADDRESS, kmp_team::t, task::th, and type.

◆ __kmpc_cancel_barrier()

KMP_EXPORT kmp_int32 __kmpc_cancel_barrier ( ident_t * loc,
kmp_int32 gtid )
Parameters
loc_reflocation of the original task directive
gtidGlobal thread ID of encountering thread
Returns
returns true if a matching cancellation request has been flagged in the RTL and the encountering thread has to cancel..

Barrier with cancellation point to send threads from the barrier to the end of the parallel region. Needs a special code pattern as documented in the design document for the cancellation feature.

Definition at line 243 of file kmp_cancel.cpp.

References __kmp_get_gtid, __kmp_omp_cancellation, __kmp_threads, __kmpc_barrier(), cancel_loop, cancel_noreq, cancel_parallel, cancel_sections, cancel_taskgroup, KMP_ASSERT, KMP_ATOMIC_LD_RLX, KMP_DEBUG_ASSERT, loc, ret, and kmp_team::t.

◆ __kmpc_cancellationpoint()

KMP_EXPORT kmp_int32 __kmpc_cancellationpoint ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_int32 cncl_kind )
Parameters
loc_reflocation of the original task directive
gtidGlobal thread ID of encountering thread
cncl_kindCancellation kind (parallel, for, sections, taskgroup)
Returns
returns true if a matching cancellation request has been flagged in the RTL and the encountering thread has to cancel..

Cancellation point for the encountering thread.

Definition at line 135 of file kmp_cancel.cpp.

References __kmp_get_gtid, __kmp_omp_cancellation, __kmp_threads, __ompt_get_task_info_internal(), cancel_loop, cancel_noreq, cancel_parallel, kmp_taskgroup::cancel_request, cancel_sections, cancel_taskgroup, KC_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, ompt_callbacks, ompt_enabled, OMPT_GET_RETURN_ADDRESS, kmp_team::t, task::th, and type.

◆ __kmpc_critical_with_hint()

KMP_EXPORT void __kmpc_critical_with_hint ( ident_t * ,
kmp_int32 global_tid,
kmp_critical_name * ,
uint32_t hint )

References KMP_EXPORT, and loc.

Referenced by __kmpc_critical().

◆ __kmpc_destroy_allocator()

void __kmpc_destroy_allocator ( int gtid,
omp_allocator_handle_t al )
extern

Definition at line 1777 of file kmp_alloc.cpp.

References __kmp_free, and kmp_max_mem_alloc.

Referenced by __kmp_cleanup(), and FTN_DESTROY_ALLOCATOR().

◆ __kmpc_destroy_lock()

◆ __kmpc_destroy_nest_lock()

◆ __kmpc_dispatch_deinit()

void __kmpc_dispatch_deinit ( ident_t * loc,
kmp_int32 gtid )
extern

See __kmpc_dispatch_deinit.

Definition at line 3017 of file kmp_dispatch.cpp.

References loc.

◆ __kmpc_dispatch_fini_4()

void __kmpc_dispatch_fini_4 ( ident_t * loc,
kmp_int32 gtid )
extern
Parameters
locSource code location
gtidGlobal thread id

Mark the end of a dynamic loop.

Definition at line 2989 of file kmp_dispatch.cpp.

References __kmp_dispatch_finish(), and loc.

◆ __kmpc_dispatch_fini_4u()

void __kmpc_dispatch_fini_4u ( ident_t * loc,
kmp_int32 gtid )
extern

See __kmpc_dispatch_fini_4.

Definition at line 3003 of file kmp_dispatch.cpp.

References __kmp_dispatch_finish(), and loc.

◆ __kmpc_dispatch_fini_8()

void __kmpc_dispatch_fini_8 ( ident_t * loc,
kmp_int32 gtid )
extern

See __kmpc_dispatch_fini_4.

Definition at line 2996 of file kmp_dispatch.cpp.

References __kmp_dispatch_finish(), and loc.

◆ __kmpc_dispatch_fini_8u()

void __kmpc_dispatch_fini_8u ( ident_t * loc,
kmp_int32 gtid )
extern

See __kmpc_dispatch_fini_4.

Definition at line 3010 of file kmp_dispatch.cpp.

References __kmp_dispatch_finish(), and loc.

◆ __kmpc_dispatch_init_4u()

void __kmpc_dispatch_init_4u ( ident_t * loc,
kmp_int32 gtid,
enum sched_type schedule,
kmp_uint32 lb,
kmp_uint32 ub,
kmp_int32 st,
kmp_int32 chunk )
extern

◆ __kmpc_dispatch_init_8()

void __kmpc_dispatch_init_8 ( ident_t * loc,
kmp_int32 gtid,
enum sched_type schedule,
kmp_int64 lb,
kmp_int64 ub,
kmp_int64 st,
kmp_int64 chunk )
extern

◆ __kmpc_dispatch_init_8u()

void __kmpc_dispatch_init_8u ( ident_t * loc,
kmp_int32 gtid,
enum sched_type schedule,
kmp_uint64 lb,
kmp_uint64 ub,
kmp_int64 st,
kmp_int64 chunk )
extern

◆ __kmpc_dispatch_next_4()

int __kmpc_dispatch_next_4 ( ident_t * loc,
kmp_int32 gtid,
kmp_int32 * p_last,
kmp_int32 * p_lb,
kmp_int32 * p_ub,
kmp_int32 * p_st )
extern
Parameters
locSource code location
gtidGlobal thread id
p_lastPointer to a flag set to one if this is the last chunk or zero otherwise
p_lbPointer to the lower bound for the next chunk of work
p_ubPointer to the upper bound for the next chunk of work
p_stPointer to the stride for the next chunk of work
Returns
one if there is work to be done, zero otherwise

Get the next dynamically allocated chunk of work for this thread. If there is no more work, then the lb,ub and stride need not be modified.

Definition at line 2920 of file kmp_dispatch.cpp.

References __kmp_dispatch_next(), and loc.

◆ __kmpc_dispatch_next_4u()

int __kmpc_dispatch_next_4u ( ident_t * loc,
kmp_int32 gtid,
kmp_int32 * p_last,
kmp_uint32 * p_lb,
kmp_uint32 * p_ub,
kmp_int32 * p_st )
extern

See __kmpc_dispatch_next_4.

Definition at line 2936 of file kmp_dispatch.cpp.

References __kmp_dispatch_next(), kmp_uint32, and loc.

◆ __kmpc_dispatch_next_8()

int __kmpc_dispatch_next_8 ( ident_t * loc,
kmp_int32 gtid,
kmp_int32 * p_last,
kmp_int64 * p_lb,
kmp_int64 * p_ub,
kmp_int64 * p_st )
extern

See __kmpc_dispatch_next_4.

Definition at line 2953 of file kmp_dispatch.cpp.

References __kmp_dispatch_next(), and loc.

◆ __kmpc_dispatch_next_8u()

int __kmpc_dispatch_next_8u ( ident_t * loc,
kmp_int32 gtid,
kmp_int32 * p_last,
kmp_uint64 * p_lb,
kmp_uint64 * p_ub,
kmp_int64 * p_st )
extern

See __kmpc_dispatch_next_4.

Definition at line 2969 of file kmp_dispatch.cpp.

References __kmp_dispatch_next(), and loc.

◆ __kmpc_doacross_fini()

KMP_EXPORT void __kmpc_doacross_fini ( ident_t * loc,
kmp_int32 gtid )

References data, KMP_EXPORT, loc, and size.

◆ __kmpc_doacross_init()

KMP_EXPORT void __kmpc_doacross_init ( ident_t * loc,
kmp_int32 gtid,
kmp_int32 num_dims,
const struct kmp_dim * dims )

References KMP_EXPORT, and loc.

◆ __kmpc_doacross_post()

◆ __kmpc_doacross_wait()

KMP_EXPORT void __kmpc_doacross_wait ( ident_t * loc,
kmp_int32 gtid,
const kmp_int64 * vec )

References KMP_EXPORT, and loc.

Referenced by __kmp_GOMP_doacross_wait().

◆ __kmpc_end_scope()

KMP_EXPORT void __kmpc_end_scope ( ident_t * loc,
kmp_int32 gtid,
void * reserved )

◆ __kmpc_end_taskgroup()

◆ __kmpc_error()

◆ __kmpc_free()

void __kmpc_free ( int gtid,
void * ptr,
omp_allocator_handle_t al )
extern

Definition at line 1902 of file kmp_alloc.cpp.

References ___kmpc_free(), and KE_TRACE.

◆ __kmpc_get_default_allocator()

omp_allocator_handle_t __kmpc_get_default_allocator ( int gtid)
extern

Definition at line 1788 of file kmp_alloc.cpp.

References __kmp_threads.

Referenced by FTN_GET_DEFAULT_ALLOCATOR().

◆ __kmpc_get_parent_taskid()

KMP_EXPORT kmp_uint64 __kmpc_get_parent_taskid ( )

◆ __kmpc_get_target_offload()

int __kmpc_get_target_offload ( )
extern

◆ __kmpc_get_taskid()

KMP_EXPORT kmp_uint64 __kmpc_get_taskid ( )

Definition at line 4104 of file kmp_csupport.cpp.

References __kmp_get_gtid, and __kmp_thread_from_gtid().

◆ __kmpc_init_allocator()

omp_allocator_handle_t __kmpc_init_allocator ( int gtid,
omp_memspace_handle_t ms,
int ntraits,
omp_alloctrait_t traits[] )
extern

◆ __kmpc_init_lock()

◆ __kmpc_init_lock_with_hint()

KMP_EXPORT void __kmpc_init_lock_with_hint ( ident_t * loc,
kmp_int32 gtid,
void ** user_lock,
uintptr_t hint )

References KMP_EXPORT, and loc.

◆ __kmpc_init_nest_lock()

◆ __kmpc_init_nest_lock_with_hint()

KMP_EXPORT void __kmpc_init_nest_lock_with_hint ( ident_t * loc,
kmp_int32 gtid,
void ** user_lock,
uintptr_t hint )

References KMP_EXPORT, loc, and status.

◆ __kmpc_invoke_task_func()

KMP_EXPORT int __kmpc_invoke_task_func ( int gtid)

Definition at line 589 of file kmp_csupport.cpp.

References __kmp_invoke_task_func().

◆ __kmpc_omp_target_task_alloc()

KMP_EXPORT kmp_task_t * __kmpc_omp_target_task_alloc ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_int32 flags,
size_t sizeof_kmp_task_t,
size_t sizeof_shareds,
kmp_routine_entry_t task_entry,
kmp_int64 device_id )

Definition at line 1473 of file kmp_tasking.cpp.

References __kmp_enable_hidden_helper, __kmpc_omp_task_alloc(), task_entry(), TASK_UNTIED, and TRUE.

Referenced by main().

◆ __kmpc_omp_task()

◆ __kmpc_omp_task_alloc()

KMP_EXPORT kmp_task_t * __kmpc_omp_task_alloc ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_int32 flags,
size_t sizeof_kmp_task_t,
size_t sizeof_shareds,
kmp_routine_entry_t task_entry )

◆ __kmpc_omp_task_begin_if0()

KMP_EXPORT void __kmpc_omp_task_begin_if0 ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_task_t * task )

◆ __kmpc_omp_task_complete_if0()

KMP_EXPORT void __kmpc_omp_task_complete_if0 ( ident_t * loc_ref,
kmp_int32 gtid,
kmp_task_t * task )

Definition at line 1046 of file kmp_tasking.cpp.

References __kmpc_omp_task_complete_if0_template(), ompt_enabled, and UNLIKELY.

◆ __kmpc_omp_task_parts()

◆ __kmpc_omp_taskwait()

KMP_EXPORT kmp_int32 __kmpc_omp_taskwait ( ident_t * loc_ref,
kmp_int32 gtid )

Definition at line 2121 of file kmp_tasking.cpp.

References __kmpc_omp_taskwait_template(), ompt_enabled, OMPT_GET_FRAME_ADDRESS, and UNLIKELY.

Referenced by main().

◆ __kmpc_omp_taskwait_deps_51()

◆ __kmpc_omp_taskyield()

◆ __kmpc_pause_resource()

int __kmpc_pause_resource ( kmp_pause_status_t level)
extern

Definition at line 4525 of file kmp_csupport.cpp.

References __kmp_init_serial, __kmp_pause_resource(), and level.

Referenced by FTN_PAUSE_RESOURCE(), and FTN_PAUSE_RESOURCE_ALL().

◆ __kmpc_pop_num_threads()

KMP_EXPORT void __kmpc_pop_num_threads ( ident_t * loc,
kmp_int32 global_tid )

Definition at line 284 of file kmp_csupport.cpp.

References KA_TRACE, and loc.

◆ __kmpc_push_num_threads_list_strict()

KMP_EXPORT void __kmpc_push_num_threads_list_strict ( ident_t * loc,
kmp_int32 global_tid,
kmp_uint32 list_length,
kmp_int32 * num_threads_list,
int severity,
const char * message )

◆ __kmpc_push_num_threads_strict()

KMP_EXPORT void __kmpc_push_num_threads_strict ( ident_t * loc,
kmp_int32 global_tid,
kmp_int32 num_threads,
int severity,
const char * message )

Definition at line 240 of file kmp_csupport.cpp.

References __kmp_push_num_threads(), __kmp_set_strict_num_threads(), and loc.

◆ __kmpc_push_proc_bind()

KMP_EXPORT void __kmpc_push_proc_bind ( ident_t * loc,
kmp_int32 global_tid,
int proc_bind )

References KMP_EXPORT, loc, and microtask().

◆ __kmpc_realloc()

void * __kmpc_realloc ( int gtid,
void * ptr,
size_t sz,
omp_allocator_handle_t al,
omp_allocator_handle_t free_al )
extern

Definition at line 1892 of file kmp_alloc.cpp.

References __kmp_realloc(), KE_TRACE, and size.

◆ __kmpc_scope()

KMP_EXPORT void __kmpc_scope ( ident_t * loc,
kmp_int32 gtid,
void * reserved )

◆ __kmpc_set_default_allocator()

void __kmpc_set_default_allocator ( int gtid,
omp_allocator_handle_t al )
extern

Definition at line 1782 of file kmp_alloc.cpp.

References __kmp_threads, omp_default_mem_alloc, and omp_null_allocator.

Referenced by FTN_SET_DEFAULT_ALLOCATOR().

◆ __kmpc_set_lock()

◆ __kmpc_set_nest_lock()

◆ __kmpc_task_allow_completion_event()

◆ __kmpc_task_get_depnode()

KMP_EXPORT kmp_base_depnode_t * __kmpc_task_get_depnode ( kmp_task_t * task)

Definition at line 294 of file kmp_taskdeps.cpp.

References kmp_depnode::dn, KMP_TASK_TO_TASKDATA, and kmp_taskdata::td_depnode.

Referenced by main().

◆ __kmpc_task_get_successors()

KMP_EXPORT kmp_depnode_list_t * __kmpc_task_get_successors ( kmp_task_t * task)

◆ __kmpc_taskgroup()

◆ __kmpc_taskloop()

KMP_EXPORT void __kmpc_taskloop ( ident_t * loc,
kmp_int32 gtid,
kmp_task_t * task,
kmp_int32 if_val,
kmp_uint64 * lb,
kmp_uint64 * ub,
kmp_int64 st,
kmp_int32 nogroup,
kmp_int32 sched,
kmp_uint64 grainsize,
void * task_dup )

References KMP_EXPORT, and loc.

Referenced by __GOMP_taskloop().

◆ __kmpc_taskloop_5()

KMP_EXPORT void __kmpc_taskloop_5 ( ident_t * loc,
kmp_int32 gtid,
kmp_task_t * task,
kmp_int32 if_val,
kmp_uint64 * lb,
kmp_uint64 * ub,
kmp_int64 st,
kmp_int32 nogroup,
kmp_int32 sched,
kmp_uint64 grainsize,
kmp_int32 modifier,
void * task_dup )

References d, data, KMP_EXPORT, and loc.

◆ __kmpc_test_lock()

◆ __kmpc_test_nest_lock()

◆ __kmpc_threadprivate()

◆ __kmpc_unset_lock()

◆ __kmpc_unset_nest_lock()

◆ copy_icvs()

◆ KMP_BUILD_ASSERT() [1/4]

KMP_BUILD_ASSERT ( alignof(kmp_task_team_t *[2]) = =alignof(kmp_task_team_list_t))

◆ KMP_BUILD_ASSERT() [2/4]

KMP_BUILD_ASSERT ( sizeof(kmp_sched_flags_t) = =4)

◆ KMP_BUILD_ASSERT() [3/4]

KMP_BUILD_ASSERT ( sizeof(kmp_task_team_t *[2]) = =sizeof(kmp_task_team_list_t))

◆ KMP_BUILD_ASSERT() [4/4]

KMP_BUILD_ASSERT ( sizeof(kmp_taskdata_t) % sizeof(void *) = =0)

◆ kmp_threadprivate_insert()

◆ kmp_threadprivate_insert_private_data()

◆ KMP_UBER_GTID()

◆ kmpc_aligned_malloc()

KMP_EXPORT void * kmpc_aligned_malloc ( size_t size,
size_t alignment )

Definition at line 1123 of file kmp_alloc.cpp.

References __kmp_entry_thread(), alignment, IS_POWER_OF_TWO, KMP_DEBUG_ASSERT, and size.

Referenced by FTN_ALIGNED_MALLOC().

◆ kmpc_calloc()

KMP_EXPORT void * kmpc_calloc ( size_t nelem,
size_t elsize )

Definition at line 1145 of file kmp_alloc.cpp.

References __kmp_entry_thread().

Referenced by FTN_CALLOC().

◆ KMPC_FOR_STATIC_INIT()

KMP_EXPORT void KMPC_FOR_STATIC_INIT ( ident_t * loc,
kmp_int32 global_tid,
kmp_int32 schedtype,
kmp_int32 * plastiter,
kmp_int * plower,
kmp_int * pupper,
kmp_int * pstride,
kmp_int incr,
kmp_int chunk )

References KMP_EXPORT, and loc.

◆ kmpc_free()

KMP_EXPORT void kmpc_free ( void * ptr)

Definition at line 1186 of file kmp_alloc.cpp.

References __kmp_get_thread, __kmp_init_serial, and KMP_ASSERT.

Referenced by FTN_KFREE().

◆ kmpc_get_affinity_mask_proc()

KMP_EXPORT int KMPC_CONVENTION kmpc_get_affinity_mask_proc ( int proc,
kmp_affinity_mask_t * mask )

◆ kmpc_malloc()

KMP_EXPORT void * kmpc_malloc ( size_t size)

Definition at line 1110 of file kmp_alloc.cpp.

References __kmp_entry_thread(), and size.

Referenced by FTN_MALLOC().

◆ kmpc_realloc()

KMP_EXPORT void * kmpc_realloc ( void * ptr,
size_t size )

Definition at line 1156 of file kmp_alloc.cpp.

References __kmp_entry_thread(), __kmp_get_thread, KMP_ASSERT, result, and size.

Referenced by FTN_REALLOC().

◆ kmpc_set_affinity_mask_proc()

KMP_EXPORT int KMPC_CONVENTION kmpc_set_affinity_mask_proc ( int proc,
kmp_affinity_mask_t * mask )

◆ kmpc_set_blocktime()

◆ kmpc_set_defaults()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_defaults ( char const * str)

Definition at line 2177 of file kmp_csupport.cpp.

References __kmp_aux_set_defaults(), and KMP_STRLEN.

◆ kmpc_set_disp_num_buffers()

◆ KMPC_SET_DYNAMIC()

void KMPC_SET_DYNAMIC ( int flag)
extern

References flag.

◆ kmpc_set_library()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_library ( int arg)

Definition at line 2172 of file kmp_csupport.cpp.

References __kmp_user_set_library().

◆ KMPC_SET_NESTED()

void KMPC_SET_NESTED ( int flag)
extern

References flag, KMP_EXPORT, loc, and task_entry().

◆ KMPC_SET_NUM_THREADS()

void KMPC_SET_NUM_THREADS ( int arg)
extern

◆ kmpc_set_stacksize()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize ( int arg)

Definition at line 2150 of file kmp_csupport.cpp.

References __kmp_aux_set_stacksize().

◆ kmpc_set_stacksize_s()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize_s ( size_t arg)

Definition at line 2155 of file kmp_csupport.cpp.

References __kmp_aux_set_stacksize().

◆ kmpc_unset_affinity_mask_proc()

KMP_EXPORT int KMPC_CONVENTION kmpc_unset_affinity_mask_proc ( int proc,
kmp_affinity_mask_t * mask )

◆ ompc_capture_affinity()

◆ ompc_display_affinity()

◆ ompc_get_affinity_format()

size_t KMP_EXPAND_NAME ompc_get_affinity_format ( char * buffer,
size_t size )

◆ ompc_get_ancestor_thread_num()

KMP_EXPORT int KMPC_CONVENTION ompc_get_ancestor_thread_num ( int level)

Definition at line 2078 of file kmp_csupport.cpp.

References __kmp_entry_gtid, __kmp_get_ancestor_thread_num(), and level.

◆ ompc_get_team_size()

KMP_EXPORT int KMPC_CONVENTION ompc_get_team_size ( int level)

Definition at line 2082 of file kmp_csupport.cpp.

References __kmp_entry_gtid, __kmp_get_team_size(), and level.

◆ ompc_set_affinity_format()

◆ ompc_set_dynamic()

void ompc_set_dynamic ( int flag)

◆ ompc_set_max_active_levels()

KMP_EXPORT void KMPC_CONVENTION ompc_set_max_active_levels ( int max_active_levels)

Definition at line 2065 of file kmp_csupport.cpp.

References __kmp_entry_gtid, and __kmp_set_max_active_levels().

◆ ompc_set_nested()

◆ ompc_set_num_threads()

void ompc_set_num_threads ( int arg)

Definition at line 2038 of file kmp_csupport.cpp.

References __kmp_entry_gtid, and __kmp_set_num_threads().

Referenced by __kmp_aux_env_initialize().

◆ ompc_set_schedule()

KMP_EXPORT void KMPC_CONVENTION ompc_set_schedule ( omp_sched_t kind,
int modifier )

Definition at line 2073 of file kmp_csupport.cpp.

References __kmp_entry_gtid, and __kmp_set_schedule().

Variable Documentation

◆ __kmp_abort_delay

int __kmp_abort_delay
extern

◆ __kmp_adjust_gtid_mode

int __kmp_adjust_gtid_mode
extern

◆ __kmp_affinity_format

◆ __kmp_affinity_num_places

int __kmp_affinity_num_places
extern

Definition at line 286 of file kmp_global.cpp.

◆ __kmp_align_alloc

size_t __kmp_align_alloc
extern

◆ __kmp_all_nth

◆ __kmp_allThreadsSpecified

int __kmp_allThreadsSpecified
extern

◆ __kmp_auto

enum sched_type __kmp_auto
extern

Definition at line 148 of file kmp_global.cpp.

Referenced by __kmp_dispatch_init_algorithm().

◆ __kmp_avail_proc

◆ __kmp_barrier_branch_bit_env_name

char const* __kmp_barrier_branch_bit_env_name[bs_last_barrier]
extern

◆ __kmp_barrier_gather_bb_dflt

kmp_uint32 __kmp_barrier_gather_bb_dflt
extern

◆ __kmp_barrier_gather_branch_bits

◆ __kmp_barrier_gather_pat_dflt

kmp_bar_pat_e __kmp_barrier_gather_pat_dflt
extern

Definition at line 85 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_barrier_gather_pattern

◆ __kmp_barrier_pattern_env_name

char const* __kmp_barrier_pattern_env_name[bs_last_barrier]
extern

◆ __kmp_barrier_pattern_name

char const* __kmp_barrier_pattern_name[bp_last_bar]
extern

◆ __kmp_barrier_release_bb_dflt

kmp_uint32 __kmp_barrier_release_bb_dflt
extern

◆ __kmp_barrier_release_branch_bits

◆ __kmp_barrier_release_pat_dflt

kmp_bar_pat_e __kmp_barrier_release_pat_dflt
extern

Definition at line 87 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_barrier_release_pattern

◆ __kmp_barrier_type_name

char const* __kmp_barrier_type_name[bs_last_barrier]
extern

Definition at line 108 of file kmp_global.cpp.

Referenced by __kmp_print_version_1().

◆ __kmp_blocktime_units

char __kmp_blocktime_units
extern

◆ __kmp_cg_max_nth

◆ __kmp_chunk

◆ __kmp_debug_buf

int __kmp_debug_buf
extern

◆ __kmp_debug_buf_atomic

int __kmp_debug_buf_atomic
extern

Definition at line 386 of file kmp_global.cpp.

◆ __kmp_debug_buf_chars

int __kmp_debug_buf_chars
extern

Definition at line 384 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_buf_lines

int __kmp_debug_buf_lines
extern

Definition at line 382 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
extern

Definition at line 392 of file kmp_global.cpp.

Referenced by __kmp_vprintf().

◆ __kmp_debug_buffer

char* __kmp_debug_buffer
extern

Definition at line 389 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_count

std::atomic<int> __kmp_debug_count
extern

Definition at line 390 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
extern

◆ __kmp_determ_red

int __kmp_determ_red
extern

◆ __kmp_dflt_blocktime

◆ __kmp_dflt_max_active_levels

◆ __kmp_dflt_max_active_levels_set

bool __kmp_dflt_max_active_levels_set
extern

◆ __kmp_dflt_team_nth

◆ __kmp_dflt_team_nth_ub

◆ __kmp_dispatch_num_buffers

◆ __kmp_display_affinity

◆ __kmp_display_env

◆ __kmp_display_env_verbose

◆ __kmp_duplicate_library_ok

int __kmp_duplicate_library_ok
extern

◆ __kmp_enable_hidden_helper

◆ __kmp_enable_task_throttling

int __kmp_enable_task_throttling
extern

◆ __kmp_env_blocktime

◆ __kmp_env_checks

int __kmp_env_checks
extern

Definition at line 419 of file kmp_global.cpp.

Referenced by __kmp_check_stack_overlap(), and __kmp_do_serial_initialize().

◆ __kmp_env_consistency_check

◆ __kmp_env_stksize

int __kmp_env_stksize
extern

◆ __kmp_exit_lock

◆ __kmp_force_monotonic

int __kmp_force_monotonic
extern

◆ __kmp_force_reduction_method

◆ __kmp_foreign_tp

◆ __kmp_forkjoin_lock

◆ __kmp_generate_warnings

◆ __kmp_global

◆ __kmp_global_lock

◆ __kmp_gtid_mode

◆ __kmp_gtid_threadprivate_key

kmp_key_t __kmp_gtid_threadprivate_key
extern

◆ __kmp_guided

◆ __kmp_hidden_helper_main_thread

kmp_info_t* __kmp_hidden_helper_main_thread
extern

◆ __kmp_hidden_helper_team_done

volatile int __kmp_hidden_helper_team_done
extern

◆ __kmp_hidden_helper_threads

kmp_info_t** __kmp_hidden_helper_threads
extern

◆ __kmp_hidden_helper_threads_num

◆ __kmp_hot_teams_max_level

◆ __kmp_hot_teams_mode

int __kmp_hot_teams_mode
extern

◆ __kmp_hwloc_available

bool __kmp_hwloc_available
extern

◆ __kmp_hws_abs_flag

int __kmp_hws_abs_flag
extern

◆ __kmp_hws_core

kmp_hws_item_t __kmp_hws_core
extern

◆ __kmp_hws_die

kmp_hws_item_t __kmp_hws_die
extern

◆ __kmp_hws_node

kmp_hws_item_t __kmp_hws_node
extern

◆ __kmp_hws_proc

kmp_hws_item_t __kmp_hws_proc
extern

◆ __kmp_hws_requested

int __kmp_hws_requested
extern

◆ __kmp_hws_socket

kmp_hws_item_t __kmp_hws_socket
extern

◆ __kmp_hws_tile

kmp_hws_item_t __kmp_hws_tile
extern

◆ __kmp_init_common

volatile int __kmp_init_common
extern

◆ __kmp_init_counter

int __kmp_init_counter
extern

Definition at line 62 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_init_gtid

◆ __kmp_init_hidden_helper

◆ __kmp_init_hidden_helper_threads

volatile int __kmp_init_hidden_helper_threads
extern

◆ __kmp_init_middle

◆ __kmp_init_parallel

◆ __kmp_init_serial

volatile int __kmp_init_serial
extern

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_devices_allocator(), __kmp_get_devices_memspace(), __kmp_get_global_thread_id_reg(), __kmp_get_max_active_levels(), __kmp_get_memspace_num_resources(), __kmp_get_schedule(), __kmp_get_submemspace(), __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_consistency_check(), __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
extern

◆ __kmp_initz_lock

◆ __kmp_library

◆ __kmp_malloc_pool_incr

size_t __kmp_malloc_pool_incr
extern

◆ __kmp_max_nth

◆ __kmp_max_task_priority

◆ __kmp_memkind_available

int __kmp_memkind_available
extern

◆ __kmp_monitor

kmp_info_t __kmp_monitor
extern

◆ __kmp_need_register_atfork

int __kmp_need_register_atfork
extern

Definition at line 413 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
extern

Definition at line 415 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
extern

◆ __kmp_nested_nth

◆ __kmp_nested_proc_bind

◆ __kmp_nesting_mode

◆ __kmp_nesting_mode_nlevels

int __kmp_nesting_mode_nlevels
extern

◆ __kmp_nesting_nth_level

int* __kmp_nesting_nth_level
extern

◆ __kmp_nteams

◆ __kmp_nth

◆ __kmp_old_threads_list

kmp_old_threads_list_t* __kmp_old_threads_list
extern

Definition at line 449 of file kmp_global.cpp.

Referenced by __kmp_cleanup(), and __kmp_expand_threads().

◆ __kmp_omp_cancellation

◆ __kmp_pause_init

kmp_uint64 __kmp_pause_init
extern

Definition at line 438 of file kmp_global.cpp.

◆ __kmp_pause_status

◆ __kmp_reserve_warn

int __kmp_reserve_warn
extern

◆ __kmp_root

◆ __kmp_root_counter

int __kmp_root_counter
extern

Definition at line 63 of file kmp_global.cpp.

Referenced by __kmp_register_root().

◆ __kmp_sch_map

enum sched_type __kmp_sch_map[]
extern

Definition at line 232 of file kmp_global.cpp.

Referenced by __kmp_set_schedule().

◆ __kmp_sched

◆ __kmp_settings

◆ __kmp_static

◆ __kmp_stkoffset

◆ __kmp_stkpadding

int __kmp_stkpadding
extern

◆ __kmp_stksize

◆ __kmp_storage_map

◆ __kmp_storage_map_verbose

int __kmp_storage_map_verbose
extern

◆ __kmp_storage_map_verbose_specified

int __kmp_storage_map_verbose_specified
extern

Definition at line 410 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().

◆ __kmp_sys_max_nth

◆ __kmp_sys_min_stksize

size_t __kmp_sys_min_stksize
extern

◆ __kmp_target_offload

◆ __kmp_task_counter

std::atomic<kmp_int32> __kmp_task_counter
extern

Definition at line 67 of file kmp_global.cpp.

◆ __kmp_task_max_nth

int __kmp_task_max_nth
extern

Definition at line 128 of file kmp_global.cpp.

Referenced by __kmp_get_global_icvs().

◆ __kmp_task_stealing_constraint

◆ __kmp_task_team_lock

◆ __kmp_tasking_mode

◆ __kmp_taskloop_min_tasks

kmp_uint64 __kmp_taskloop_min_tasks
extern

◆ __kmp_team_counter

std::atomic<kmp_int32> __kmp_team_counter
extern

Definition at line 66 of file kmp_global.cpp.

◆ __kmp_team_pool

volatile kmp_team_t* __kmp_team_pool
extern

◆ __kmp_teams_max_nth

◆ __kmp_teams_proc_bind

kmp_proc_bind_t __kmp_teams_proc_bind
extern

Definition at line 285 of file kmp_global.cpp.

Referenced by __kmp_fork_call().

◆ __kmp_teams_thread_limit

◆ __kmp_thread_pool

◆ __kmp_thread_pool_active_nth

std::atomic<int> __kmp_thread_pool_active_nth
extern

◆ __kmp_thread_pool_insert_pt

kmp_info_t* __kmp_thread_pool_insert_pt
extern

◆ __kmp_threadpriv_cache_list

◆ __kmp_threads

kmp_info_t** __kmp_threads
extern

Definition at line 447 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_num_threads_list(), __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_resume_template(), __kmp_serialized_parallel(), __kmp_set_max_active_levels(), __kmp_set_nesting_mode_threads(), __kmp_set_num_threads(), __kmp_set_schedule(), __kmp_set_strict_num_threads(), __kmp_steal_task(), __kmp_suspend_template(), __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(), __kmp_wait_64(), __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

◆ __kmp_tls_gtid_min

int __kmp_tls_gtid_min
extern

◆ __kmp_tp_cached

int __kmp_tp_cached
extern

◆ __kmp_tp_cached_lock

◆ __kmp_tp_capacity

◆ __kmp_unexecuted_hidden_helper_tasks

std::atomic<kmp_int32> __kmp_unexecuted_hidden_helper_tasks
extern

◆ __kmp_use_yield

kmp_int32 __kmp_use_yield
extern

◆ __kmp_use_yield_exp_set

kmp_int32 __kmp_use_yield_exp_set
extern

Definition at line 434 of file kmp_global.cpp.

Referenced by __kmp_aux_set_library(), and __kmp_stg_parse_use_yield().

◆ __kmp_version

◆ __kmp_wpolicy_passive

bool __kmp_wpolicy_passive
extern

◆ __kmp_xproc

◆ __kmp_yield_init

kmp_uint32 __kmp_yield_init
extern

Definition at line 436 of file kmp_global.cpp.

◆ __kmp_yield_next

kmp_uint32 __kmp_yield_next
extern

Definition at line 437 of file kmp_global.cpp.

◆ KMP_AFFINITY_FORMAT_SIZE

const size_t KMP_AFFINITY_FORMAT_SIZE = 512
static

◆ kmp_max_mem_alloc

omp_allocator_handle_t const kmp_max_mem_alloc
extern

Definition at line 321 of file kmp_global.cpp.

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

◆ kmp_max_mem_space

◆ llvm_omp_target_device_mem_alloc

omp_allocator_handle_t const llvm_omp_target_device_mem_alloc
extern

Definition at line 319 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
extern

Definition at line 340 of file kmp_global.cpp.

◆ llvm_omp_target_host_mem_alloc

omp_allocator_handle_t const llvm_omp_target_host_mem_alloc
extern

Definition at line 315 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
extern

Definition at line 336 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
extern

Definition at line 317 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
extern

Definition at line 338 of file kmp_global.cpp.

Referenced by __kmp_alloc().

◆ omp_cgroup_mem_alloc

omp_allocator_handle_t const omp_cgroup_mem_alloc
extern

◆ omp_const_mem_alloc

omp_allocator_handle_t const omp_const_mem_alloc
extern

◆ omp_const_mem_space

omp_memspace_handle_t const omp_const_mem_space
extern

Definition at line 330 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator().

◆ omp_default_mem_alloc

◆ omp_default_mem_space

omp_memspace_handle_t const omp_default_mem_space
extern

◆ omp_high_bw_mem_alloc

omp_allocator_handle_t const omp_high_bw_mem_alloc
extern

◆ omp_high_bw_mem_space

omp_memspace_handle_t const omp_high_bw_mem_space
extern

Definition at line 332 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
extern

◆ omp_large_cap_mem_space

omp_memspace_handle_t const omp_large_cap_mem_space
extern

Definition at line 328 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
extern

◆ omp_low_lat_mem_space

omp_memspace_handle_t const omp_low_lat_mem_space
extern

Definition at line 334 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator().

◆ omp_null_allocator

◆ omp_null_mem_space

◆ omp_pteam_mem_alloc

omp_allocator_handle_t const omp_pteam_mem_alloc
extern

◆ omp_thread_mem_alloc

omp_allocator_handle_t const omp_thread_mem_alloc
extern