LLVM OpenMP 19.0.0git
Classes | Macros | Typedefs | Enumerations | Functions | Variables
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_proc_bind_t
 
struct  kmp_hws_item
 
struct  omp_alloctrait_t
 
struct  kmp_allocator_t
 
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_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_nested_nthreads_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)   malloc(sz)
 
#define KMP_INTERNAL_FREE(p)   free(p)
 
#define KMP_INTERNAL_REALLOC(p, sz)   realloc((p), (sz))
 
#define KMP_INTERNAL_CALLOC(n, sz)   calloc((n), (sz))
 
#define KMP_HANDLE_SIGNALS   ((KMP_OS_UNIX && !KMP_OS_WASI) || KMP_OS_WINDOWS)
 
#define UNLIKELY(x)   (x)
 
#define USE_FAST_MEMORY   3
 
#define KMP_NESTED_HOT_TEAMS   0
 
#define USE_NESTED_HOT_ARG(x)
 
#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)    ((kmp_int64)((((kmp_uint64)(HIGH_32)) << 32) | (kmp_uint64)(LOW_32)))
 
#define SKIP_WS(_x)
 
#define SKIP_DIGITS(_x)
 
#define SKIP_TOKEN(_x)
 
#define SKIP_TO(_x, _c)
 
#define KMP_MAX(x, y)   ((x) > (y) ? (x) : (y))
 
#define KMP_MIN(x, y)   ((x) < (y) ? (x) : (y))
 
#define KMP_SCHED_TYPE_DEFINED
 
#define SCHEDULE_WITHOUT_MODIFIERS(s)
 
#define SCHEDULE_HAS_MONOTONIC(s)   (((s)&kmp_sch_modifier_monotonic) != 0)
 
#define SCHEDULE_HAS_NONMONOTONIC(s)   (((s)&kmp_sch_modifier_nonmonotonic) != 0)
 
#define SCHEDULE_HAS_NO_MODIFIERS(s)    (((s) & (kmp_sch_modifier_nonmonotonic | kmp_sch_modifier_monotonic)) == 0)
 
#define SCHEDULE_GET_MODIFIERS(s)
 
#define SCHEDULE_SET_MODIFIERS(s, m)    (s = (enum sched_type)((kmp_int32)s | (kmp_int32)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)    (reduction_method)
 
#define UNPACK_REDUCTION_METHOD(packed_reduction_method)    (packed_reduction_method)
 
#define UNPACK_REDUCTION_BARRIER(packed_reduction_method)   (bs_plain_barrier)
 
#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)    KMP_DEBUG_ASSERT(type >= (kmp_hw_t)0 && type < KMP_HW_LAST)
 
#define KMP_ASSERT_VALID_HW_TYPE(type)    KMP_ASSERT(type >= (kmp_hw_t)0 && type < KMP_HW_LAST)
 
#define KMP_FOREACH_HW_TYPE(type)
 
#define KMP_PAD(type, sz)    (sizeof(type) + (sz - ((sizeof(type) - 1) % (sz)) - 1))
 
#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)    (get__bt_set(team, tid) ? get__blocktime(team, tid) : __kmp_dflt_blocktime)
 
#define KMP_NOW()   __kmp_now_nsec()
 
#define KMP_BLOCKTIME_INTERVAL(team, tid)    ((kmp_uint64)KMP_BLOCKTIME(team, tid) * (kmp_uint64)KMP_NSEC_PER_USEC)
 
#define KMP_BLOCKING(goal, count)   ((count) % 1000 != 0 || (goal) > KMP_NOW())
 
#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)   (0 == (tid))
 
#define KMP_WORKER_TID(tid)   (0 != (tid))
 
#define KMP_MASTER_GTID(gtid)   (0 == __kmp_tid_from_gtid((gtid)))
 
#define KMP_WORKER_GTID(gtid)   (0 != __kmp_tid_from_gtid((gtid)))
 
#define KMP_INITIAL_GTID(gtid)   (0 == (gtid))
 
#define FALSE   0
 
#define TRUE   (!FALSE)
 
#define KMP_CPU_PAUSE()   /* nothing to do */
 
#define KMP_INIT_YIELD(count)    { (count) = __kmp_yield_init; }
 
#define KMP_INIT_BACKOFF(time)    { (time) = __kmp_pause_init; }
 
#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)   ((ct) == ct_pdo_ordered)
 
#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)    ((((kmp_uintptr_t)x) >> KMP_HASH_SHIFT) & (KMP_HASH_TABLE_SIZE - 1))
 
#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)    ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.blocktime)
 
#define get__bt_set(xteam, xtid)    ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.bt_set)
 
#define get__dynamic_2(xteam, xtid)    ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.dynamic)
 
#define get__nproc_2(xteam, xtid)    ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.nproc)
 
#define get__sched_2(xteam, xtid)    ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.sched)
 
#define set__blocktime_team(xteam, xtid, xval)
 
#define set__bt_set_team(xteam, xtid, xval)    (((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.bt_set) = (xval))
 
#define set__dynamic(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.dynamic) = (xval))
 
#define get__dynamic(xthread)    (((xthread)->th.th_current_task->td_icvs.dynamic) ? (FTN_TRUE) : (FTN_FALSE))
 
#define set__nproc(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.nproc) = (xval))
 
#define set__thread_limit(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.thread_limit) = (xval))
 
#define set__max_active_levels(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.max_active_levels) = (xval))
 
#define get__max_active_levels(xthread)    ((xthread)->th.th_current_task->td_icvs.max_active_levels)
 
#define set__sched(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.sched) = (xval))
 
#define set__proc_bind(xthread, xval)    (((xthread)->th.th_current_task->td_icvs.proc_bind) = (xval))
 
#define get__proc_bind(xthread)    ((xthread)->th.th_current_task->td_icvs.proc_bind)
 
#define KMP_TASK_TO_TASKDATA(task)   (((kmp_taskdata_t *)task) - 1)
 
#define KMP_TASKDATA_TO_TASK(taskdata)   (kmp_task_t *)(taskdata + 1)
 
#define KMP_TASKING_ENABLED(task_team)    (TRUE == TCR_SYNC_4((task_team)->tt.tt_found_tasks))
 
#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)   ((td).td_deque_size)
 
#define TASK_DEQUE_MASK(td)   ((td).td_deque_size - 1)
 
#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()   __kmp_get_global_thread_id()
 
#define __kmp_entry_gtid()   __kmp_get_global_thread_id_reg()
 
#define __kmp_get_tid()   (__kmp_tid_from_gtid(__kmp_get_gtid()))
 
#define __kmp_get_team()   (__kmp_threads[(__kmp_get_gtid())]->th.th_team)
 
#define __kmp_get_thread()   (__kmp_thread_from_gtid(__kmp_get_gtid()))
 
#define __kmp_get_team_num_threads(gtid)    (__kmp_threads[(gtid)]->th.th_team->t.t_nproc)
 
#define _KMP_GEN_ID(counter)   (~0)
 
#define KMP_GEN_TASK_ID()   _KMP_GEN_ID(__kmp_task_counter)
 
#define KMP_GEN_TEAM_ID()   _KMP_GEN_ID(__kmp_team_counter)
 
#define __kmp_allocate(size)   ___kmp_allocate((size)KMP_SRC_LOC_CURR)
 
#define __kmp_page_allocate(size)   ___kmp_page_allocate((size)KMP_SRC_LOC_CURR)
 
#define __kmp_free(ptr)   ___kmp_free((ptr)KMP_SRC_LOC_CURR)
 
#define __kmp_thread_malloc(th, size)    ___kmp_thread_malloc((th), (size)KMP_SRC_LOC_CURR)
 
#define __kmp_thread_calloc(th, nelem, elsize)    ___kmp_thread_calloc((th), (nelem), (elsize)KMP_SRC_LOC_CURR)
 
#define __kmp_thread_realloc(th, ptr, size)    ___kmp_thread_realloc((th), (ptr), (size)KMP_SRC_LOC_CURR)
 
#define __kmp_thread_free(th, ptr)    ___kmp_thread_free((th), (ptr)KMP_SRC_LOC_CURR)
 
#define __kmp_assign_root_init_mask()   /* Nothing */
 
#define KMPC_CONVENTION
 
#define KMP_DEVICE_DEFAULT   -1
 
#define KMP_DEVICE_ALL   -11
 
#define KMP_HIDDEN_HELPER_THREAD(gtid)    ((gtid) >= 1 && (gtid) <= __kmp_hidden_helper_threads_num)
 
#define KMP_HIDDEN_HELPER_WORKER_THREAD(gtid)    ((gtid) > 1 && (gtid) <= __kmp_hidden_helper_threads_num)
 
#define KMP_HIDDEN_HELPER_MAIN_THREAD(gtid)    ((gtid) == 1 && (gtid) <= __kmp_hidden_helper_threads_num)
 
#define KMP_HIDDEN_HELPER_TEAM(team)    (team->t.t_threads[0] == __kmp_hidden_helper_main_thread)
 
#define KMP_GTID_TO_SHADOW_GTID(gtid)    ((gtid) % (__kmp_hidden_helper_threads_num - 1) + 2)
 

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 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 omp_memspace_handle_t kmp_memspace_t
 
typedef struct kmp_allocator_t kmp_allocator_t
 
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_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 struct kmp_nested_nthreads_t kmp_nested_nthreads_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 , kmp_sched_static = 1 ,
  kmp_sched_dynamic = 2 , kmp_sched_guided = 3 , kmp_sched_auto = 4 , kmp_sched_default = kmp_sched_static
}
 
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
}
 
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_all = 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
}
 
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 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 ,
  KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 ,
  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 , 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 }
 
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 ()
 
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)
 
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_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.
 
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 USE_NESTED_HOT_ARG(kmp_info_t *thr))
 
void __kmp_free_thread (kmp_info_t *)
 
void __kmp_free_team (kmp_root_t *, kmp_team_t *USE_NESTED_HOT_ARG(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_wait_to_unref_task_teams (void)
 
void __kmp_task_team_setup (kmp_info_t *this_thr, kmp_team_t *team, int always)
 
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_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_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_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_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
 
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
 
kmp_queuing_lock_t __kmp_dispatch_lock
 
kmp_lock_t __kmp_debug_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
 
kmp_nested_nthreads_t __kmp_nested_nth
 
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)    ___kmp_allocate((size)KMP_SRC_LOC_CURR)

Definition at line 3746 of file kmp.h.

◆ __kmp_assign_root_init_mask

#define __kmp_assign_root_init_mask ( )    /* Nothing */

Definition at line 3940 of file kmp.h.

◆ __kmp_entry_gtid

#define __kmp_entry_gtid ( )    __kmp_get_global_thread_id_reg()

Definition at line 3593 of file kmp.h.

◆ __kmp_free

#define __kmp_free (   ptr)    ___kmp_free((ptr)KMP_SRC_LOC_CURR)

Definition at line 3748 of file kmp.h.

◆ __kmp_get_gtid

#define __kmp_get_gtid ( )    __kmp_get_global_thread_id()

Definition at line 3592 of file kmp.h.

◆ __kmp_get_team

#define __kmp_get_team ( )    (__kmp_threads[(__kmp_get_gtid())]->th.th_team)

Definition at line 3595 of file kmp.h.

◆ __kmp_get_team_num_threads

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

Definition at line 3601 of file kmp.h.

◆ __kmp_get_thread

#define __kmp_get_thread ( )    (__kmp_thread_from_gtid(__kmp_get_gtid()))

Definition at line 3596 of file kmp.h.

◆ __kmp_get_tid

#define __kmp_get_tid ( )    (__kmp_tid_from_gtid(__kmp_get_gtid()))

Definition at line 3594 of file kmp.h.

◆ __kmp_page_allocate

#define __kmp_page_allocate (   size)    ___kmp_page_allocate((size)KMP_SRC_LOC_CURR)

Definition at line 3747 of file kmp.h.

◆ __kmp_thread_calloc

#define __kmp_thread_calloc (   th,
  nelem,
  elsize 
)     ___kmp_thread_calloc((th), (nelem), (elsize)KMP_SRC_LOC_CURR)

Definition at line 3770 of file kmp.h.

◆ __kmp_thread_free

#define __kmp_thread_free (   th,
  ptr 
)     ___kmp_thread_free((th), (ptr)KMP_SRC_LOC_CURR)

Definition at line 3774 of file kmp.h.

◆ __kmp_thread_malloc

#define __kmp_thread_malloc (   th,
  size 
)     ___kmp_thread_malloc((th), (size)KMP_SRC_LOC_CURR)

Definition at line 3768 of file kmp.h.

◆ __kmp_thread_realloc

#define __kmp_thread_realloc (   th,
  ptr,
  size 
)     ___kmp_thread_realloc((th), (ptr), (size)KMP_SRC_LOC_CURR)

Definition at line 3772 of file kmp.h.

◆ _KMP_GEN_ID

#define _KMP_GEN_ID (   counter)    (~0)

Definition at line 3669 of file kmp.h.

◆ bs_reduction_barrier

#define bs_reduction_barrier   bs_plain_barrier

Definition at line 2143 of file kmp.h.

◆ FALSE

#define FALSE   0

Definition at line 1323 of file kmp.h.

◆ get__blocktime

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

Definition at line 2360 of file kmp.h.

◆ get__bt_set

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

Definition at line 2362 of file kmp.h.

◆ get__dynamic

#define get__dynamic (   xthread)     (((xthread)->th.th_current_task->td_icvs.dynamic) ? (FTN_TRUE) : (FTN_FALSE))

Definition at line 2391 of file kmp.h.

◆ get__dynamic_2

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

Definition at line 2369 of file kmp.h.

◆ get__max_active_levels

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

Definition at line 2403 of file kmp.h.

◆ get__nproc_2

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

Definition at line 2371 of file kmp.h.

◆ get__proc_bind

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

Definition at line 2411 of file kmp.h.

◆ get__sched_2

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

Definition at line 2373 of file kmp.h.

◆ INITIAL_TASK_DEQUE_SIZE

#define INITIAL_TASK_DEQUE_SIZE   (1 << TASK_DEQUE_BITS)

Definition at line 2817 of file kmp.h.

◆ IS_CONS_TYPE_ORDERED

#define IS_CONS_TYPE_ORDERED (   ct)    ((ct) == ct_pdo_ordered)

Definition at line 1677 of file kmp.h.

◆ KMP_ASSERT_VALID_HW_TYPE

#define KMP_ASSERT_VALID_HW_TYPE (   type)     KMP_ASSERT(type >= (kmp_hw_t)0 && type < KMP_HW_LAST)

Definition at line 651 of file kmp.h.

◆ KMP_BARRIER_BUMP_BIT

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

Definition at line 2094 of file kmp.h.

◆ KMP_BARRIER_ICV_PUSH

#define KMP_BARRIER_ICV_PUSH   1

Definition at line 2158 of file kmp.h.

◆ KMP_BARRIER_NOT_WAITING

#define KMP_BARRIER_NOT_WAITING   0

Definition at line 2108 of file kmp.h.

◆ KMP_BARRIER_OWN_FLAG

#define KMP_BARRIER_OWN_FLAG    1

Definition at line 2109 of file kmp.h.

◆ KMP_BARRIER_PARENT_FLAG

#define KMP_BARRIER_PARENT_FLAG    2

Definition at line 2111 of file kmp.h.

◆ KMP_BARRIER_SLEEP_BIT

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

Definition at line 2092 of file kmp.h.

◆ KMP_BARRIER_SLEEP_STATE

#define KMP_BARRIER_SLEEP_STATE   (1 << KMP_BARRIER_SLEEP_BIT)

Definition at line 2096 of file kmp.h.

◆ KMP_BARRIER_STATE_BUMP

#define KMP_BARRIER_STATE_BUMP   (1 << KMP_BARRIER_BUMP_BIT)

Definition at line 2098 of file kmp.h.

◆ KMP_BARRIER_SWITCH_TO_OWN_FLAG

#define KMP_BARRIER_SWITCH_TO_OWN_FLAG    3

Definition at line 2113 of file kmp.h.

◆ KMP_BARRIER_SWITCHING

#define KMP_BARRIER_SWITCHING    4

Definition at line 2115 of file kmp.h.

◆ KMP_BARRIER_UNUSED_BIT

#define KMP_BARRIER_UNUSED_BIT   1

Definition at line 2093 of file kmp.h.

◆ KMP_BARRIER_UNUSED_STATE

#define KMP_BARRIER_UNUSED_STATE   (1 << KMP_BARRIER_UNUSED_BIT)

Definition at line 2097 of file kmp.h.

◆ KMP_BLOCKING

#define KMP_BLOCKING (   goal,
  count 
)    ((count) % 1000 != 0 || (goal) > KMP_NOW())

Definition at line 1274 of file kmp.h.

◆ KMP_BLOCKTIME

#define KMP_BLOCKTIME (   team,
  tid 
)     (get__bt_set(team, tid) ? get__blocktime(team, tid) : __kmp_dflt_blocktime)

Definition at line 1254 of file kmp.h.

◆ KMP_BLOCKTIME_INTERVAL

#define KMP_BLOCKTIME_INTERVAL (   team,
  tid 
)     ((kmp_uint64)KMP_BLOCKTIME(team, tid) * (kmp_uint64)KMP_NSEC_PER_USEC)

Definition at line 1272 of file kmp.h.

◆ KMP_BLOCKTIME_MULTIPLIER

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

Definition at line 1225 of file kmp.h.

◆ KMP_CANCEL_THREADS

#define KMP_CANCEL_THREADS

Definition at line 57 of file kmp.h.

◆ KMP_CHECK_UPDATE

#define KMP_CHECK_UPDATE (   a,
  b 
)
Value:
if ((a) != (b)) \
(a) = (b)
int a

Definition at line 2353 of file kmp.h.

◆ KMP_CHECK_UPDATE_SYNC

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

Definition at line 2356 of file kmp.h.

◆ KMP_CPU_PAUSE

#define KMP_CPU_PAUSE ( )    /* nothing to do */

Definition at line 1564 of file kmp.h.

◆ KMP_DEBUG_ASSERT_VALID_HW_TYPE

#define KMP_DEBUG_ASSERT_VALID_HW_TYPE (   type)     KMP_DEBUG_ASSERT(type >= (kmp_hw_t)0 && type < KMP_HW_LAST)

Definition at line 649 of file kmp.h.

◆ KMP_DEBUG_BUF_CHARS_INIT

#define KMP_DEBUG_BUF_CHARS_INIT   128

Definition at line 3300 of file kmp.h.

◆ KMP_DEBUG_BUF_CHARS_MIN

#define KMP_DEBUG_BUF_CHARS_MIN   2

Definition at line 3301 of file kmp.h.

◆ KMP_DEBUG_BUF_LINES_INIT

#define KMP_DEBUG_BUF_LINES_INIT   512

Definition at line 3297 of file kmp.h.

◆ KMP_DEBUG_BUF_LINES_MIN

#define KMP_DEBUG_BUF_LINES_MIN   1

Definition at line 3298 of file kmp.h.

◆ KMP_DEFAULT_BLOCKTIME

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

Definition at line 1232 of file kmp.h.

◆ KMP_DEFAULT_CHUNK

#define KMP_DEFAULT_CHUNK   1

Definition at line 1288 of file kmp.h.

◆ KMP_DEFAULT_INTERVAL

#define KMP_DEFAULT_INTERVAL   0

Definition at line 1284 of file kmp.h.

◆ KMP_DEFAULT_MALLOC_POOL_INCR

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

Definition at line 1209 of file kmp.h.

◆ KMP_DEFAULT_STATSCOLS

#define KMP_DEFAULT_STATSCOLS   80

Definition at line 1280 of file kmp.h.

◆ KMP_DEFAULT_STKOFFSET

#define KMP_DEFAULT_STKOFFSET   CACHE_LINE

Definition at line 1219 of file kmp.h.

◆ KMP_DEFAULT_STKSIZE

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

Definition at line 1206 of file kmp.h.

◆ KMP_DEP_ALL

#define KMP_DEP_ALL   0x80

Definition at line 2501 of file kmp.h.

◆ KMP_DEP_IN

#define KMP_DEP_IN   0x1

Definition at line 2496 of file kmp.h.

◆ KMP_DEP_INOUT

#define KMP_DEP_INOUT   0x3

Definition at line 2498 of file kmp.h.

◆ KMP_DEP_MTX

#define KMP_DEP_MTX   0x4

Definition at line 2499 of file kmp.h.

◆ KMP_DEP_OUT

#define KMP_DEP_OUT   0x2

Definition at line 2497 of file kmp.h.

◆ KMP_DEP_SET

#define KMP_DEP_SET   0x8

Definition at line 2500 of file kmp.h.

◆ KMP_DEVICE_ALL

#define KMP_DEVICE_ALL   -11

Definition at line 4501 of file kmp.h.

◆ KMP_DEVICE_DEFAULT

#define KMP_DEVICE_DEFAULT   -1

Definition at line 4500 of file kmp.h.

◆ KMP_DFLT_DISP_NUM_BUFF

#define KMP_DFLT_DISP_NUM_BUFF   7

Definition at line 1291 of file kmp.h.

◆ KMP_FAST_REDUCTION_BARRIER

#define KMP_FAST_REDUCTION_BARRIER   1

Definition at line 538 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 type
kmp_hw_t
Definition: kmp.h:619
@ KMP_HW_LAST
Definition: kmp.h:633

Definition at line 654 of file kmp.h.

◆ KMP_GEN_TASK_ID

#define KMP_GEN_TASK_ID ( )    _KMP_GEN_ID(__kmp_task_counter)

Definition at line 3672 of file kmp.h.

◆ KMP_GEN_TEAM_ID

#define KMP_GEN_TEAM_ID ( )    _KMP_GEN_ID(__kmp_team_counter)

Definition at line 3673 of file kmp.h.

◆ KMP_GTID_DNE

#define KMP_GTID_DNE   (-2) /* Does not exist */

Definition at line 1027 of file kmp.h.

◆ KMP_GTID_MIN

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

Definition at line 1031 of file kmp.h.

◆ KMP_GTID_MONITOR

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

Definition at line 1029 of file kmp.h.

◆ KMP_GTID_SHUTDOWN

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

Definition at line 1028 of file kmp.h.

◆ KMP_GTID_TO_SHADOW_GTID

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

Definition at line 4572 of file kmp.h.

◆ KMP_GTID_UNKNOWN

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

Definition at line 1030 of file kmp.h.

◆ KMP_HANDLE_SIGNALS

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

Definition at line 136 of file kmp.h.

◆ KMP_HASH

#define KMP_HASH (   x)     ((((kmp_uintptr_t)x) >> KMP_HASH_SHIFT) & (KMP_HASH_TABLE_SIZE - 1))

Definition at line 1852 of file kmp.h.

◆ KMP_HASH_SHIFT

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

Definition at line 1851 of file kmp.h.

◆ KMP_HASH_TABLE_LOG2

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

Definition at line 1848 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 1849 of file kmp.h.

◆ KMP_HIDDEN_HELPER_MAIN_THREAD

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

Definition at line 4564 of file kmp.h.

◆ KMP_HIDDEN_HELPER_TEAM

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

Definition at line 4567 of file kmp.h.

◆ KMP_HIDDEN_HELPER_THREAD

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

Definition at line 4558 of file kmp.h.

◆ KMP_HIDDEN_HELPER_WORKER_THREAD

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

Definition at line 4561 of file kmp.h.

◆ KMP_HW_MAX_NUM_CORE_EFFS

#define KMP_HW_MAX_NUM_CORE_EFFS   8

Definition at line 647 of file kmp.h.

◆ KMP_INIT_BACKOFF

#define KMP_INIT_BACKOFF (   time)     { (time) = __kmp_pause_init; }

Definition at line 1570 of file kmp.h.

◆ KMP_INIT_BARRIER_STATE

#define KMP_INIT_BARRIER_STATE   0 /* should probably start from zero */

Definition at line 2091 of file kmp.h.

◆ KMP_INIT_YIELD

#define KMP_INIT_YIELD (   count)     { (count) = __kmp_yield_init; }

Definition at line 1567 of file kmp.h.

◆ KMP_INITIAL_GTID

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

Definition at line 1320 of file kmp.h.

◆ KMP_INLINE_ARGV_BYTES

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

Definition at line 3107 of file kmp.h.

◆ KMP_INLINE_ARGV_ENTRIES

#define KMP_INLINE_ARGV_ENTRIES   (int)(KMP_INLINE_ARGV_BYTES / KMP_PTR_SKIP)

Definition at line 3110 of file kmp.h.

◆ KMP_INTERNAL_CALLOC

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

Definition at line 125 of file kmp.h.

◆ KMP_INTERNAL_FREE

#define KMP_INTERNAL_FREE (   p)    free(p)

Definition at line 123 of file kmp.h.

◆ KMP_INTERNAL_MALLOC

#define KMP_INTERNAL_MALLOC (   sz)    malloc(sz)

Definition at line 122 of file kmp.h.

◆ KMP_INTERNAL_REALLOC

#define KMP_INTERNAL_REALLOC (   p,
  sz 
)    realloc((p), (sz))

Definition at line 124 of file kmp.h.

◆ KMP_MASTER_GTID

#define KMP_MASTER_GTID (   gtid)    (0 == __kmp_tid_from_gtid((gtid)))

Definition at line 1318 of file kmp.h.

◆ KMP_MASTER_TID

#define KMP_MASTER_TID (   tid)    (0 == (tid))

Definition at line 1315 of file kmp.h.

◆ KMP_MAX

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

Definition at line 319 of file kmp.h.

◆ KMP_MAX_ACTIVE_LEVELS_LIMIT

#define KMP_MAX_ACTIVE_LEVELS_LIMIT   INT_MAX

Definition at line 1300 of file kmp.h.

◆ KMP_MAX_BLOCKTIME

#define KMP_MAX_BLOCKTIME    (INT_MAX) /* Must be this for "infinite" setting the work */

Definition at line 1228 of file kmp.h.

◆ KMP_MAX_BRANCH_BITS

#define KMP_MAX_BRANCH_BITS   31

Definition at line 1298 of file kmp.h.

◆ KMP_MAX_CHUNK

#define KMP_MAX_CHUNK   (INT_MAX - 1)

Definition at line 1287 of file kmp.h.

◆ KMP_MAX_DEFAULT_DEVICE_LIMIT

#define KMP_MAX_DEFAULT_DEVICE_LIMIT   INT_MAX

Definition at line 1302 of file kmp.h.

◆ KMP_MAX_DISP_NUM_BUFF

#define KMP_MAX_DISP_NUM_BUFF   4096

Definition at line 1292 of file kmp.h.

◆ KMP_MAX_FIELDS

#define KMP_MAX_FIELDS   32

Definition at line 1296 of file kmp.h.

◆ KMP_MAX_INTERVAL

#define KMP_MAX_INTERVAL   (INT_MAX - 1)

Definition at line 1283 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 1211 of file kmp.h.

◆ KMP_MAX_NTH

#define KMP_MAX_NTH   INT_MAX

Definition at line 1176 of file kmp.h.

◆ KMP_MAX_ORDERED

#define KMP_MAX_ORDERED   8

Definition at line 1294 of file kmp.h.

◆ KMP_MAX_STATSCOLS

#define KMP_MAX_STATSCOLS   4096

Definition at line 1279 of file kmp.h.

◆ KMP_MAX_STKOFFSET

#define KMP_MAX_STKOFFSET   KMP_MAX_STKSIZE

Definition at line 1215 of file kmp.h.

◆ KMP_MAX_STKPADDING

#define KMP_MAX_STKPADDING   (2 * 1024 * 1024)

Definition at line 1223 of file kmp.h.

◆ KMP_MAX_STKSIZE

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

Definition at line 1190 of file kmp.h.

◆ KMP_MAX_TASK_PRIORITY_LIMIT

#define KMP_MAX_TASK_PRIORITY_LIMIT   INT_MAX

Definition at line 1304 of file kmp.h.

◆ KMP_MIN

#define KMP_MIN (   x,
 
)    ((x) < (y) ? (x) : (y))

Definition at line 320 of file kmp.h.

◆ KMP_MIN_BLOCKTIME

#define KMP_MIN_BLOCKTIME   (0)

Definition at line 1227 of file kmp.h.

◆ KMP_MIN_CHUNK

#define KMP_MIN_CHUNK   1

Definition at line 1286 of file kmp.h.

◆ KMP_MIN_DISP_NUM_BUFF

#define KMP_MIN_DISP_NUM_BUFF   1

Definition at line 1290 of file kmp.h.

◆ KMP_MIN_INTERVAL

#define KMP_MIN_INTERVAL   0

Definition at line 1282 of file kmp.h.

◆ KMP_MIN_MALLOC_ARGV_ENTRIES

#define KMP_MIN_MALLOC_ARGV_ENTRIES   100

Definition at line 3094 of file kmp.h.

◆ KMP_MIN_MALLOC_POOL_INCR

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

Definition at line 1210 of file kmp.h.

◆ KMP_MIN_NTH

#define KMP_MIN_NTH   1

Definition at line 1164 of file kmp.h.

◆ KMP_MIN_STATSCOLS

#define KMP_MIN_STATSCOLS   40

Definition at line 1278 of file kmp.h.

◆ KMP_MIN_STKOFFSET

#define KMP_MIN_STKOFFSET   (0)

Definition at line 1214 of file kmp.h.

◆ KMP_MIN_STKPADDING

#define KMP_MIN_STKPADDING   (0)

Definition at line 1222 of file kmp.h.

◆ KMP_MIN_STKSIZE

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

Definition at line 1184 of file kmp.h.

◆ KMP_NESTED_HOT_TEAMS

#define KMP_NESTED_HOT_TEAMS   0

Definition at line 173 of file kmp.h.

◆ KMP_NOT_SAFE_TO_REAP

#define KMP_NOT_SAFE_TO_REAP    0

Definition at line 2118 of file kmp.h.

◆ KMP_NOW

#define KMP_NOW ( )    __kmp_now_nsec()

Definition at line 1271 of file kmp.h.

◆ KMP_NSEC_PER_SEC

#define KMP_NSEC_PER_SEC   1000000000L

Definition at line 193 of file kmp.h.

◆ KMP_NSEC_PER_USEC

#define KMP_NSEC_PER_USEC   1000L

Definition at line 195 of file kmp.h.

◆ KMP_OVERSUBSCRIBED

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

Definition at line 1573 of file kmp.h.

◆ KMP_PACK_64

#define KMP_PACK_64 (   HIGH_32,
  LOW_32 
)     ((kmp_int64)((((kmp_uint64)(HIGH_32)) << 32) | (kmp_uint64)(LOW_32)))

Definition at line 291 of file kmp.h.

◆ KMP_PAD

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

Definition at line 1022 of file kmp.h.

◆ KMP_SAFE_TO_REAP

#define KMP_SAFE_TO_REAP   1

Definition at line 2120 of file kmp.h.

◆ KMP_SCHED_TYPE_DEFINED

#define KMP_SCHED_TYPE_DEFINED

Definition at line 346 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

#define KMP_TASK_TO_TASKDATA (   task)    (((kmp_taskdata_t *)task) - 1)

Definition at line 2436 of file kmp.h.

◆ KMP_TASKDATA_TO_TASK

#define KMP_TASKDATA_TO_TASK (   taskdata)    (kmp_task_t *)(taskdata + 1)

Definition at line 2437 of file kmp.h.

◆ KMP_TASKING_ENABLED

#define KMP_TASKING_ENABLED (   task_team)     (TRUE == TCR_SYNC_4((task_team)->tt.tt_found_tasks))

Definition at line 2441 of file kmp.h.

◆ KMP_THREAD_ATTR

#define KMP_THREAD_ATTR

Definition at line 58 of file kmp.h.

◆ KMP_TLS_GTID_MIN

#define KMP_TLS_GTID_MIN   INT_MAX

Definition at line 1312 of file kmp.h.

◆ KMP_TRY_YIELD

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

Definition at line 1576 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 1579 of file kmp.h.

◆ KMP_UINT64_MAX

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

Definition at line 1161 of file kmp.h.

◆ KMP_USEC_PER_SEC

#define KMP_USEC_PER_SEC   1000000L

Definition at line 194 of file kmp.h.

◆ 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
Definition: kmp_platform.h:106
#define KMP_ARCH_X86
Definition: kmp_platform.h:105

Definition at line 30 of file kmp.h.

◆ KMP_WORKER_GTID

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

Definition at line 1319 of file kmp.h.

◆ KMP_WORKER_TID

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

Definition at line 1316 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:1576

Definition at line 1582 of file kmp.h.

◆ KMP_YIELD_OVERSUB

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

Definition at line 1589 of file kmp.h.

◆ 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(); \
} \
} \
}
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
kmp_int32 __kmp_use_yield
Definition: kmp_global.cpp:433
kmp_uint32 __kmp_yield_next
Definition: kmp_global.cpp:440

Definition at line 1640 of file kmp.h.

◆ 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 1598 of file kmp.h.

◆ KMPC_CONVENTION

#define KMPC_CONVENTION

Definition at line 4454 of file kmp.h.

◆ MAX_MTX_DEPS

#define MAX_MTX_DEPS   4

Definition at line 2537 of file kmp.h.

◆ omp_atv_default

#define omp_atv_default   ((omp_uintptr_t)-1)

Definition at line 1071 of file kmp.h.

◆ PACK_REDUCTION_METHOD_AND_BARRIER

#define PACK_REDUCTION_METHOD_AND_BARRIER (   reduction_method,
  barrier_type 
)     (reduction_method)

Definition at line 575 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:370
@ kmp_sch_modifier_monotonic
Set if the monotonic schedule modifier was present.
Definition: kmp.h:458
@ kmp_sch_modifier_nonmonotonic
Set if the nonmonotonic schedule modifier was present.
Definition: kmp.h:460
void const char const char int ITT_FORMAT __itt_group_sync s

Definition at line 470 of file kmp.h.

◆ SCHEDULE_HAS_MONOTONIC

#define SCHEDULE_HAS_MONOTONIC (   s)    (((s)&kmp_sch_modifier_monotonic) != 0)

Definition at line 466 of file kmp.h.

◆ SCHEDULE_HAS_NO_MODIFIERS

#define SCHEDULE_HAS_NO_MODIFIERS (   s)     (((s) & (kmp_sch_modifier_nonmonotonic | kmp_sch_modifier_monotonic)) == 0)

Definition at line 468 of file kmp.h.

◆ SCHEDULE_HAS_NONMONOTONIC

#define SCHEDULE_HAS_NONMONOTONIC (   s)    (((s)&kmp_sch_modifier_nonmonotonic) != 0)

Definition at line 467 of file kmp.h.

◆ SCHEDULE_MONOTONIC

#define SCHEDULE_MONOTONIC   1

Definition at line 476 of file kmp.h.

◆ SCHEDULE_NONMONOTONIC

#define SCHEDULE_NONMONOTONIC   0

Definition at line 475 of file kmp.h.

◆ SCHEDULE_SET_MODIFIERS

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

Definition at line 473 of file kmp.h.

◆ SCHEDULE_WITHOUT_MODIFIERS

#define SCHEDULE_WITHOUT_MODIFIERS (   s)
Value:

Definition at line 463 of file kmp.h.

◆ 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 2376 of file kmp.h.

◆ set__bt_set_team

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

Definition at line 2386 of file kmp.h.

◆ set__dynamic

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

Definition at line 2389 of file kmp.h.

◆ set__max_active_levels

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

Definition at line 2400 of file kmp.h.

◆ set__nproc

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

Definition at line 2394 of file kmp.h.

◆ set__proc_bind

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

Definition at line 2409 of file kmp.h.

◆ set__sched

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

Definition at line 2406 of file kmp.h.

◆ set__thread_limit

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

Definition at line 2397 of file kmp.h.

◆ SKIP_DIGITS

#define SKIP_DIGITS (   _x)
Value:
{ \
while (*(_x) >= '0' && *(_x) <= '9') \
(_x)++; \
}

Definition at line 300 of file kmp.h.

◆ SKIP_TO

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

Definition at line 311 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 305 of file kmp.h.

◆ SKIP_WS

#define SKIP_WS (   _x)
Value:
{ \
while (*(_x) == ' ' || *(_x) == '\t') \
(_x)++; \
}

Definition at line 295 of file kmp.h.

◆ TASK_CURRENT_NOT_QUEUED

#define TASK_CURRENT_NOT_QUEUED   0

Definition at line 34 of file kmp.h.

◆ 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 2816 of file kmp.h.

◆ TASK_DEQUE_MASK

#define TASK_DEQUE_MASK (   td)    ((td).td_deque_size - 1)

Definition at line 2820 of file kmp.h.

◆ TASK_DEQUE_SIZE

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

Definition at line 2819 of file kmp.h.

◆ TASK_DETACHABLE

#define TASK_DETACHABLE   1

Definition at line 54 of file kmp.h.

◆ TASK_EXPLICIT

#define TASK_EXPLICIT   1

Definition at line 50 of file kmp.h.

◆ TASK_FULL

#define TASK_FULL   0

Definition at line 53 of file kmp.h.

◆ TASK_IMPLICIT

#define TASK_IMPLICIT   0

Definition at line 51 of file kmp.h.

◆ TASK_NOT_PUSHED

#define TASK_NOT_PUSHED   1

Definition at line 46 of file kmp.h.

◆ TASK_PROXY

#define TASK_PROXY   1

Definition at line 52 of file kmp.h.

◆ TASK_SUCCESSFULLY_PUSHED

#define TASK_SUCCESSFULLY_PUSHED   0

Definition at line 47 of file kmp.h.

◆ TASK_TIED

#define TASK_TIED   1

Definition at line 48 of file kmp.h.

◆ TASK_UNDETACHABLE

#define TASK_UNDETACHABLE   0

Definition at line 55 of file kmp.h.

◆ TASK_UNTIED

#define TASK_UNTIED   0

Definition at line 49 of file kmp.h.

◆ 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:578

Definition at line 584 of file kmp.h.

◆ TRUE

#define TRUE   (!FALSE)

Definition at line 1324 of file kmp.h.

◆ UNLIKELY

#define UNLIKELY (   x)    (x)

Definition at line 159 of file kmp.h.

◆ UNPACK_REDUCTION_BARRIER

#define UNPACK_REDUCTION_BARRIER (   packed_reduction_method)    (bs_plain_barrier)

Definition at line 581 of file kmp.h.

◆ UNPACK_REDUCTION_METHOD

#define UNPACK_REDUCTION_METHOD (   packed_reduction_method)     (packed_reduction_method)

Definition at line 578 of file kmp.h.

◆ USE_CMP_XCHG_FOR_BGET

#define USE_CMP_XCHG_FOR_BGET   1

Definition at line 185 of file kmp.h.

◆ USE_FAST_MEMORY

#define USE_FAST_MEMORY   3

Definition at line 169 of file kmp.h.

◆ USE_NESTED_HOT_ARG

#define USE_NESTED_HOT_ARG (   x)

Definition at line 174 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 4464 of file kmp.h.

◆ kmp_allocator_t

◆ kmp_balign_t

Definition at line 2229 of file kmp.h.

◆ kmp_balign_team_t

Definition at line 2248 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

Definition at line 1732 of file kmp.h.

◆ kmp_depend_info_t

◆ kmp_dephash_entry_t

Definition at line 2493 of file kmp.h.

◆ kmp_dephash_t

typedef struct kmp_dephash kmp_dephash_t

◆ kmp_depnode_list_t

Definition at line 2492 of file kmp.h.

◆ kmp_depnode_t

typedef union kmp_depnode kmp_depnode_t

Definition at line 2491 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_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 275 of file kmp.h.

◆ kmp_info_t

◆ kmp_internal_control_t

◆ kmp_local_t

typedef struct kmp_local kmp_local_t

◆ kmp_memspace_t

Definition at line 1109 of file kmp.h.

◆ kmp_nested_nthreads_t

◆ kmp_nested_proc_bind_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 276 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 4494 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_t

Definition at line 273 of file kmp.h.

◆ kmp_taskdata_t

typedef struct kmp_taskdata kmp_taskdata_t

Definition at line 272 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 274 of file kmp.h.

◆ kmp_team_t

typedef union kmp_team kmp_team_t

Definition at line 271 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 1744 of file kmp.h.

◆ launch_t

typedef int(* launch_t) (int gtid)

Definition at line 3091 of file kmp.h.

◆ omp_allocator_handle_t

Definition at line 1088 of file kmp.h.

◆ omp_memspace_handle_t

Definition at line 1073 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 1037 of file kmp.h.

◆ PACKED_REDUCTION_METHOD_T

Definition at line 596 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 545 of file kmp.h.

◆ barrier_type

Enumerator
bs_plain_barrier 
bs_forkjoin_barrier 
bs_last_barrier 

Definition at line 2131 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 1661 of file kmp.h.

◆ dynamic_mode

Enumerator
dynamic_default 
dynamic_random 
dynamic_thread_limit 
dynamic_max 

Definition at line 333 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 2123 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 4046 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 2146 of file kmp.h.

◆ kmp_cancel_kind_t

Enumerator
cancel_noreq 
cancel_parallel 
cancel_loop 
cancel_sections 
cancel_taskgroup 

Definition at line 997 of file kmp.h.

◆ kmp_event_type_t

Enumerator
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 
KMP_EVENT_UNINITIALIZED 
KMP_EVENT_ALLOW_COMPLETION 

Definition at line 2587 of file kmp.h.

◆ kmp_hw_core_type_t

Enumerator
KMP_HW_CORE_TYPE_UNKNOWN 
KMP_HW_MAX_NUM_CORE_TYPES 

Definition at line 636 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 619 of file kmp.h.

◆ kmp_pause_status_t

Enumerator
kmp_not_paused 
kmp_soft_paused 
kmp_hard_paused 

Definition at line 4507 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 958 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 
kmp_sched_static 
kmp_sched_dynamic 
kmp_sched_guided 
kmp_sched_auto 
kmp_sched_default 

Definition at line 347 of file kmp.h.

◆ kmp_severity_t

Enumerator
severity_warning 
severity_fatal 

Definition at line 4588 of file kmp.h.

◆ kmp_state_timer

Enumerator
ts_stop 
ts_start 
ts_pause 
ts_last_state 

Definition at line 325 of file kmp.h.

◆ kmp_target_offload_kind

Enumerator
tgt_disabled 
tgt_default 
tgt_mandatory 
tgt_disabled 
tgt_default 
tgt_mandatory 

Definition at line 4489 of file kmp.h.

◆ kmp_tasking_mode

Enumerator
tskm_immediate_exec 
tskm_extra_barrier 
tskm_task_teams 
tskm_max 

Definition at line 2416 of file kmp.h.

◆ library_type

Enumerator
library_none 
library_serial 
library_turnaround 
library_throughput 

Definition at line 517 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 

Definition at line 1039 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_all 
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 

Definition at line 1050 of file kmp.h.

◆ omp_sched_t

Enumerator
omp_sched_static 
omp_sched_dynamic 
omp_sched_guided 
omp_sched_auto 

Definition at line 4458 of file kmp.h.

Function Documentation

◆ ___kmp_allocate()

void * ___kmp_allocate ( size_t size  KMP_SRC_LOC_DECL)

◆ ___kmp_free()

void ___kmp_free ( void *ptr  KMP_SRC_LOC_DECL)

◆ ___kmp_page_allocate()

void * ___kmp_page_allocate ( size_t size  KMP_SRC_LOC_DECL)

Definition at line 2010 of file kmp_alloc.cpp.

References ___kmp_allocate_align(), KE_TRACE, 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 
)

Definition at line 1194 of file kmp_alloc.cpp.

References KE_TRACE, and KMP_SRC_LOC_PARM.

◆ ___kmp_thread_free()

void ___kmp_thread_free ( kmp_info_t th,
void *ptr  KMP_SRC_LOC_DECL 
)

Definition at line 1213 of file kmp_alloc.cpp.

References KE_TRACE, and KMP_SRC_LOC_PARM.

◆ ___kmp_thread_malloc()

void * ___kmp_thread_malloc ( kmp_info_t th,
size_t size  KMP_SRC_LOC_DECL 
)

Definition at line 1185 of file kmp_alloc.cpp.

References KE_TRACE, 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 
)

Definition at line 1204 of file kmp_alloc.cpp.

References KE_TRACE, KMP_SRC_LOC_PARM, and size.

◆ ___kmpc_free()

void ___kmpc_free ( int  gtid,
void ptr,
omp_allocator_handle_t  al 
)

◆ __kmp_abort()

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

◆ __kmp_abort_process()

KMP_NORETURN void __kmp_abort_process ( void  )

◆ __kmp_abort_thread()

void __kmp_abort_thread ( void  )

◆ __kmp_adjust_gtid_for_hidden_helpers()

static int __kmp_adjust_gtid_for_hidden_helpers ( int  gtid)
inlinestatic

Definition at line 4578 of file kmp.h.

References __kmp_hidden_helper_threads_num.

◆ __kmp_adjust_num_threads()

void __kmp_adjust_num_threads ( int  new_nproc)

◆ __kmp_alloc()

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

◆ __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   USE_NESTED_HOT_ARGkmp_info_t *thr 
)

◆ __kmp_allocate_thread()

kmp_info_t * __kmp_allocate_thread ( kmp_root_t root,
kmp_team_t team,
int  tid 
)

◆ __kmp_assert_valid_gtid()

static void __kmp_assert_valid_gtid ( kmp_int32  gtid)
inlinestatic

◆ __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()

template<bool C, bool S>
void __kmp_atomic_resume_64 ( int  target_gtid,
kmp_atomic_flag_64< C, S > *  flag 
)

◆ __kmp_atomic_suspend_64()

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

◆ __kmp_aux_capture_affinity()

size_t __kmp_aux_capture_affinity ( int  gtid,
const char format,
kmp_str_buf_t buffer 
)

◆ __kmp_aux_convert_blocktime()

static void __kmp_aux_convert_blocktime ( int bt)
inlinestatic

Definition at line 3461 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 
)

◆ __kmp_aux_get_num_teams()

int __kmp_aux_get_num_teams ( )

Definition at line 8510 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 ( )

Definition at line 8497 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()

void __kmp_aux_set_blocktime ( int  arg,
kmp_info_t thread,
int  tid 
)

◆ __kmp_aux_set_defaults()

void __kmp_aux_set_defaults ( char const *  str,
size_t  len 
)

◆ __kmp_aux_set_library()

void __kmp_aux_set_library ( enum library_type  arg)

◆ __kmp_aux_set_stacksize()

void __kmp_aux_set_stacksize ( size_t  arg)

◆ __kmp_barrier()

int __kmp_barrier ( enum barrier_type  bt,
int  gtid,
int  is_split,
size_t  reduce_size,
void reduce_data,
void(*)(void *, void *)  reduce 
)

◆ __kmp_barrier_gomp_cancel()

int __kmp_barrier_gomp_cancel ( int  gtid)

◆ __kmp_calloc()

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

◆ __kmp_check_stack_overlap()

void __kmp_check_stack_overlap ( kmp_info_t thr)

◆ __kmp_check_stksize()

void __kmp_check_stksize ( size_t *  val)

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()

void __kmp_cleanup ( void  )

◆ __kmp_cleanup_hierarchy()

void __kmp_cleanup_hierarchy ( )

Definition at line 39 of file kmp_affinity.cpp.

References hierarchy_info::fini(), and machine_hierarchy.

Referenced by __kmp_cleanup().

◆ __kmp_cleanup_threadprivate_caches()

void __kmp_cleanup_threadprivate_caches ( )

◆ __kmp_clear_system_time()

void __kmp_clear_system_time ( void  )

◆ __kmp_common_destroy()

void __kmp_common_destroy ( void  )

◆ __kmp_common_destroy_gtid()

void __kmp_common_destroy_gtid ( int  gtid)

◆ __kmp_common_initialize()

void __kmp_common_initialize ( void  )

◆ __kmp_create_worker()

void __kmp_create_worker ( int  gtid,
kmp_info_t th,
size_t  stack_size 
)

◆ __kmp_detect_shm()

bool __kmp_detect_shm ( )

Definition at line 3002 of file z_Linux_util.cpp.

Referenced by __kmp_register_library_startup().

◆ __kmp_detect_tmp()

bool __kmp_detect_tmp ( )

Definition at line 3014 of file z_Linux_util.cpp.

Referenced by __kmp_register_library_startup().

◆ __kmp_determine_reduction_method()

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(*)(void *lhs_data, void *rhs_data)  reduce_func,
kmp_critical_name lck 
)

◆ __kmp_disable()

void __kmp_disable ( int old_state)

Definition at line 1267 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 ( )

Definition at line 2969 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_hidden_helper_initialize().

◆ __kmp_elapsed()

void __kmp_elapsed ( double t)

◆ __kmp_elapsed_tick()

void __kmp_elapsed_tick ( double t)

Definition at line 2058 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)

◆ __kmp_end_split_barrier()

void __kmp_end_split_barrier ( enum barrier_type  bt,
int  gtid 
)

◆ __kmp_enter_single()

int __kmp_enter_single ( int  gtid,
ident_t id_ref,
int  push_ws 
)

◆ __kmp_entry_thread()

static kmp_info_t * __kmp_entry_thread ( )
inlinestatic

◆ __kmp_eq_4()

kmp_uint32 __kmp_eq_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 3017 of file kmp_dispatch.cpp.

References checker, 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)

Definition at line 737 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)

Definition at line 1041 of file z_Linux_util.cpp.

◆ __kmp_expand_file_name()

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

◆ __kmp_expand_host_name()

void __kmp_expand_host_name ( char buffer,
size_t  size 
)

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)

Referenced by __kmp_reap_thread().

◆ __kmp_fini_memkind()

void __kmp_fini_memkind ( )

◆ __kmp_finish_implicit_task()

void __kmp_finish_implicit_task ( kmp_info_t this_thr)

◆ __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 
)

Definition at line 1867 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_free, __kmp_gtid_from_thread(), __kmp_init_parallel, __kmp_init_serial, __kmp_internal_fork(), __kmp_is_entering_teams(), __kmp_is_fork_in_teams(), __kmp_library, __kmp_nested_nth, __kmp_nested_proc_bind, __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_tasking_mode, __kmp_teams_master(), __kmp_teams_proc_bind, __kmp_threads, __ompt_get_task_info_internal(), kmp_nested_proc_bind_t::bind_types, bp_dist_bar, bs_forkjoin_barrier, cancel_noreq, copy_icvs(), ompt_callbacks_active_s::enabled, fork_context_gnu, get__nproc_2, get__sched_2, i, if(), 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_GET_THREAD_STATE, KMP_MAX_STKPADDING, KMP_MB, KMP_SET_THREAD_STATE, KMP_TIME_DEVELOPER_PARTITIONED_BLOCK, kmp_va_deref, level, library_serial, loc, new_size, 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, tskm_immediate_exec, USE_NESTED_HOT_ARG, kmp_nested_proc_bind_t::used, 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)

Definition at line 1421 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()

void __kmp_free_task_team ( kmp_info_t thread,
kmp_task_team_t task_team 
)

◆ __kmp_free_team()

void __kmp_free_team ( kmp_root_t ,
kmp_team_t USE_NESTED_HOT_ARGkmp_info_t * 
)

◆ __kmp_free_thread()

void __kmp_free_thread ( kmp_info_t this_th)

◆ __kmp_fulfill_event()

void __kmp_fulfill_event ( kmp_event_t event)

◆ __kmp_ge_4()

kmp_uint32 __kmp_ge_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 3029 of file kmp_dispatch.cpp.

References checker, and value.

◆ __kmp_get_ancestor_thread_num()

int __kmp_get_ancestor_thread_num ( int  gtid,
int  level 
)

◆ __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_global_thread_id()

int __kmp_get_global_thread_id ( void  )

◆ __kmp_get_global_thread_id_reg()

int __kmp_get_global_thread_id_reg ( void  )

◆ __kmp_get_hierarchy()

void __kmp_get_hierarchy ( kmp_uint32  nproc,
kmp_bstate_t thr_bar 
)

◆ __kmp_get_max_active_levels()

int __kmp_get_max_active_levels ( int  gtid)

Definition at line 2902 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 2922 of file kmp_runtime.cpp.

References __kmp_nteams.

Referenced by FTN_GET_MAX_TEAMS().

◆ __kmp_get_random()

unsigned short __kmp_get_random ( kmp_info_t thread)

Definition at line 3638 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 9015 of file kmp_runtime.cpp.

References __kmp_entry_thread().

◆ __kmp_get_schedule()

void __kmp_get_schedule ( int  gtid,
kmp_sched_t sched,
int chunk 
)

◆ __kmp_get_schedule_global()

kmp_r_sched_t __kmp_get_schedule_global ( void  )

◆ __kmp_get_team_size()

int __kmp_get_team_size ( int  gtid,
int  level 
)

◆ __kmp_get_teams_thread_limit()

KMP_EXPORT int __kmp_get_teams_thread_limit ( void  )

Definition at line 2928 of file kmp_runtime.cpp.

References __kmp_teams_thread_limit.

Referenced by FTN_GET_TEAMS_THREAD_LIMIT().

◆ __kmp_gtid_from_thread()

static int __kmp_gtid_from_thread ( const kmp_info_t thr)
inlinestatic

◆ __kmp_gtid_from_tid()

static int __kmp_gtid_from_tid ( int  tid,
const kmp_team_t team 
)
inlinestatic

◆ __kmp_gtid_get_specific()

int __kmp_gtid_get_specific ( void  )

◆ __kmp_gtid_set_specific()

void __kmp_gtid_set_specific ( int  gtid)

◆ __kmp_hardware_timestamp()

kmp_uint64 __kmp_hardware_timestamp ( void  )

Definition at line 1534 of file z_Windows_NT_util.cpp.

References r.

◆ __kmp_hidden_helper_initialize()

void __kmp_hidden_helper_initialize ( )

◆ __kmp_hidden_helper_initz_release()

void __kmp_hidden_helper_initz_release ( )

Definition at line 2977 of file z_Linux_util.cpp.

References KMP_ASSERT.

◆ __kmp_hidden_helper_main_thread_release()

void __kmp_hidden_helper_main_thread_release ( )

Definition at line 2985 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 ( )

Definition at line 2981 of file z_Linux_util.cpp.

References KMP_ASSERT.

◆ __kmp_hidden_helper_threads_deinitz_release()

void __kmp_hidden_helper_threads_deinitz_release ( )

Definition at line 2997 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 ( )

Definition at line 2993 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()

void __kmp_hidden_helper_threads_initz_routine ( )

◆ __kmp_hidden_helper_threads_initz_wait()

void __kmp_hidden_helper_threads_initz_wait ( )

Definition at line 2973 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 ( )

Definition at line 2989 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 ( )

Definition at line 2965 of file z_Linux_util.cpp.

References KMP_ASSERT.

Referenced by __kmp_wait_template().

◆ __kmp_hw_get_catalog_string()

const char * __kmp_hw_get_catalog_string ( kmp_hw_t  type,
bool  plural = false 
)

◆ __kmp_hw_get_core_type_string()

const char * __kmp_hw_get_core_type_string ( kmp_hw_core_type_t  type)

◆ __kmp_hw_get_keyword()

const char * __kmp_hw_get_keyword ( kmp_hw_t  type,
bool  plural = false 
)

◆ __kmp_ignore_mppbeg()

int __kmp_ignore_mppbeg ( void  )

Definition at line 8326 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  )

Definition at line 8337 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  )

Definition at line 349 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()

void __kmp_init_implicit_task ( ident_t loc_ref,
kmp_info_t this_thr,
kmp_team_t team,
int  tid,
int  set_curr_task 
)

◆ __kmp_init_memkind()

void __kmp_init_memkind ( )

◆ __kmp_init_nesting_mode()

void __kmp_init_nesting_mode ( )

◆ __kmp_init_random()

void __kmp_init_random ( kmp_info_t thread)

Definition at line 3651 of file kmp_runtime.cpp.

References __kmp_primes, and KA_TRACE.

Referenced by __kmp_allocate_thread(), and __kmp_register_root().

◆ __kmp_init_target_mem()

void __kmp_init_target_mem ( )

◆ __kmp_initialize_bget()

void __kmp_initialize_bget ( kmp_info_t th)

◆ __kmp_internal_begin()

void __kmp_internal_begin ( void  )

◆ __kmp_internal_end_atexit()

void __kmp_internal_end_atexit ( void  )

◆ __kmp_internal_end_dest()

void __kmp_internal_end_dest ( void specific_gtid)

Definition at line 6110 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  )

◆ __kmp_internal_end_library()

void __kmp_internal_end_library ( int  gtid)

◆ __kmp_internal_end_thread()

void __kmp_internal_end_thread ( int  gtid)

◆ __kmp_internal_fork()

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

◆ __kmp_internal_join()

void __kmp_internal_join ( ident_t id,
int  gtid,
kmp_team_t team 
)

◆ __kmp_invoke_microtask()

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

◆ __kmp_invoke_task_func()

int __kmp_invoke_task_func ( int  gtid)

◆ __kmp_invoke_teams_master()

int __kmp_invoke_teams_master ( int  gtid)

◆ __kmp_is_address_mapped()

int __kmp_is_address_mapped ( void addr)

◆ __kmp_is_hybrid_cpu()

static bool __kmp_is_hybrid_cpu ( )
inlinestatic

Definition at line 3342 of file kmp.h.

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

◆ __kmp_join_call()

void __kmp_join_call ( ident_t loc,
int  gtid,
int  exit_teams = 0 
)

◆ __kmp_launch_thread()

void * __kmp_launch_thread ( kmp_info_t thr)

◆ __kmp_le_4()

kmp_uint32 __kmp_le_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 3033 of file kmp_dispatch.cpp.

References checker, and value.

◆ __kmp_lock_suspend_mx()

void __kmp_lock_suspend_mx ( kmp_info_t th)

◆ __kmp_lt_4()

kmp_uint32 __kmp_lt_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 3025 of file kmp_dispatch.cpp.

References checker, and value.

◆ __kmp_middle_initialize()

void __kmp_middle_initialize ( void  )

◆ __kmp_neq_4()

kmp_uint32 __kmp_neq_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 3021 of file kmp_dispatch.cpp.

References checker, and value.

◆ __kmp_now_nsec()

kmp_uint64 __kmp_now_nsec ( )

Definition at line 2061 of file z_Linux_util.cpp.

References KMP_NSEC_PER_SEC.

◆ __kmp_omp_display_env()

void __kmp_omp_display_env ( int  verbose)

◆ __kmp_omp_task()

kmp_int32 __kmp_omp_task ( kmp_int32  gtid,
kmp_task_t new_task,
bool  serialize_immediate 
)

◆ __kmp_parallel_deo()

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

◆ __kmp_parallel_dxo()

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

◆ __kmp_parallel_initialize()

void __kmp_parallel_initialize ( void  )

◆ __kmp_pause_resource()

int __kmp_pause_resource ( kmp_pause_status_t  level)

◆ __kmp_pop_current_task_from_thread()

void __kmp_pop_current_task_from_thread ( kmp_info_t this_thr)

Definition at line 612 of file kmp_tasking.cpp.

References KF_TRACE.

Referenced by __kmp_join_call(), and __kmpc_end_serialized_parallel().

◆ __kmp_print_storage_map_gtid()

void __kmp_print_storage_map_gtid ( int  gtid,
void p1,
void p2,
size_t  size,
char const *  format,
  ... 
)

◆ __kmp_push_current_task_to_thread()

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

◆ __kmp_push_num_teams()

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

◆ __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 
)

◆ __kmp_push_num_threads()

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

Definition at line 7839 of file kmp_runtime.cpp.

References __kmp_threads.

Referenced by __kmp_GOMP_fork_call(), and __kmpc_push_num_threads().

◆ __kmp_push_proc_bind()

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

Definition at line 8002 of file kmp_runtime.cpp.

References __kmp_threads.

Referenced by __kmp_GOMP_fork_call(), and __kmpc_push_proc_bind().

◆ __kmp_read_cpu_time()

double __kmp_read_cpu_time ( void  )

Definition at line 1817 of file z_Linux_util.cpp.

References double, KMP_NSEC_PER_SEC, and status.

◆ __kmp_read_system_info()

int __kmp_read_system_info ( struct kmp_sys_info info)

◆ __kmp_read_system_time()

void __kmp_read_system_time ( double delta)

◆ __kmp_realloc()

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

◆ __kmp_reap_task_teams()

void __kmp_reap_task_teams ( void  )

◆ __kmp_reap_team()

kmp_team_t * __kmp_reap_team ( kmp_team_t team)

◆ __kmp_reap_worker()

void __kmp_reap_worker ( kmp_info_t th)

◆ __kmp_register_root()

int __kmp_register_root ( int  initial_thread)

Definition at line 3791 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, ompt_callbacks_active_s::enabled, 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, kmp_cg_root::up, and USE_NESTED_HOT_ARG.

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)

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()

static void __kmp_reset_root_init_mask ( int  gtid)
inlinestatic

◆ __kmp_resume_32()

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

◆ __kmp_resume_64()

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

◆ __kmp_resume_if_hard_paused()

static void __kmp_resume_if_hard_paused ( )
inlinestatic

Definition at line 4522 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()

void __kmp_resume_if_soft_paused ( )

◆ __kmp_resume_oncore()

void __kmp_resume_oncore ( int  target_gtid,
kmp_flag_oncore flag 
)

Definition at line 1746 of file z_Linux_util.cpp.

References __kmp_resume_template(), and flag.

Referenced by __kmp_null_resume_wrapper(), and kmp_flag_oncore::resume().

◆ __kmp_run_after_invoked_task()

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

◆ __kmp_run_before_invoked_task()

void __kmp_run_before_invoked_task ( int  gtid,
int  tid,
kmp_info_t this_thr,
kmp_team_t team 
)

◆ __kmp_runtime_destroy()

void __kmp_runtime_destroy ( void  )

◆ __kmp_runtime_initialize()

void __kmp_runtime_initialize ( void  )

◆ __kmp_save_internal_controls()

void __kmp_save_internal_controls ( kmp_info_t thread)

◆ __kmp_sched_apply_mods_intkind()

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

Definition at line 492 of file kmp.h.

References int, kmp_sch_modifier_monotonic, and kmp_sched_monotonic.

Referenced by __kmp_set_schedule().

◆ __kmp_sched_apply_mods_stdkind()

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

Definition at line 483 of file kmp.h.

References int, kmp_sched_monotonic, and SCHEDULE_HAS_MONOTONIC.

Referenced by __kmp_get_schedule().

◆ __kmp_sched_without_mods()

static kmp_sched_t __kmp_sched_without_mods ( kmp_sched_t  kind)
inlinestatic

Definition at line 501 of file kmp.h.

References int, and kmp_sched_monotonic.

Referenced by __kmp_set_schedule().

◆ __kmp_serial_initialize()

void __kmp_serial_initialize ( void  )

◆ __kmp_serialized_parallel()

void __kmp_serialized_parallel ( ident_t id,
kmp_int32  gtid 
)

◆ __kmp_set_max_active_levels()

void __kmp_set_max_active_levels ( int  gtid,
int  new_max_active_levels 
)

◆ __kmp_set_nesting_mode_threads()

void __kmp_set_nesting_mode_threads ( )

◆ __kmp_set_num_teams()

KMP_EXPORT void __kmp_set_num_teams ( int  num_teams)

Definition at line 2918 of file kmp_runtime.cpp.

References __kmp_nteams.

Referenced by FTN_SET_NUM_TEAMS().

◆ __kmp_set_num_threads()

void __kmp_set_num_threads ( int  new_nth,
int  gtid 
)

◆ __kmp_set_schedule()

void __kmp_set_schedule ( int  gtid,
kmp_sched_t  new_sched,
int  chunk 
)

◆ __kmp_set_teams_thread_limit()

KMP_EXPORT void __kmp_set_teams_thread_limit ( int  limit)

Definition at line 2924 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 
)

Definition at line 1629 of file z_Linux_util.cpp.

References __kmp_suspend_template(), and flag.

Referenced by kmp_flag_32< Cancellable, Sleepable >::suspend().

◆ __kmp_suspend_64()

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

Definition at line 1633 of file z_Linux_util.cpp.

References __kmp_suspend_template(), and flag.

Referenced by kmp_flag_64< Cancellable, Sleepable >::suspend().

◆ __kmp_suspend_initialize()

void __kmp_suspend_initialize ( void  )

◆ __kmp_suspend_initialize_thread()

void __kmp_suspend_initialize_thread ( kmp_info_t th)

◆ __kmp_suspend_oncore()

void __kmp_suspend_oncore ( int  th_gtid,
kmp_flag_oncore flag 
)

Definition at line 1640 of file z_Linux_util.cpp.

References __kmp_suspend_template(), and flag.

Referenced by kmp_flag_oncore::suspend().

◆ __kmp_suspend_uninitialize_thread()

void __kmp_suspend_uninitialize_thread ( kmp_info_t th)

◆ __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 
)

Definition at line 1453 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, ompt_callbacks_active_s::enabled, 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()

void __kmp_task_team_setup ( kmp_info_t this_thr,
kmp_team_t team,
int  always 
)

◆ __kmp_task_team_sync()

void __kmp_task_team_sync ( kmp_info_t this_thr,
kmp_team_t team 
)

◆ __kmp_task_team_wait()

void __kmp_task_team_wait ( kmp_info_t this_thr,
kmp_team_t team,
int  wait = 1 
)

◆ __kmp_tasking_barrier()

void __kmp_tasking_barrier ( kmp_team_t team,
kmp_info_t thread,
int  gtid 
)

◆ __kmp_team_from_gtid()

static kmp_team_t * __kmp_team_from_gtid ( int  gtid)
inlinestatic

◆ __kmp_teams_master()

void __kmp_teams_master ( int  gtid)

◆ __kmp_terminate_thread()

void __kmp_terminate_thread ( int  gtid)

◆ __kmp_thread_from_gtid()

static kmp_info_t * __kmp_thread_from_gtid ( int  gtid)
inlinestatic

◆ __kmp_thread_sleep()

void __kmp_thread_sleep ( int  millis)

Definition at line 2035 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()

void __kmp_threadprivate_resize_cache ( int  newCapacity)

◆ __kmp_tid_from_gtid()

static int __kmp_tid_from_gtid ( int  gtid)
inlinestatic

◆ __kmp_try_suspend_mx()

int __kmp_try_suspend_mx ( kmp_info_t th)

Definition at line 1453 of file z_Linux_util.cpp.

References __kmp_win32_mutex_trylock().

Referenced by __kmp_resume_if_soft_paused().

◆ __kmp_type_convert()

template<typename T1 , typename T2 >
static void __kmp_type_convert ( T1  src,
T2 *  dest 
)
inlinestatic

◆ __kmp_unlock_suspend_mx()

void __kmp_unlock_suspend_mx ( kmp_info_t th)

◆ __kmp_unregister_library()

void __kmp_unregister_library ( void  )

◆ __kmp_unregister_root()

void __kmp_unregister_root ( int  gtid)

◆ __kmp_user_set_library()

void __kmp_user_set_library ( enum library_type  arg)

◆ __kmp_wait_4()

kmp_uint32 __kmp_wait_4 ( kmp_uint32 volatile *  spinner,
kmp_uint32  checker,
kmp_uint32(*)(kmp_uint32, kmp_uint32 pred,
void obj 
)

◆ __kmp_wait_4_ptr()

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

◆ __kmp_wait_64()

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

◆ __kmp_wait_to_unref_task_teams()

void __kmp_wait_to_unref_task_teams ( void  )

◆ __kmp_warn()

void __kmp_warn ( char const *  format,
  ... 
)

◆ __kmp_yield()

void __kmp_yield ( )

Definition at line 1786 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 
)

Definition at line 1510 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 
)

Definition at line 1503 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 
)

Definition at line 1519 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 
)

Referenced by __kmpc_critical().

◆ __kmpc_destroy_allocator()

void __kmpc_destroy_allocator ( int  gtid,
omp_allocator_handle_t  al 
)

Definition at line 1478 of file kmp_alloc.cpp.

References __kmp_free, and kmp_max_mem_alloc.

Referenced by FTN_DESTROY_ALLOCATOR().

◆ __kmpc_destroy_lock()

KMP_EXPORT void __kmpc_destroy_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_destroy_nest_lock()

KMP_EXPORT void __kmpc_destroy_nest_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_dispatch_fini_4()

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

Mark the end of a dynamic loop.

Definition at line 2988 of file kmp_dispatch.cpp.

References loc.

◆ __kmpc_dispatch_fini_4u()

void __kmpc_dispatch_fini_4u ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4.

Definition at line 3002 of file kmp_dispatch.cpp.

References loc.

◆ __kmpc_dispatch_fini_8()

void __kmpc_dispatch_fini_8 ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4.

Definition at line 2995 of file kmp_dispatch.cpp.

References loc.

◆ __kmpc_dispatch_fini_8u()

void __kmpc_dispatch_fini_8u ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4.

Definition at line 3009 of file kmp_dispatch.cpp.

References 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 
)

See __kmpc_dispatch_init_4.

Definition at line 2813 of file kmp_dispatch.cpp.

References __kmp_init_serial, KMP_DEBUG_ASSERT, and loc.

◆ __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 
)

See __kmpc_dispatch_init_4.

Definition at line 2826 of file kmp_dispatch.cpp.

References __kmp_init_serial, KMP_DEBUG_ASSERT, and loc.

◆ __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 
)

See __kmpc_dispatch_init_4.

Definition at line 2839 of file kmp_dispatch.cpp.

References __kmp_init_serial, KMP_DEBUG_ASSERT, and loc.

◆ __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 
)
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 2919 of file kmp_dispatch.cpp.

References 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 
)

See __kmpc_dispatch_next_4.

Definition at line 2935 of file kmp_dispatch.cpp.

References 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 
)

See __kmpc_dispatch_next_4.

Definition at line 2952 of file kmp_dispatch.cpp.

References 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 
)

See __kmpc_dispatch_next_4.

Definition at line 2968 of file kmp_dispatch.cpp.

References loc.

◆ __kmpc_doacross_fini()

KMP_EXPORT void __kmpc_doacross_fini ( ident_t loc,
kmp_int32  gtid 
)

◆ __kmpc_doacross_init()

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

◆ __kmpc_doacross_post()

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

◆ __kmpc_doacross_wait()

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

◆ __kmpc_end_scope()

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

◆ __kmpc_end_taskgroup()

KMP_EXPORT void __kmpc_end_taskgroup ( ident_t loc,
int  gtid 
)

◆ __kmpc_error()

void __kmpc_error ( ident_t loc,
int  severity,
const char message 
)

◆ __kmpc_free()

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

Definition at line 1538 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)

Definition at line 1489 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 ( )

◆ __kmpc_get_taskid()

KMP_EXPORT kmp_uint64 __kmpc_get_taskid ( )

Definition at line 4049 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[] 
)

◆ __kmpc_init_lock()

KMP_EXPORT void __kmpc_init_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_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 
)

◆ __kmpc_init_nest_lock()

KMP_EXPORT void __kmpc_init_nest_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_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 
)

◆ __kmpc_invoke_task_func()

KMP_EXPORT int __kmpc_invoke_task_func ( int  gtid)

Definition at line 545 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 
)

◆ __kmpc_omp_task()

KMP_EXPORT kmp_int32 __kmpc_omp_task ( ident_t loc_ref,
kmp_int32  gtid,
kmp_task_t new_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 1288 of file kmp_tasking.cpp.

References ompt_callbacks_active_s::enabled, ompt_enabled, and UNLIKELY.

◆ __kmpc_omp_task_parts()

KMP_EXPORT kmp_int32 __kmpc_omp_task_parts ( ident_t loc_ref,
kmp_int32  gtid,
kmp_task_t new_task 
)

◆ __kmpc_omp_taskwait()

KMP_EXPORT kmp_int32 __kmpc_omp_taskwait ( ident_t loc_ref,
kmp_int32  gtid 
)

Definition at line 2339 of file kmp_tasking.cpp.

References ompt_callbacks_active_s::enabled, ompt_enabled, OMPT_GET_FRAME_ADDRESS, and UNLIKELY.

Referenced by main().

◆ __kmpc_omp_taskwait_deps_51()

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 
)

◆ __kmpc_omp_taskyield()

KMP_EXPORT kmp_int32 __kmpc_omp_taskyield ( ident_t loc_ref,
kmp_int32  gtid,
int  end_part 
)

◆ __kmpc_pause_resource()

int __kmpc_pause_resource ( kmp_pause_status_t  level)

Definition at line 4470 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 240 of file kmp_csupport.cpp.

References KA_TRACE.

◆ __kmpc_push_proc_bind()

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

◆ __kmpc_realloc()

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

Definition at line 1528 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 
)

Definition at line 1483 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()

KMP_EXPORT void __kmpc_set_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_set_nest_lock()

KMP_EXPORT void __kmpc_set_nest_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_task_allow_completion_event()

kmp_event_t * __kmpc_task_allow_completion_event ( ident_t loc_ref,
int  gtid,
kmp_task_t task 
)

◆ __kmpc_task_get_depnode()

KMP_EXPORT kmp_base_depnode_t * __kmpc_task_get_depnode ( kmp_task_t task)

Definition at line 287 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()

KMP_EXPORT void __kmpc_taskgroup ( ident_t loc,
int  gtid 
)

◆ __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 
)

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 
)

◆ __kmpc_test_lock()

KMP_EXPORT int __kmpc_test_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_test_nest_lock()

KMP_EXPORT int __kmpc_test_nest_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_threadprivate()

KMP_EXPORT void * __kmpc_threadprivate ( ident_t loc,
kmp_int32  global_tid,
void data,
size_t  size 
)

◆ __kmpc_unset_lock()

KMP_EXPORT void __kmpc_unset_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ __kmpc_unset_nest_lock()

KMP_EXPORT void __kmpc_unset_nest_lock ( ident_t loc,
kmp_int32  gtid,
void **  user_lock 
)

◆ copy_icvs()

static void copy_icvs ( kmp_internal_control_t dst,
kmp_internal_control_t src 
)
inlinestatic

◆ KMP_BUILD_ASSERT() [1/2]

KMP_BUILD_ASSERT ( sizeof(kmp_sched_flags_t = =4)

◆ KMP_BUILD_ASSERT() [2/2]

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

◆ kmp_threadprivate_insert()

struct private_common * kmp_threadprivate_insert ( int  gtid,
void pc_addr,
void data_addr,
size_t  pc_size 
)

◆ kmp_threadprivate_insert_private_data()

void kmp_threadprivate_insert_private_data ( int  gtid,
void pc_addr,
void data_addr,
size_t  pc_size 
)

◆ KMP_UBER_GTID()

static bool KMP_UBER_GTID ( int  gtid)
inlinestatic

◆ kmpc_aligned_malloc()

KMP_EXPORT void * kmpc_aligned_malloc ( size_t  size,
size_t  alignment 
)

Definition at line 1109 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 1131 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 
)

◆ kmpc_free()

KMP_EXPORT void kmpc_free ( void ptr)

Definition at line 1172 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 1096 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 1142 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()

void kmpc_set_blocktime ( int  arg)

◆ kmpc_set_defaults()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_defaults ( char const *  str)

Definition at line 2122 of file kmp_csupport.cpp.

References __kmp_aux_set_defaults(), and KMP_STRLEN.

◆ kmpc_set_disp_num_buffers()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_disp_num_buffers ( int  arg)

◆ KMPC_SET_DYNAMIC()

void KMPC_SET_DYNAMIC ( int  flag)

◆ kmpc_set_library()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_library ( int  arg)

Definition at line 2117 of file kmp_csupport.cpp.

References __kmp_user_set_library().

◆ KMPC_SET_NESTED()

void KMPC_SET_NESTED ( int  flag)

◆ KMPC_SET_NUM_THREADS()

void KMPC_SET_NUM_THREADS ( int  arg)

◆ kmpc_set_stacksize()

KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize ( int  arg)

Definition at line 2095 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 2100 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()

size_t KMP_EXPAND_NAME() ompc_capture_affinity ( char buffer,
size_t  buf_size,
char const *  format 
)

◆ ompc_display_affinity()

void KMP_EXPAND_NAME() ompc_display_affinity ( char const *  format)

◆ 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 2023 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 2027 of file kmp_csupport.cpp.

References __kmp_entry_gtid, __kmp_get_team_size(), and level.

◆ ompc_set_affinity_format()

void KMP_EXPAND_NAME() ompc_set_affinity_format ( char const *  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 2010 of file kmp_csupport.cpp.

References __kmp_entry_gtid, and __kmp_set_max_active_levels().

◆ ompc_set_nested()

void ompc_set_nested ( int  flag)

◆ ompc_set_num_threads()

void ompc_set_num_threads ( int  arg)

Definition at line 1983 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 2018 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

char* __kmp_affinity_format
extern

◆ __kmp_affinity_num_places

int __kmp_affinity_num_places
extern

Definition at line 293 of file kmp_global.cpp.

◆ __kmp_align_alloc

size_t __kmp_align_alloc
extern

◆ __kmp_all_nth

volatile int __kmp_all_nth
extern

◆ __kmp_allThreadsSpecified

int __kmp_allThreadsSpecified
extern

◆ __kmp_auto

enum sched_type __kmp_auto
extern

Definition at line 150 of file kmp_global.cpp.

Referenced by __kmp_dispatch_init_algorithm().

◆ __kmp_avail_proc

int __kmp_avail_proc
extern

◆ __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_uint32 __kmp_barrier_gather_branch_bits[bs_last_barrier]
extern

◆ __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_bar_pat_e __kmp_barrier_gather_pattern[bs_last_barrier]
extern

◆ __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_uint32 __kmp_barrier_release_branch_bits[bs_last_barrier]
extern

◆ __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_bar_pat_e __kmp_barrier_release_pattern[bs_last_barrier]
extern

◆ __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

int __kmp_cg_max_nth
extern

◆ __kmp_chunk

int __kmp_chunk
extern

◆ __kmp_debug_buf

int __kmp_debug_buf
extern

◆ __kmp_debug_buf_atomic

int __kmp_debug_buf_atomic
extern

Definition at line 389 of file kmp_global.cpp.

◆ __kmp_debug_buf_chars

int __kmp_debug_buf_chars
extern

Definition at line 387 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_buf_lines

int __kmp_debug_buf_lines
extern

Definition at line 385 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_buf_warn_chars

int __kmp_debug_buf_warn_chars
extern

Definition at line 395 of file kmp_global.cpp.

Referenced by __kmp_vprintf().

◆ __kmp_debug_buffer

char* __kmp_debug_buffer
extern

Definition at line 392 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_count

std::atomic<int> __kmp_debug_count
extern

Definition at line 393 of file kmp_global.cpp.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

◆ __kmp_debug_lock

kmp_lock_t __kmp_debug_lock
extern

◆ __kmp_def_allocator

omp_allocator_handle_t __kmp_def_allocator
extern

◆ __kmp_default_device

kmp_int32 __kmp_default_device
extern

◆ __kmp_determ_red

int __kmp_determ_red
extern

◆ __kmp_dflt_blocktime

int __kmp_dflt_blocktime
extern

◆ __kmp_dflt_max_active_levels

int __kmp_dflt_max_active_levels
extern

◆ __kmp_dflt_max_active_levels_set

bool __kmp_dflt_max_active_levels_set
extern

◆ __kmp_dflt_team_nth

int __kmp_dflt_team_nth
extern

◆ __kmp_dflt_team_nth_ub

int __kmp_dflt_team_nth_ub
extern

◆ __kmp_dispatch_lock

kmp_queuing_lock_t __kmp_dispatch_lock
extern

Definition at line 516 of file kmp_global.cpp.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_dispatch_num_buffers

int __kmp_dispatch_num_buffers
extern

◆ __kmp_display_affinity

int __kmp_display_affinity
extern

◆ __kmp_display_env

int __kmp_display_env
extern

◆ __kmp_display_env_verbose

int __kmp_display_env_verbose
extern

◆ __kmp_duplicate_library_ok

int __kmp_duplicate_library_ok
extern

◆ __kmp_enable_hidden_helper

kmp_int32 __kmp_enable_hidden_helper
extern

◆ __kmp_enable_task_throttling

int __kmp_enable_task_throttling
extern

◆ __kmp_env_blocktime

int __kmp_env_blocktime
extern

◆ __kmp_env_checks

int __kmp_env_checks
extern

Definition at line 422 of file kmp_global.cpp.

Referenced by __kmp_check_stack_overlap(), and __kmp_do_serial_initialize().

◆ __kmp_env_consistency_check

int __kmp_env_consistency_check
extern

◆ __kmp_env_stksize

int __kmp_env_stksize
extern

◆ __kmp_exit_lock

kmp_bootstrap_lock_t __kmp_exit_lock
extern

◆ __kmp_force_monotonic

int __kmp_force_monotonic
extern

◆ __kmp_force_reduction_method

PACKED_REDUCTION_METHOD_T __kmp_force_reduction_method
extern

◆ __kmp_foreign_tp

int __kmp_foreign_tp
extern

◆ __kmp_forkjoin_lock

kmp_bootstrap_lock_t __kmp_forkjoin_lock
extern

◆ __kmp_generate_warnings

int __kmp_generate_warnings
extern

◆ __kmp_global

kmp_global_t __kmp_global
extern

◆ __kmp_global_lock

kmp_lock_t __kmp_global_lock
extern

◆ __kmp_gtid_mode

int __kmp_gtid_mode
extern

◆ __kmp_gtid_threadprivate_key

kmp_key_t __kmp_gtid_threadprivate_key
extern

◆ __kmp_guided

enum sched_type __kmp_guided
extern

◆ __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_int32 __kmp_hidden_helper_threads_num
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

volatile int __kmp_init_gtid
extern

◆ __kmp_init_hidden_helper

volatile int __kmp_init_hidden_helper
extern

◆ __kmp_init_hidden_helper_threads

volatile int __kmp_init_hidden_helper_threads
extern

◆ __kmp_init_middle

volatile int __kmp_init_middle
extern

◆ __kmp_init_parallel

volatile int __kmp_init_parallel
extern

◆ __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_global_thread_id_reg(), __kmp_get_max_active_levels(), __kmp_get_schedule(), __kmp_get_team_size(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_omp_display_env(), __kmp_realloc(), __kmp_reserve_threads(), __kmp_serial_initialize(), __kmp_set_max_active_levels(), __kmp_set_num_threads(), __kmp_set_schedule(), __kmp_stg_parse_disp_buffers(), __kmp_unregister_root_current_thread(), __kmpc_atomic_1(), __kmpc_atomic_16(), __kmpc_atomic_32(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_dispatch_init_4(), __kmpc_dispatch_init_4u(), __kmpc_dispatch_init_8(), __kmpc_dispatch_init_8u(), __kmpc_dist_dispatch_init_4(), __kmpc_dist_dispatch_init_4u(), __kmpc_dist_dispatch_init_8(), __kmpc_dist_dispatch_init_8u(), __kmpc_error(), __kmpc_get_target_offload(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_ordered(), __kmpc_pause_resource(), __kmpc_sections_init(), __kmpc_team_static_init_4(), __kmpc_team_static_init_4u(), __kmpc_team_static_init_8(), __kmpc_team_static_init_8u(), __kmpc_threadprivate(), FTN_GET_AFFINITY_FORMAT(), FTN_GET_CANCELLATION(), FTN_GET_LIBRARY(), FTN_GET_MAX_TASK_PRIORITY(), FTN_GET_MAX_TEAMS(), FTN_GET_NUM_KNOWN_THREADS(), FTN_GET_STACKSIZE(), FTN_GET_STACKSIZE_S(), FTN_GET_TEAMS_THREAD_LIMIT(), FTN_GET_THREAD_LIMIT(), FTN_GET_WTICK(), FTN_GET_WTIME(), FTN_SET_AFFINITY_FORMAT(), FTN_SET_DISP_NUM_BUFFERS(), FTN_SET_NUM_TEAMS(), FTN_SET_TEAMS_THREAD_LIMIT(), kmpc_free(), kmpc_set_disp_num_buffers(), ompc_get_affinity_format(), and ompc_set_affinity_format().

◆ __kmp_init_user_locks

volatile int __kmp_init_user_locks
extern

◆ __kmp_initz_lock

kmp_bootstrap_lock_t __kmp_initz_lock
extern

◆ __kmp_library

enum library_type __kmp_library
extern

◆ __kmp_malloc_pool_incr

size_t __kmp_malloc_pool_incr
extern

◆ __kmp_max_nth

int __kmp_max_nth
extern

◆ __kmp_max_task_priority

kmp_int32 __kmp_max_task_priority
extern

◆ __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 416 of file kmp_global.cpp.

Referenced by __kmp_register_atfork(), and __kmp_stg_parse_init_at_fork().

◆ __kmp_need_register_atfork_specified

int __kmp_need_register_atfork_specified
extern

Definition at line 418 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_init_at_fork(), and __kmp_stg_print_init_at_fork().

◆ __kmp_need_register_serial

volatile int __kmp_need_register_serial
extern

◆ __kmp_nested_nth

kmp_nested_nthreads_t __kmp_nested_nth
extern

◆ __kmp_nested_proc_bind

kmp_nested_proc_bind_t __kmp_nested_proc_bind
extern

◆ __kmp_nesting_mode

int __kmp_nesting_mode
extern

◆ __kmp_nesting_mode_nlevels

int __kmp_nesting_mode_nlevels
extern

Definition at line 562 of file kmp_global.cpp.

Referenced by __kmp_init_nesting_mode(), and __kmp_set_nesting_mode_threads().

◆ __kmp_nesting_nth_level

int* __kmp_nesting_nth_level
extern

Definition at line 563 of file kmp_global.cpp.

Referenced by __kmp_init_nesting_mode(), and __kmp_set_nesting_mode_threads().

◆ __kmp_nteams

int __kmp_nteams
extern

◆ __kmp_nth

volatile int __kmp_nth
extern

◆ __kmp_old_threads_list

kmp_old_threads_list_t* __kmp_old_threads_list
extern

Definition at line 452 of file kmp_global.cpp.

Referenced by __kmp_cleanup(), and __kmp_expand_threads().

◆ __kmp_omp_cancellation

int __kmp_omp_cancellation
extern

◆ __kmp_pause_init

kmp_uint64 __kmp_pause_init
extern

Definition at line 441 of file kmp_global.cpp.

◆ __kmp_pause_status

kmp_pause_status_t __kmp_pause_status
extern

◆ __kmp_reserve_warn

int __kmp_reserve_warn
extern

◆ __kmp_root

kmp_root_t** __kmp_root
extern

◆ __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 234 of file kmp_global.cpp.

Referenced by __kmp_set_schedule().

◆ __kmp_sched

enum sched_type __kmp_sched
extern

◆ __kmp_settings

int __kmp_settings
extern

◆ __kmp_static

enum sched_type __kmp_static
extern

◆ __kmp_stkoffset

size_t __kmp_stkoffset
extern

◆ __kmp_stkpadding

int __kmp_stkpadding
extern

◆ __kmp_stksize

size_t __kmp_stksize
extern

◆ __kmp_storage_map

int __kmp_storage_map
extern

◆ __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 413 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().

◆ __kmp_sys_max_nth

int __kmp_sys_max_nth
extern

◆ __kmp_sys_min_stksize

size_t __kmp_sys_min_stksize
extern

◆ __kmp_target_offload

kmp_target_offload_kind_t __kmp_target_offload
extern

◆ __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

int __kmp_task_stealing_constraint
extern

◆ __kmp_task_team_lock

kmp_bootstrap_lock_t __kmp_task_team_lock
extern

◆ __kmp_tasking_mode

kmp_tasking_mode_t __kmp_tasking_mode
extern

◆ __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

int __kmp_teams_max_nth
extern

◆ __kmp_teams_proc_bind

kmp_proc_bind_t __kmp_teams_proc_bind
extern

Definition at line 292 of file kmp_global.cpp.

Referenced by __kmp_fork_call().

◆ __kmp_teams_thread_limit

int __kmp_teams_thread_limit
extern

◆ __kmp_thread_pool

volatile kmp_info_t* __kmp_thread_pool
extern

◆ __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_cached_addr_t* __kmp_threadpriv_cache_list
extern

◆ __kmp_threads

kmp_info_t** __kmp_threads
extern

Definition at line 450 of file kmp_global.cpp.

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

◆ __kmp_threads_capacity

int __kmp_threads_capacity
extern

◆ __kmp_tls_gtid_min

int __kmp_tls_gtid_min
extern

◆ __kmp_tp_cached

int __kmp_tp_cached
extern

◆ __kmp_tp_cached_lock

kmp_bootstrap_lock_t __kmp_tp_cached_lock
extern

◆ __kmp_tp_capacity

int __kmp_tp_capacity
extern

◆ __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 437 of file kmp_global.cpp.

Referenced by __kmp_aux_set_library(), and __kmp_stg_parse_use_yield().

◆ __kmp_version

int __kmp_version
extern

◆ __kmp_wpolicy_passive

bool __kmp_wpolicy_passive
extern

◆ __kmp_xproc

int __kmp_xproc
extern

◆ __kmp_yield_init

kmp_uint32 __kmp_yield_init
extern

Definition at line 439 of file kmp_global.cpp.

◆ __kmp_yield_next

kmp_uint32 __kmp_yield_next
extern

Definition at line 440 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 327 of file kmp_global.cpp.

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

◆ llvm_omp_target_device_mem_alloc

omp_allocator_handle_t const llvm_omp_target_device_mem_alloc
extern

Definition at line 325 of file kmp_global.cpp.

Referenced by ___kmpc_free().

◆ llvm_omp_target_device_mem_space

omp_memspace_handle_t const llvm_omp_target_device_mem_space
extern

Definition at line 345 of file kmp_global.cpp.

◆ llvm_omp_target_host_mem_alloc

omp_allocator_handle_t const llvm_omp_target_host_mem_alloc
extern

Definition at line 321 of file kmp_global.cpp.

Referenced by ___kmpc_free(), and __kmp_alloc().

◆ llvm_omp_target_host_mem_space

omp_memspace_handle_t const llvm_omp_target_host_mem_space
extern

Definition at line 341 of file kmp_global.cpp.

Referenced by __kmp_alloc().

◆ llvm_omp_target_shared_mem_alloc

omp_allocator_handle_t const llvm_omp_target_shared_mem_alloc
extern

Definition at line 323 of file kmp_global.cpp.

Referenced by ___kmpc_free(), and __kmp_alloc().

◆ llvm_omp_target_shared_mem_space

omp_memspace_handle_t const llvm_omp_target_shared_mem_space
extern

Definition at line 343 of file kmp_global.cpp.

Referenced by __kmp_alloc().

◆ omp_cgroup_mem_alloc

omp_allocator_handle_t const omp_cgroup_mem_alloc
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 335 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), and __kmpc_init_allocator().

◆ omp_default_mem_alloc

omp_allocator_handle_t const omp_default_mem_alloc
extern

◆ omp_default_mem_space

omp_memspace_handle_t const omp_default_mem_space
extern

Definition at line 331 of file kmp_global.cpp.

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

◆ omp_high_bw_mem_alloc

omp_allocator_handle_t const omp_high_bw_mem_alloc
extern

◆ omp_high_bw_mem_space

omp_memspace_handle_t const omp_high_bw_mem_space
extern

Definition at line 337 of file kmp_global.cpp.

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

◆ omp_large_cap_mem_alloc

omp_allocator_handle_t const omp_large_cap_mem_alloc
extern

◆ omp_large_cap_mem_space

omp_memspace_handle_t const omp_large_cap_mem_space
extern

Definition at line 333 of file kmp_global.cpp.

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

◆ omp_low_lat_mem_alloc

omp_allocator_handle_t const omp_low_lat_mem_alloc
extern

◆ omp_low_lat_mem_space

omp_memspace_handle_t const omp_low_lat_mem_space
extern

Definition at line 339 of file kmp_global.cpp.

Referenced by __kmp_stg_parse_allocator(), and __kmpc_init_allocator().

◆ omp_null_allocator

omp_allocator_handle_t const omp_null_allocator
extern

◆ 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