kmp.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include "kmp_os.h"
#include "kmp_version.h"
#include "kmp_debug.h"
#include "kmp_lock.h"
#include "kmp_i18n.h"
#include "kmp_wrapper_malloc.h"
#include "ompt-internal.h"

Go to the source code of this file.

Data Structures

struct  common_table
struct  cons_data
struct  cons_header
struct  dispatch_private_info
struct  dispatch_private_info32
struct  dispatch_private_info64
union  dispatch_private_info::private_info
struct  dispatch_shared_info
struct  dispatch_shared_info32
struct  dispatch_shared_info64
union  dispatch_shared_info::shared_info
struct  fortran_inx_info
struct  ident
union  kmp_barrier_team_union
union  kmp_barrier_union
struct  kmp_base_data
struct  kmp_base_global
struct  kmp_base_info
struct  kmp_base_root
struct  kmp_base_team
struct  kmp_bstate
struct  kmp_cached_addr
struct  kmp_cpuinfo
union  kmp_desc
struct  kmp_desc_base
struct  kmp_disp
struct  kmp_free_list
union  kmp_global
union  kmp_info
struct  kmp_internal_control
struct  kmp_local
struct  kmp_nested_nthreads_t
union  kmp_ordered_team
struct  kmp_r_sched
struct  kmp_region_info
union  kmp_root
union  kmp_sleep_team
struct  kmp_sys_info
struct  kmp_taskq
union  kmp_team
union  kmp_time_global
struct  kmpc_aligned_int32_t
struct  kmpc_aligned_queue_slot_t
struct  kmpc_aligned_shared_vars_t
struct  kmpc_shared_vars_t
struct  kmpc_task_queue_t
struct  kmpc_thunk_t
struct  private_common
struct  private_data
struct  shared_common
struct  shared_table

Defines

#define __kmp_allocate(size)   ___kmp_allocate( (size) KMP_SRC_LOC_CURR )
#define __kmp_entry_gtid()   __kmp_get_global_thread_id_reg()
#define __kmp_fast_allocate(this_thr, size)   ___kmp_fast_allocate( (this_thr), (size) KMP_SRC_LOC_CURR )
#define __kmp_fast_free(this_thr, ptr)   ___kmp_fast_free( (this_thr), (ptr) KMP_SRC_LOC_CURR )
#define __kmp_free(ptr)   ___kmp_free( (ptr) KMP_SRC_LOC_CURR )
#define __kmp_get_gtid()   __kmp_get_global_thread_id()
#define __kmp_get_team()   ( __kmp_threads[ (__kmp_get_gtid()) ]-> th.th_team )
#define __kmp_get_team_num_threads(gtid)   ( __kmp_threads[ ( gtid ) ] -> th.th_team -> t.t_nproc )
#define __kmp_get_thread()   ( __kmp_thread_from_gtid( __kmp_get_gtid() ) )
#define __kmp_get_tid()   ( __kmp_tid_from_gtid( __kmp_get_gtid() ) )
#define __kmp_gtid_from_thread(thr)
#define __kmp_gtid_from_tid(tid, team)
#define __kmp_page_allocate(size)   ___kmp_page_allocate( (size) KMP_SRC_LOC_CURR )
#define __KMP_TASKQ_THUNKS_PER_TH   1
#define __kmp_team_from_gtid(gtid)
#define __kmp_thread_calloc(th, nelem, elsize)   ___kmp_thread_calloc( (th), (nelem), (elsize) KMP_SRC_LOC_CURR )
#define __kmp_thread_free(th, ptr)   ___kmp_thread_free( (th), (ptr) KMP_SRC_LOC_CURR )
#define __kmp_thread_from_gtid(gtid)   ( KMP_DEBUG_ASSERT( (gtid) >= 0 ), __kmp_threads[ (gtid) ] )
#define __kmp_thread_malloc(th, size)   ___kmp_thread_malloc( (th), (size) KMP_SRC_LOC_CURR )
#define __kmp_thread_realloc(th, ptr, size)   ___kmp_thread_realloc( (th), (ptr), (size) KMP_SRC_LOC_CURR )
#define __kmp_tid_from_gtid(gtid)
#define _KMP_GEN_ID(counter)
#define BUILD_MEMORY   NO_FIRST_TOUCH
#define FALSE   0
#define FIRST_TOUCH   1
#define get__blocktime(xteam, xtid)   ((xteam)->t.t_set_blocktime[ (xtid)])
#define get__bt_intervals(xteam, xtid)   ((xteam)->t.t_set_bt_intervals[(xtid)])
#define get__bt_set(xteam, xtid)   ((xteam)->t.t_set_bt_set[ (xtid)])
#define get__dynamic(xthread)
#define get__dynamic_2(xteam, xtid)   ( (xteam)->t.t_set_dynamic[(xtid)] )
#define get__nested(xthread)
#define get__nested_2(xteam, xtid)   ( (xteam)->t.t_set_nested[(xtid)] )
#define get__nproc_2(xteam, xtid)   ( (xteam)->t.t_set_nproc[(xtid)] )
#define get__sched_2(xteam, xtid)   ( (xteam)->t.t_set_sched[(xtid)] )
#define HIGH_WATER_MARK(nslots)   (((nslots) * 3) / 4)
#define IS_CONS_TYPE_ORDERED(ct)   ((ct) == ct_pdo_ordered || (ct) == ct_task_ordered)
#define IS_CONS_TYPE_TASKQ(ct)   ( ((int)(ct)) >= ((int)ct_taskq) && ((int)(ct)) <= ((int)ct_task_ordered) )
#define KMP_BARRIER_BUMP_BIT   2
#define KMP_BARRIER_ICV_PULL   0
#define KMP_BARRIER_SLEEP_BIT   0
#define KMP_BARRIER_SLEEP_STATE   ((kmp_uint) (1 << KMP_BARRIER_SLEEP_BIT))
#define KMP_BARRIER_STATE_BUMP   ((kmp_uint) (1 << KMP_BARRIER_BUMP_BIT))
#define KMP_BARRIER_UNUSED_BIT   1
#define KMP_BARRIER_UNUSED_STATE   ((kmp_uint) (1 << KMP_BARRIER_UNUSED_BIT))
#define KMP_BLOCKTIME_MULTIPLIER   (1000)
#define KMP_CANCEL_THREADS
#define KMP_COMPARE_AND_STORE_ACQ16   __kmp_compare_and_store16
#define KMP_COMPARE_AND_STORE_ACQ32   __kmp_compare_and_store32
#define KMP_COMPARE_AND_STORE_ACQ64   __kmp_compare_and_store64
#define KMP_COMPARE_AND_STORE_ACQ8   __kmp_compare_and_store8
#define KMP_COMPARE_AND_STORE_PTR(dst, cmp, src)   KMP_COMPARE_AND_STORE_REL64((volatile kmp_int64 *)dst,(kmp_int64)cmp,(kmp_int64)src)
#define KMP_COMPARE_AND_STORE_REL16   __kmp_compare_and_store16
#define KMP_COMPARE_AND_STORE_REL32   __kmp_compare_and_store32
#define KMP_COMPARE_AND_STORE_REL64   __kmp_compare_and_store64
#define KMP_COMPARE_AND_STORE_REL8   __kmp_compare_and_store8
#define KMP_CPU_PAUSE()
#define KMP_DEBUG_BUF_CHARS_INIT   128
#define KMP_DEBUG_BUF_CHARS_MIN   2
#define KMP_DEBUG_BUF_LINES_INIT   512
#define KMP_DEBUG_BUF_LINES_MIN   1
#define KMP_DEFAULT_BLOCKTIME   (200)
#define KMP_DEFAULT_CHUNK   1
#define KMP_DEFAULT_INIT_WAIT   2048U
#define KMP_DEFAULT_INTERVAL   0
#define KMP_DEFAULT_MALLOC_POOL_INCR   ((size_t) (1024 * 1024))
#define KMP_DEFAULT_MONITOR_STKSIZE   ((size_t)(64 * 1024))
#define KMP_DEFAULT_NEXT_WAIT   1024U
#define KMP_DEFAULT_STATSCOLS   80
#define KMP_DEFAULT_STKOFFSET   KMP_MIN_STKOFFSET
#define KMP_DEFAULT_STKSIZE   ((size_t)(1024 * 1024))
#define KMP_FAST_REDUCTION_BARRIER   1
#define KMP_GEN_TASK_ID()   _KMP_GEN_ID( __kmp_task_counter )
#define KMP_GEN_TEAM_ID()   _KMP_GEN_ID( __kmp_team_counter )
#define KMP_GTID_DNE   (-2)
#define KMP_GTID_MIN   (-6)
#define KMP_GTID_MONITOR   (-4)
#define KMP_GTID_SHUTDOWN   (-3)
#define KMP_GTID_UNKNOWN   (-5)
#define KMP_HANDLE_SIGNALS   (KMP_OS_LINUX || KMP_OS_WINDOWS || KMP_OS_DARWIN)
#define KMP_HASH(x)   ((((kmp_uintptr_t) x) >> KMP_HASH_SHIFT) & (KMP_HASH_TABLE_SIZE-1))
#define KMP_HASH_SHIFT   3
#define KMP_HASH_TABLE_LOG2   9
#define KMP_HASH_TABLE_SIZE   (1 << KMP_HASH_TABLE_LOG2)
#define KMP_INIT_BARRIER_STATE   0
#define KMP_INIT_YIELD(count)   { (count) = __kmp_yield_init; }
#define KMP_INITIAL_GTID(gtid)   ( (gtid) == 0 )
#define KMP_INLINE_ARGV_BYTES   ( 2 * CACHE_LINE - ( ( 3 * KMP_PTR_SKIP + 2 * sizeof(int) ) % CACHE_LINE ) )
#define KMP_INLINE_ARGV_ENTRIES   ( KMP_INLINE_ARGV_BYTES / KMP_PTR_SKIP )
#define KMP_INTERNAL_CALLOC(n, sz)   calloc((n),(sz))
#define KMP_INTERNAL_FREE(p)   free(p)
#define KMP_INTERNAL_MALLOC(sz)   malloc(sz)
#define KMP_INTERNAL_REALLOC(p, sz)   realloc((p),(sz))
#define KMP_INTERVALS_FROM_BLOCKTIME(blocktime, monitor_wakeups)
#define KMP_IOMP_NAME   "Intel(R) OMP"
#define KMP_MASTER_GTID(gtid)   ( __kmp_tid_from_gtid((gtid)) == 0 )
#define KMP_MASTER_TID(tid)   ( (tid) == 0 )
#define KMP_MAX_ACTIVE_LEVELS_LIMIT   INT_MAX
#define KMP_MAX_BLOCKTIME   (INT_MAX)
#define KMP_MAX_BRANCH_BITS   31
#define KMP_MAX_CHUNK   (INT_MAX-1)
#define KMP_MAX_DISP_BUF   7
#define KMP_MAX_FIELDS   32
#define KMP_MAX_INIT_WAIT   (INT_MAX/2)
#define KMP_MAX_INTERVAL   (INT_MAX-1)
#define KMP_MAX_MALLOC_POOL_INCR   (~((size_t)1<<((sizeof(size_t)*(1<<3))-1)))
#define KMP_MAX_MONITOR_WAKEUPS   (1000)
#define KMP_MAX_NEXT_WAIT   (INT_MAX/2)
#define KMP_MAX_NTH   (32 * 1024)
#define KMP_MAX_ORDERED   8
#define KMP_MAX_STATSCOLS   4096
#define KMP_MAX_STKOFFSET   KMP_MAX_STKSIZE
#define KMP_MAX_STKSIZE   (~((size_t)1<<((sizeof(size_t)*(1<<3))-1)))
#define KMP_MIN_BLOCKTIME   (0)
#define KMP_MIN_CHUNK   1
#define KMP_MIN_INIT_WAIT   1
#define KMP_MIN_INTERVAL   0
#define KMP_MIN_MALLOC_ARGV_ENTRIES   100
#define KMP_MIN_MALLOC_POOL_INCR   ((size_t) (4 * 1024))
#define KMP_MIN_MONITOR_WAKEUPS   (1)
#define KMP_MIN_NEXT_WAIT   1
#define KMP_MIN_NTH   1
#define KMP_MIN_STATSCOLS   40
#define KMP_MIN_STKOFFSET   (0)
#define KMP_MIN_STKSIZE   ((size_t)(32 * 1024))
#define KMP_PACK_64(HIGH_32, LOW_32)   ( (kmp_int64) ((((kmp_uint64)(HIGH_32))<<32) | (kmp_uint64)(LOW_32)) )
#define KMP_PAD(type, sz)   (sizeof(type) + (sz - ((sizeof(type) - 1) % (sz)) - 1))
#define KMP_PAR_RANGE_FILENAME_LEN   1024
#define KMP_PAR_RANGE_ROUTINE_LEN   1024
#define KMP_THREAD_ATTR
#define KMP_TLS_GTID_MIN   INT_MAX
#define KMP_UBER_GTID(gtid)
#define KMP_UINT64_MAX   (~((kmp_uint64)1<<((sizeof(kmp_uint64)*(1<<3))-1)))
#define KMP_WAKEUPS_FROM_BLOCKTIME(blocktime, monitor_wakeups)
#define KMP_WORKER_GTID(gtid)   ( __kmp_tid_from_gtid((gtid)) != 0 )
#define KMP_WORKER_TID(tid)   ( (tid) != 0 )
#define KMP_YIELD(cond)   { KMP_CPU_PAUSE(); __kmp_static_yield( (cond) ); }
#define KMP_YIELD_SPIN(count)
#define KMP_YIELD_WHEN(cond, count)
#define NO_FIRST_TOUCH   0
#define NSEC_PER_SEC   1000000000L
#define NUM_LISTS   4
#define OMPT_SUPPORT   1
#define PACK_REDUCTION_METHOD_AND_BARRIER(reduction_method, barrier_type)   ( ( reduction_method ) | ( barrier_type ) )
#define set__blocktime_team(xteam, xtid, xval)   ( ( (xteam)->t.t_set_blocktime[(xtid)] ) = (xval) )
#define set__bt_intervals_team(xteam, xtid, xval)   ( ( (xteam)->t.t_set_bt_intervals[(xtid)] ) = (xval) )
#define set__bt_set_team(xteam, xtid, xval)   ( ( (xteam)->t.t_set_bt_set[(xtid)] ) = (xval) )
#define set__dynamic(xthread, xval)
#define set__nested(xthread, xval)
#define set__nproc(xthread, xval)
#define set__nproc_p(xthread, xval)   ( ( (xthread)->th.th_team->t.t_set_nproc[((xthread)->th.th_info.ds.ds_tid)] ) = (xval) )
#define SKIP_DIGITS(_x)   { while (*(_x) >= '0' && *(_x) <= '9') (_x)++; }
#define SKIP_TO(_x, _c)   { while (*(_x) != '\0' && *(_x) != (_c)) (_x)++; }
#define SKIP_WS(_x)   { while (*(_x) == ' ' || *(_x) == '\t') (_x)++; }
#define TEST_REDUCTION_METHOD(packed_reduction_method, which_reduction_block)   ( ( UNPACK_REDUCTION_METHOD( packed_reduction_method ) ) == ( which_reduction_block ) )
#define TQF_ALL_TASKS_QUEUED   0x0800
#define TQF_DEALLOCATED   0x2000
#define TQF_HEURISTICS   0x0008
#define TQF_INTERFACE_FLAGS   0x00ff
#define TQF_INTERFACE_RESERVED1   0x0010
#define TQF_INTERFACE_RESERVED2   0x0020
#define TQF_INTERFACE_RESERVED3   0x0040
#define TQF_INTERFACE_RESERVED4   0x0080
#define TQF_INTERNAL_FLAGS   0x3f00
#define TQF_IS_LAST_TASK   0x0100
#define TQF_IS_LASTPRIVATE   0x0002
#define TQF_IS_NOWAIT   0x0004
#define TQF_IS_ORDERED   0x0001
#define TQF_PARALLEL_CONTEXT   0x1000
#define TQF_RELEASE_WORKERS   0x0400
#define TQF_TASKQ_TASK   0x0200
#define TREE_REDUCE_BLOCK_WITH_PLAIN_BARRIER   ( PACK_REDUCTION_METHOD_AND_BARRIER( tree_reduce_block, bs_plain_barrier ) )
#define TREE_REDUCE_BLOCK_WITH_REDUCTION_BARRIER   ( PACK_REDUCTION_METHOD_AND_BARRIER( tree_reduce_block, bs_reduction_barrier ) )
#define TRUE   (! FALSE)
#define UNPACK_REDUCTION_BARRIER(packed_reduction_method)   ( ( enum barrier_type )( ( packed_reduction_method ) & ( 0x000000FF ) ) )
#define UNPACK_REDUCTION_METHOD(packed_reduction_method)   ( ( enum _reduction_method )( ( packed_reduction_method ) & ( 0x0000FF00 ) ) )
#define USE_CMP_XCHG_FOR_BGET   1
#define USE_FAST_MEMORY   3
#define USEC_PER_SEC   1000000L

Typedefs

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 union kmp_barrier_union kmp_balign_t
typedef union
kmp_barrier_team_union 
kmp_balign_team_t
typedef enum kmp_bar_pat kmp_bar_pat_e
typedef struct kmp_base_data kmp_base_data_t
typedef struct kmp_base_global kmp_base_global_t
typedef struct KMP_ALIGN_CACHE
kmp_base_info 
kmp_base_info_t
typedef struct kmp_base_root kmp_base_root_t
typedef struct KMP_ALIGN_CACHE
kmp_base_team 
kmp_base_team_t
typedef struct KMP_ALIGN_CACHE
kmp_bstate 
kmp_bstate_t
typedef struct kmp_cached_addr kmp_cached_addr_t
typedef struct kmp_cpuinfo kmp_cpuinfo_t
typedef kmp_int32 kmp_critical_name [8]
typedef struct kmp_desc_base kmp_desc_base_t
typedef union KMP_ALIGN_CACHE
kmp_desc 
kmp_desc_t
typedef struct kmp_disp kmp_disp_t
typedef struct kmp_free_list kmp_free_list_t
typedef union KMP_ALIGN_CACHE
kmp_global 
kmp_global_t
typedef union kmp_info kmp_info_p
typedef union KMP_ALIGN_CACHE
kmp_info 
kmp_info_t
typedef struct kmp_internal_control kmp_internal_control_t
typedef struct kmp_local kmp_local_t
typedef union KMP_ALIGN_CACHE
kmp_ordered_team 
kmp_ordered_team_t
typedef struct kmp_r_sched kmp_r_sched_t
typedef union kmp_root kmp_root_p
typedef union KMP_ALIGN_CACHE
kmp_root 
kmp_root_t
typedef enum kmp_sched kmp_sched_t
typedef union KMP_ALIGN_CACHE
kmp_sleep_team 
kmp_sleep_team_t
typedef struct kmp_sys_info kmp_sys_info_t
typedef union kmp_task_team kmp_task_team_t
typedef struct kmp_taskdata kmp_taskdata_t
typedef struct KMP_ALIGN_CACHE
kmp_taskq 
kmp_taskq_t
typedef union kmp_team kmp_team_p
typedef union kmp_team kmp_team_t
typedef union KMP_ALIGN_CACHE
kmp_time_global 
kmp_time_global_t
typedef void(* kmpc_micro )(kmp_int32 *global_tid, kmp_int32 *bound_tid,...)
typedef void(* kmpc_micro_bound )(kmp_int32 *bound_tid, kmp_int32 *bound_nth,...)
typedef void(* kmpc_task_t )(kmp_int32 global_tid, struct kmpc_thunk_t *thunk)
typedef int(* launch_t )(int gtid)
typedef int PACKED_REDUCTION_METHOD_T

Enumerations

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  barrier_type { bs_plain_barrier = 0, bs_forkjoin_barrier, bs_reduction_barrier, bs_last_barrier }
enum  cons_type {
  ct_none, ct_parallel, ct_pdo, ct_pdo_ordered,
  ct_psections, ct_psingle, ct_taskq, ct_task,
  ct_task_ordered, ct_critical, ct_ordered_in_parallel, ct_ordered_in_pdo,
  ct_ordered_in_taskq, ct_master, ct_reduce, ct_barrier
}
enum  dynamic_mode { dynamic_default, dynamic_random, dynamic_thread_limit, dynamic_max }
enum  kmp_bar_pat { bp_linear_bar = 0, bp_tree_bar = 1, bp_hyper_bar = 2, bp_last_bar = 3 }
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 = 102, kmp_sched_default = kmp_sched_static
}
enum  kmp_state_timer { ts_stop, ts_start, ts_pause, ts_last_state }
enum  library_type { library_none, library_serial, library_turnaround, library_throughput }
enum  sched_type {
  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_upper = 45, 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 = 72, kmp_nm_lower = 160,
  kmp_nm_static_chunked = 161, 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 = 172,
  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 = 200,
  kmp_sch_default = kmp_sch_static
}

Functions

void * ___kmp_allocate (size_t size KMP_SRC_LOC_DECL)
void * ___kmp_fast_allocate (kmp_info_t *this_thr, size_t size KMP_SRC_LOC_DECL)
void ___kmp_fast_free (kmp_info_t *this_thr, void *ptr KMP_SRC_LOC_DECL)
void ___kmp_free (void *ptr KMP_SRC_LOC_DECL)
void * ___kmp_page_allocate (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_free (kmp_info_t *th, void *ptr KMP_SRC_LOC_DECL)
void * ___kmp_thread_malloc (kmp_info_t *th, size_t size KMP_SRC_LOC_DECL)
void * ___kmp_thread_realloc (kmp_info_t *th, void *ptr, size_t size KMP_SRC_LOC_DECL)
void __kmp_abort (char const *format,...)
void __kmp_abort_process (void)
void __kmp_abort_thread (void)
void __kmp_adjust_num_threads (int new_nproc)
kmp_team_t__kmp_allocate_team (kmp_root_t *root, int new_nproc, int max_nproc, ompt_parallel_id_t ompt_parallel_id, int new_set_nproc, int new_set_dynamic, int new_set_nested, int new_set_blocktime, int new_bt_intervals, int new_bt_set, int argc)
kmp_info_t__kmp_allocate_thread (kmp_root_t *root, kmp_team_t *team, int tid)
void __kmp_aux_set_blocktime (int arg, kmp_info_t *thread, int tid)
void __kmp_aux_set_defaults (char const *str, int len)
void __kmp_aux_set_library (enum library_type arg)
void __kmp_aux_set_stacksize (size_t arg)
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_check_stack_overlap (kmp_info_t *thr)
void __kmp_cleanup (void)
void __kmp_clear_system_time (void)
void __kmp_common_destroy (void)
void __kmp_common_destroy_gtid (int gtid)
void __kmp_common_initialize (void)
kmp_int16 __kmp_compare_and_store16 (volatile kmp_int16 *p, kmp_int16 cv, kmp_int16 sv)
kmp_int32 __kmp_compare_and_store32 (volatile kmp_int32 *p, kmp_int32 cv, kmp_int32 sv)
kmp_int32 __kmp_compare_and_store64 (volatile kmp_int64 *p, kmp_int64 cv, kmp_int64 sv)
kmp_int8 __kmp_compare_and_store8 (volatile kmp_int8 *p, kmp_int8 cv, kmp_int8 sv)
void __kmp_create_monitor (kmp_info_t *th)
void __kmp_create_worker (int gtid, kmp_info_t *th, size_t stack_size)
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)
void __kmp_disable (int *old_state)
void __kmp_elapsed (double *)
void __kmp_elapsed_tick (double *)
void __kmp_enable (int old_state)
void __kmp_end_split_barrier (enum barrier_type bt, int gtid)
int __kmp_enter_single (int gtid, ident_t *id_ref, int push_ws)
kmp_info_t__kmp_entry_thread ()
kmp_uint32 __kmp_eq_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_eq_8 (kmp_uint64 value, kmp_uint64 checker)
void __kmp_exit_single (int gtid)
void __kmp_exit_thread (int exit_status)
void __kmp_expand_file_name (char *result, size_t rlen, char *pattern)
void __kmp_expand_host_name (char *buffer, size_t size)
void __kmp_finalize_bget (kmp_info_t *th)
int __kmp_fork_call (ident_t *loc, int gtid, int exec_master, kmp_int32 argc, microtask_t microtask, launch_t invoker, va_list ap)
void __kmp_free_fast_memory (kmp_info_t *this_thr)
void __kmp_free_team (kmp_root_t *, kmp_team_t *)
void __kmp_free_thread (kmp_info_t *)
kmp_uint32 __kmp_ge_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_ge_8 (kmp_uint64 value, kmp_uint64 checker)
int __kmp_get_global_thread_id (void)
int __kmp_get_global_thread_id_reg (void)
unsigned short __kmp_get_random (kmp_info_t *thread)
KMP_EXPORT kmp_int32 __kmp_get_reduce_method (void)
kmp_r_sched_t __kmp_get_schedule_global (void)
int __kmp_gtid_get_specific (void)
void __kmp_gtid_set_specific (int gtid)
kmp_uint64 __kmp_hardware_timestamp (void)
int __kmp_ignore_mppbeg (void)
int __kmp_ignore_mppend (void)
void __kmp_infinite_loop (void)
void __kmp_init_random (kmp_info_t *thread)
void __kmp_initialize_bget (kmp_info_t *th)
void __kmp_initialize_fast_memory (kmp_info_t *this_thr)
void __kmp_internal_begin (void)
void __kmp_internal_end_atexit (void)
void __kmp_internal_end_dest (void *)
void __kmp_internal_end_dtor (void)
void __kmp_internal_end_fini (void)
void __kmp_internal_end_library (int gtid)
void __kmp_internal_end_thread (int 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_microtask (microtask_t pkfn, int gtid, int npr, int argc, void *argv[], void **exit_frame_ptr)
int __kmp_invoke_task_func (int gtid)
int __kmp_is_address_mapped (void *addr)
void __kmp_join_call (ident_t *loc, int gtid)
void * __kmp_launch_thread (kmp_info_t *thr)
kmp_uint32 __kmp_le_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_le_8 (kmp_uint64 value, kmp_uint64 checker)
kmp_uint32 __kmp_lt_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_lt_8 (kmp_uint64 value, kmp_uint64 checker)
void __kmp_middle_initialize (void)
kmp_uint32 __kmp_neq_4 (kmp_uint32 value, kmp_uint32 checker)
kmp_uint32 __kmp_neq_8 (kmp_uint64 value, kmp_uint64 checker)
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)
void __kmp_parallel_initialize (void)
void __kmp_print_storage_map_gtid (int gtid, void *p1, void *p2, size_t size, char const *format,...)
void __kmp_push_num_threads (ident_t *loc, int gtid, int num_threads)
double __kmp_read_cpu_time (void)
int __kmp_read_system_info (struct kmp_sys_info *info)
void __kmp_read_system_time (double *delta)
void __kmp_reap_monitor (kmp_info_t *th)
kmp_team_t__kmp_reap_team (kmp_team_t *)
void __kmp_reap_worker (kmp_info_t *th)
int __kmp_register_root (int initial_thread)
void __kmp_release (kmp_info_t *target_thr, volatile kmp_uint *spin, enum kmp_mem_fence_type fetchadd_fence)
void __kmp_resume (int target_gtid, volatile kmp_uint *spinner)
void __kmp_run_after_invoked_task (int gtid, int tid, kmp_info_t *this_thr, kmp_team_t *team)
void __kmp_run_before_invoked_task (int gtid, int tid, kmp_info_t *this_thr, kmp_team_t *team)
void __kmp_runtime_destroy (void)
void __kmp_runtime_initialize (void)
void __kmp_save_internal_controls (kmp_info_t *thread)
void __kmp_serial_initialize (void)
void __kmp_set_num_threads (int new_nth, int gtid)
void __kmp_suspend (int th_gtid, volatile kmp_uint *spinner, kmp_uint checker)
void __kmp_suspend_initialize (void)
void __kmp_suspend_uninitialize_thread (kmp_info_t *th)
void __kmp_terminate_thread (int gtid)
kmp_int32 __kmp_test_then_add32 (volatile kmp_int32 *p, kmp_int32 d)
kmp_int64 __kmp_test_then_add64 (volatile kmp_int64 *p, kmp_int64 d)
kmp_int32 __kmp_test_then_and32 (volatile kmp_int32 *p, kmp_int32 d)
kmp_int64 __kmp_test_then_and64 (volatile kmp_int64 *p, kmp_int64 d)
kmp_int32 __kmp_test_then_or32 (volatile kmp_int32 *p, kmp_int32 d)
kmp_int64 __kmp_test_then_or64 (volatile kmp_int64 *p, kmp_int64 d)
void __kmp_thread_sleep (int millis)
void __kmp_unregister_root (int gtid)
void __kmp_user_set_library (enum library_type arg)
void __kmp_wait_sleep (kmp_info_t *this_thr, volatile kmp_uint *spinner, kmp_uint checker, kmp_int final_spin)
kmp_uint32 __kmp_wait_yield_4 (kmp_uint32 volatile *spinner, kmp_uint32 checker, kmp_uint32(*pred)(kmp_uint32, kmp_uint32), void *obj)
kmp_uint64 __kmp_wait_yield_8 (kmp_uint64 volatile *spinner, kmp_uint64 checker, kmp_uint32(*pred)(kmp_uint64, kmp_uint64), void *obj)
void __kmp_warn (char const *format,...)
void __kmp_yield (int cond)
KMP_EXPORT void __kmpc_barrier (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_barrier_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_barrier_master_nowait (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_begin (ident_t *, kmp_int32 flags)
KMP_EXPORT kmp_int32 __kmpc_bound_num_threads (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_bound_thread_num (ident_t *)
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_critical (ident_t *, kmp_int32 global_tid, kmp_critical_name *)
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)
void __kmpc_dispatch_fini_4 (ident_t *loc, kmp_int32 gtid)
void __kmpc_dispatch_fini_4u (ident_t *loc, kmp_int32 gtid)
void __kmpc_dispatch_fini_8 (ident_t *loc, kmp_int32 gtid)
void __kmpc_dispatch_fini_8u (ident_t *loc, kmp_int32 gtid)
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)
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)
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)
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)
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)
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)
KMP_EXPORT void __kmpc_end (ident_t *)
KMP_EXPORT void __kmpc_end_barrier_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_critical (ident_t *, kmp_int32 global_tid, kmp_critical_name *)
KMP_EXPORT void __kmpc_end_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_ordered (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_reduce (ident_t *loc, kmp_int32 global_tid, kmp_critical_name *lck)
KMP_EXPORT void __kmpc_end_reduce_nowait (ident_t *loc, kmp_int32 global_tid, kmp_critical_name *lck)
KMP_EXPORT void __kmpc_end_serialized_parallel (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_single (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_end_taskq (ident_t *loc, kmp_int32 global_tid, kmpc_thunk_t *thunk)
KMP_EXPORT void __kmpc_end_taskq_task (ident_t *loc, kmp_int32 global_tid, kmpc_thunk_t *thunk)
KMP_EXPORT void __kmpc_flush (ident_t *,...)
KMP_EXPORT void __kmpc_for_static_fini (ident_t *loc, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_fork_call (ident_t *, kmp_int32 nargs, kmpc_micro microtask,...)
KMP_EXPORT kmp_uint64 __kmpc_get_parent_taskid ()
KMP_EXPORT kmp_uint64 __kmpc_get_taskid ()
KMP_EXPORT kmp_int32 __kmpc_global_num_threads (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_global_thread_num (ident_t *)
KMP_EXPORT kmp_int32 __kmpc_in_parallel (ident_t *loc)
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 int __kmpc_invoke_task_func (int gtid)
KMP_EXPORT kmp_int32 __kmpc_master (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_ok_to_fork (ident_t *)
KMP_EXPORT void __kmpc_ordered (ident_t *, kmp_int32 global_tid)
KMP_EXPORT void __kmpc_place_threads (int, int, int)
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 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 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_serialized_parallel (ident_t *, kmp_int32 global_tid)
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 kmp_int32 __kmpc_single (ident_t *, kmp_int32 global_tid)
KMP_EXPORT kmp_int32 __kmpc_task (ident_t *loc, kmp_int32 global_tid, kmpc_thunk_t *thunk)
KMP_EXPORT kmpc_thunk_t__kmpc_task_buffer (ident_t *loc, kmp_int32 global_tid, kmpc_thunk_t *taskq_thunk, kmpc_task_t task)
KMP_EXPORT kmpc_thunk_t__kmpc_taskq (ident_t *loc, kmp_int32 global_tid, kmpc_task_t taskq_task, size_t sizeof_thunk, size_t sizeof_shareds, kmp_int32 flags, kmpc_shared_vars_t **shareds)
KMP_EXPORT void __kmpc_taskq_task (ident_t *loc, kmp_int32 global_tid, kmpc_thunk_t *thunk, kmp_int32 status)
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_threadprivate (ident_t *, kmp_int32 global_tid, void *data, size_t size)
KMP_EXPORT void * __kmpc_threadprivate_cached (ident_t *loc, kmp_int32 global_tid, void *data, size_t size, void ***cache)
KMP_EXPORT void __kmpc_threadprivate_register (ident_t *, void *data, kmpc_ctor ctor, kmpc_cctor cctor, kmpc_dtor dtor)
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_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)
struct private_commonkmp_threadprivate_insert (int gtid, void *pc_addr, void *data_addr, size_t pc_size)
void kmp_threadprivate_insert_private_data (int gtid, void *pc_addr, void *data_addr, size_t pc_size)
KMP_EXPORT void * kmpc_calloc (size_t nelem, size_t elsize)
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_free (void *ptr)
KMP_EXPORT void * kmpc_malloc (size_t size)
KMP_EXPORT void * kmpc_realloc (void *ptr, size_t size)
void kmpc_set_blocktime (int arg)
void KMPC_SET_DYNAMIC (int flag)
void KMPC_SET_NESTED (int flag)
void KMPC_SET_NUM_THREADS (int arg)
void ompc_set_dynamic (int flag)
void ompc_set_nested (int flag)
void ompc_set_num_threads (int arg)

Variables

int __kmp_abort_delay
int __kmp_adjust_gtid_mode
size_t __kmp_align_alloc
volatile int __kmp_all_nth
int __kmp_allThreadsSpecified
int __kmp_avail_proc
char const * __kmp_barrier_branch_bit_env_name [bs_last_barrier]
kmp_uint32 __kmp_barrier_gather_bb_dflt
kmp_uint32 __kmp_barrier_gather_branch_bits [bs_last_barrier]
kmp_bar_pat_e __kmp_barrier_gather_pat_dflt
kmp_bar_pat_e __kmp_barrier_gather_pattern [bs_last_barrier]
char const * __kmp_barrier_pattern_env_name [bs_last_barrier]
char const * __kmp_barrier_pattern_name [bp_last_bar]
kmp_uint32 __kmp_barrier_release_bb_dflt
kmp_uint32 __kmp_barrier_release_branch_bits [bs_last_barrier]
kmp_bar_pat_e __kmp_barrier_release_pat_dflt
kmp_bar_pat_e __kmp_barrier_release_pattern [bs_last_barrier]
char const * __kmp_barrier_type_name [bs_last_barrier]
int __kmp_bt_intervals
int __kmp_chunk
kmp_uint64 __kmp_cpu_frequency
kmp_cpuinfo_t __kmp_cpuinfo
int __kmp_debug_buf
int __kmp_debug_buf_atomic
int __kmp_debug_buf_chars
int __kmp_debug_buf_lines
int __kmp_debug_buf_warn_chars
char * __kmp_debug_buffer
int __kmp_debug_count
kmp_lock_t __kmp_debug_lock
int __kmp_determ_red
int __kmp_dflt_blocktime
int __kmp_dflt_nested
int __kmp_dflt_team_nth
int __kmp_dflt_team_nth_ub
kmp_queuing_lock_t __kmp_dispatch_lock
int __kmp_duplicate_library_ok
int __kmp_env_all_threads
int __kmp_env_blocktime
int __kmp_env_checks
int __kmp_env_chunk
int __kmp_env_consistency_check
int __kmp_env_omp_all_threads
int __kmp_env_omp_stksize
int __kmp_env_stksize
kmp_bootstrap_lock_t __kmp_exit_lock
PACKED_REDUCTION_METHOD_T __kmp_force_reduction_method
int __kmp_foreign_tp
int __kmp_forkjoin_frames
kmp_bootstrap_lock_t __kmp_forkjoin_lock
int __kmp_generate_warnings
kmp_global_t __kmp_global
kmp_lock_t __kmp_global_lock
int __kmp_gtid_mode
kmp_key_t __kmp_gtid_threadprivate_key
enum sched_type __kmp_guided
int __kmp_ht_capable
int __kmp_ht_enabled
int __kmp_ht_log_per_phy
volatile int __kmp_init_common
int __kmp_init_counter
volatile int __kmp_init_gtid
volatile int __kmp_init_middle
volatile int __kmp_init_monitor
volatile int __kmp_init_parallel
volatile int __kmp_init_serial
volatile int __kmp_init_user_locks
unsigned int __kmp_init_wait
kmp_bootstrap_lock_t __kmp_initz_lock
enum library_type __kmp_library
size_t __kmp_malloc_pool_incr
int __kmp_max_nth
kmp_info_t __kmp_monitor
kmp_bootstrap_lock_t __kmp_monitor_lock
size_t __kmp_monitor_stksize
int __kmp_monitor_wakeups
int __kmp_ncores
int __kmp_need_register_atfork
int __kmp_need_register_atfork_specified
struct kmp_nested_nthreads_t __kmp_nested_nth
unsigned int __kmp_next_wait
volatile int __kmp_nth
int __kmp_nThreadsPerCore
int __kmp_par_range
char __kmp_par_range_filename [KMP_PAR_RANGE_FILENAME_LEN]
int __kmp_par_range_lb
char __kmp_par_range_routine [KMP_PAR_RANGE_ROUTINE_LEN]
int __kmp_par_range_ub
int __kmp_reserve_warn
kmp_root_t ** __kmp_root
int __kmp_root_counter
enum sched_type __kmp_sch_map []
enum sched_type __kmp_sched
int __kmp_settings
enum sched_type __kmp_static
size_t __kmp_stkoffset
size_t __kmp_stksize
int __kmp_storage_map
int __kmp_storage_map_verbose
int __kmp_storage_map_verbose_specified
int __kmp_sys_max_nth
int __kmp_sys_min_stksize
volatile kmp_uint32 __kmp_task_counter
volatile kmp_uint32 __kmp_team_counter
volatile kmp_team_t__kmp_team_pool
volatile kmp_info_t__kmp_thread_pool
volatile int __kmp_thread_pool_active_nth
int __kmp_thread_pool_nth
kmp_cached_addr_t__kmp_threadpriv_cache_list
kmp_info_t ** __kmp_threads
int __kmp_threads_capacity
int __kmp_tls_gtid_min
int __kmp_tp_cached
kmp_bootstrap_lock_t __kmp_tp_cached_lock
int __kmp_tp_capacity
int __kmp_version
int __kmp_xproc
kmp_uint32 __kmp_yield_cycle
kmp_uint32 __kmp_yield_init
kmp_uint32 __kmp_yield_next
kmp_int32 __kmp_yield_off_count
kmp_int32 __kmp_yield_on_count
kmp_uint32 __kmp_yielding_on
int _You_must_link_with_exactly_one_OpenMP_library
int _You_must_link_with_Intel_OpenMP_library



#define KMP_IDENT_ATOMIC_REDUCE   0x10
#define KMP_IDENT_AUTOPAR   0x08
#define KMP_IDENT_BARRIER_EXPL   0x20
#define KMP_IDENT_BARRIER_IMPL   0x0040
#define KMP_IDENT_BARRIER_IMPL_FOR   0x0040
#define KMP_IDENT_BARRIER_IMPL_MASK   0x01C0
#define KMP_IDENT_BARRIER_IMPL_SECTIONS   0x00C0
#define KMP_IDENT_BARRIER_IMPL_SINGLE   0x0140
#define KMP_IDENT_BARRIER_IMPL_WORKSHARE   0x01C0
#define KMP_IDENT_IMB   0x01
#define KMP_IDENT_KMPC   0x02
typedef struct ident ident_t
typedef void *(* kmpc_cctor )(void *, void *)
typedef void *(* kmpc_cctor_vec )(void *, void *, size_t)
typedef void *(* kmpc_ctor )(void *)
typedef void *(* kmpc_ctor_vec )(void *, size_t)
typedef void(* kmpc_dtor )(void *)
typedef void(* kmpc_dtor_vec )(void *, size_t)

Detailed Description

Definition in file kmp.h.


Define Documentation

#define __kmp_allocate ( size   )     ___kmp_allocate( (size) KMP_SRC_LOC_CURR )
 
#define __kmp_entry_gtid (  )     __kmp_get_global_thread_id_reg()
#define __kmp_fast_allocate ( this_thr,
size   )     ___kmp_fast_allocate( (this_thr), (size) KMP_SRC_LOC_CURR )

Definition at line 2779 of file kmp.h.

#define __kmp_fast_free ( this_thr,
ptr   )     ___kmp_fast_free( (this_thr), (ptr) KMP_SRC_LOC_CURR )

Definition at line 2780 of file kmp.h.

#define __kmp_free ( ptr   )     ___kmp_free( (ptr) KMP_SRC_LOC_CURR )
 
#define __kmp_get_gtid (  )     __kmp_get_global_thread_id()
 
#define __kmp_get_team (  )     ( __kmp_threads[ (__kmp_get_gtid()) ]-> th.th_team )

Definition at line 813 of file kmp.h.

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

Definition at line 828 of file kmp.h.

Referenced by __kmp_determine_reduction_method().

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

Definition at line 818 of file kmp.h.

Referenced by kmpc_free(), and kmpc_realloc().

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

Definition at line 809 of file kmp.h.

#define __kmp_gtid_from_thread ( thr   ) 
#define __kmp_gtid_from_tid ( tid,
team   ) 
#define __kmp_page_allocate ( size   )     ___kmp_page_allocate( (size) KMP_SRC_LOC_CURR )

Definition at line 2771 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

#define __KMP_TASKQ_THUNKS_PER_TH   1
#define __kmp_team_from_gtid ( gtid   ) 
Value:
( KMP_DEBUG_ASSERT( (gtid) >= 0 ), \
                                        __kmp_threads[ (gtid) ]-> th.th_team )

Definition at line 814 of file kmp.h.

Referenced by __kmp_barrier(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmpc_copyprivate(), GOMP_single_copy_end(), and GOMP_single_copy_start().

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

Definition at line 2788 of file kmp.h.

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

Definition at line 2790 of file kmp.h.

Referenced by __kmpc_taskq_free().

#define __kmp_thread_from_gtid ( gtid   )     ( KMP_DEBUG_ASSERT( (gtid) >= 0 ), __kmp_threads[ (gtid) ] )
#define __kmp_thread_malloc ( th,
size   )     ___kmp_thread_malloc( (th), (size) KMP_SRC_LOC_CURR )

Definition at line 2787 of file kmp.h.

Referenced by __kmp_taskq_allocate().

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

Definition at line 2789 of file kmp.h.

#define __kmp_tid_from_gtid ( gtid   ) 
#define _KMP_GEN_ID ( counter   ) 
Value:
(                                                                  \
        ~ 0                                                            \
    )

Definition at line 2684 of file kmp.h.

#define BUILD_MEMORY   NO_FIRST_TOUCH

Definition at line 156 of file kmp.h.

#define FALSE   0

Definition at line 945 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_aux_set_library(), __kmp_bakery_check(), __kmp_barrier(), __kmp_cleanup(), __kmp_cleanup_user_locks(), __kmp_common_destroy(), __kmp_create_monitor(), __kmp_create_worker(), __kmp_dispatch_init(), __kmp_do_serial_initialize(), __kmp_end_split_barrier(), __kmp_enqueue_task(), __kmp_env_initialize(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_team_threads(), __kmp_free_team(), __kmp_free_thread(), __kmp_get_global_thread_id_reg(), __kmp_GOMP_fork_call(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_ignore_mppbeg(), __kmp_ignore_mppend(), __kmp_infinite_loop(), __kmp_initialize_root(), __kmp_initialize_team(), __kmp_internal_end(), __kmp_launch_monitor(), __kmp_launch_worker(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_match_str(), __kmp_match_with_sentinel(), __kmp_parse_nested_num_threads(), __kmp_print_storage_map_gtid(), __kmp_reap_monitor(), __kmp_reap_thread(), __kmp_register_atfork(), __kmp_reinitialize_team(), __kmp_release_queuing_lock(), __kmp_remove_all_child_taskq(), __kmp_reserve_threads(), __kmp_reset_root(), __kmp_runtime_destroy(), __kmp_set_num_threads(), __kmp_set_stack_info(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_bool(), __kmp_stg_parse_consistency_check(), __kmp_stg_parse_gtid_mode(), __kmp_stg_parse_omp_schedule(), __kmp_stg_parse_storage_map(), __kmp_str_match(), __kmp_suspend(), __kmp_suspend_uninitialize_thread(), __kmp_taskq_tasks_finished(), __kmp_terminate_thread(), __kmp_test_drdpa_lock(), __kmp_test_queuing_lock(), __kmp_test_tas_lock(), __kmp_test_ticket_lock(), __kmp_thread_sleep(), __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmp_wait_sleep(), __kmp_win32_cond_init(), __kmpc_atomic_2(), __kmpc_atomic_8(), __kmpc_barrier(), __kmpc_barrier_master_nowait(), __kmpc_begin(), __kmpc_copyprivate(), __kmpc_end(), __kmpc_end_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), ATOMIC_FIXED_ADD(), FTN_SET_DYNAMIC(), FTN_SET_NESTED(), FTN_SET_WARNINGS_OFF(), GOMP_loop_end(), GOMP_parallel_sections_start(), GOMP_sections_end(), GOMP_single_copy_end(), GOMP_single_copy_start(), GOMP_single_start(), ompc_set_dynamic(), and ompc_set_nested().

#define FIRST_TOUCH   1

Definition at line 152 of file kmp.h.

#define get__blocktime ( xteam,
xtid   )     ((xteam)->t.t_set_blocktime[ (xtid)])

Definition at line 1835 of file kmp.h.

Referenced by FTN_GET_BLOCKTIME().

#define get__bt_intervals ( xteam,
xtid   )     ((xteam)->t.t_set_bt_intervals[(xtid)])

Definition at line 1837 of file kmp.h.

#define get__bt_set ( xteam,
xtid   )     ((xteam)->t.t_set_bt_set[ (xtid)])

Definition at line 1836 of file kmp.h.

Referenced by FTN_GET_BLOCKTIME().

#define get__dynamic ( xthread   ) 
Value:
( ( (xthread)->th.th_team->t.t_set_dynamic[((xthread)->th.th_info.ds.ds_tid)] ) \
            ? (FTN_TRUE) : (FTN_FALSE) )

Definition at line 1851 of file kmp.h.

Referenced by FTN_GET_DYNAMIC().

#define get__dynamic_2 ( xteam,
xtid   )     ( (xteam)->t.t_set_dynamic[(xtid)] )

Definition at line 1873 of file kmp.h.

Referenced by __kmp_reserve_threads().

#define get__nested ( xthread   ) 
Value:
( ( (xthread)->th.th_team->t.t_set_nested[((xthread)->th.th_info.ds.ds_tid)] ) \
            ? (FTN_TRUE) : (FTN_FALSE) )

Definition at line 1843 of file kmp.h.

Referenced by FTN_GET_NESTED().

#define get__nested_2 ( xteam,
xtid   )     ( (xteam)->t.t_set_nested[(xtid)] )

Definition at line 1872 of file kmp.h.

Referenced by __kmp_reserve_threads().

#define get__nproc_2 ( xteam,
xtid   )     ( (xteam)->t.t_set_nproc[(xtid)] )

Definition at line 1874 of file kmp.h.

Referenced by __kmp_fork_call().

#define get__sched_2 ( xteam,
xtid   )     ( (xteam)->t.t_set_sched[(xtid)] )

Definition at line 1875 of file kmp.h.

Referenced by __kmp_fork_call().

#define HIGH_WATER_MARK ( nslots   )     (((nslots) * 3) / 4)

Definition at line 1123 of file kmp.h.

Referenced by __kmpc_taskq().

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

Definition at line 1022 of file kmp.h.

Referenced by __kmp_check_sync().

#define IS_CONS_TYPE_TASKQ ( ct   )     ( ((int)(ct)) >= ((int)ct_taskq) && ((int)(ct)) <= ((int)ct_task_ordered) )

Definition at line 1021 of file kmp.h.

Referenced by __kmp_check_workshare().

#define KMP_BARRIER_BUMP_BIT   2

Definition at line 1544 of file kmp.h.

#define KMP_BARRIER_ICV_PULL   0

Definition at line 2228 of file kmp.h.

#define KMP_BARRIER_SLEEP_BIT   0

Definition at line 1542 of file kmp.h.

#define KMP_BARRIER_SLEEP_STATE   ((kmp_uint) (1 << KMP_BARRIER_SLEEP_BIT))

Definition at line 1546 of file kmp.h.

Referenced by __kmp_fork_barrier(), __kmp_release(), __kmp_resume(), and __kmp_suspend().

#define KMP_BARRIER_STATE_BUMP   ((kmp_uint) (1 << KMP_BARRIER_BUMP_BIT))
#define KMP_BARRIER_UNUSED_BIT   1

Definition at line 1543 of file kmp.h.

#define KMP_BARRIER_UNUSED_STATE   ((kmp_uint) (1 << KMP_BARRIER_UNUSED_BIT))

Definition at line 1547 of file kmp.h.

Referenced by __kmp_hyper_barrier_gather().

#define KMP_BLOCKTIME_MULTIPLIER   (1000)

Definition at line 875 of file kmp.h.

#define KMP_CANCEL_THREADS

Definition at line 94 of file kmp.h.

#define KMP_COMPARE_AND_STORE_ACQ16   __kmp_compare_and_store16

Definition at line 3087 of file kmp.h.

Referenced by __kmpc_atomic_2().

#define KMP_COMPARE_AND_STORE_ACQ32   __kmp_compare_and_store32
#define KMP_COMPARE_AND_STORE_ACQ64   __kmp_compare_and_store64
#define KMP_COMPARE_AND_STORE_ACQ8   __kmp_compare_and_store8

Definition at line 3084 of file kmp.h.

Referenced by ATOMIC_FIXED_ADD().

#define KMP_COMPARE_AND_STORE_PTR ( dst,
cmp,
src   )     KMP_COMPARE_AND_STORE_REL64((volatile kmp_int64 *)dst,(kmp_int64)cmp,(kmp_int64)src)

Definition at line 3108 of file kmp.h.

Referenced by ___kmp_fast_allocate(), ___kmp_fast_free(), and __kmp_get_critical_section_ptr().

#define KMP_COMPARE_AND_STORE_REL16   __kmp_compare_and_store16

Definition at line 3088 of file kmp.h.

#define KMP_COMPARE_AND_STORE_REL32   __kmp_compare_and_store32

Definition at line 3094 of file kmp.h.

Referenced by __kmp_release_queuing_lock().

#define KMP_COMPARE_AND_STORE_REL64   __kmp_compare_and_store64

Definition at line 3099 of file kmp.h.

Referenced by __kmp_release_queuing_lock().

#define KMP_COMPARE_AND_STORE_REL8   __kmp_compare_and_store8

Definition at line 3085 of file kmp.h.

 
#define KMP_CPU_PAUSE (  ) 
#define KMP_DEBUG_BUF_CHARS_INIT   128

Definition at line 2468 of file kmp.h.

#define KMP_DEBUG_BUF_CHARS_MIN   2

Definition at line 2469 of file kmp.h.

#define KMP_DEBUG_BUF_LINES_INIT   512

Definition at line 2465 of file kmp.h.

#define KMP_DEBUG_BUF_LINES_MIN   1

Definition at line 2466 of file kmp.h.

#define KMP_DEFAULT_BLOCKTIME   (200)

Definition at line 878 of file kmp.h.

Referenced by __kmp_do_serial_initialize(), and __kmp_stg_parse_blocktime().

#define KMP_DEFAULT_CHUNK   1
#define KMP_DEFAULT_INIT_WAIT   2048U

Definition at line 906 of file kmp.h.

#define KMP_DEFAULT_INTERVAL   0

Definition at line 898 of file kmp.h.

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

Definition at line 865 of file kmp.h.

#define KMP_DEFAULT_MONITOR_STKSIZE   ((size_t)(64 * 1024))

Definition at line 863 of file kmp.h.

Referenced by __kmp_create_monitor().

#define KMP_DEFAULT_NEXT_WAIT   1024U

Definition at line 910 of file kmp.h.

#define KMP_DEFAULT_STATSCOLS   80

Definition at line 894 of file kmp.h.

#define KMP_DEFAULT_STKOFFSET   KMP_MIN_STKOFFSET

Definition at line 871 of file kmp.h.

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

Definition at line 860 of file kmp.h.

Referenced by __kmp_create_worker().

#define KMP_FAST_REDUCTION_BARRIER   1

Definition at line 403 of file kmp.h.

 
#define KMP_GEN_TASK_ID (  )     _KMP_GEN_ID( __kmp_task_counter )

Definition at line 2691 of file kmp.h.

 
#define KMP_GEN_TEAM_ID (  )     _KMP_GEN_ID( __kmp_team_counter )

Definition at line 2692 of file kmp.h.

Referenced by __kmp_reinitialize_team().

#define KMP_GTID_DNE   (-2)
#define KMP_GTID_MIN   (-6)

Definition at line 800 of file kmp.h.

#define KMP_GTID_MONITOR   (-4)
#define KMP_GTID_SHUTDOWN   (-3)
#define KMP_GTID_UNKNOWN   (-5)

Definition at line 799 of file kmp.h.

#define KMP_HANDLE_SIGNALS   (KMP_OS_LINUX || KMP_OS_WINDOWS || KMP_OS_DARWIN)

Definition at line 119 of file kmp.h.

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

Definition at line 1357 of file kmp.h.

#define KMP_HASH_TABLE_LOG2   9

Definition at line 1355 of file kmp.h.

#define KMP_HASH_TABLE_SIZE   (1 << KMP_HASH_TABLE_LOG2)

Definition at line 1356 of file kmp.h.

Referenced by __kmp_common_destroy(), and __kmp_common_initialize().

#define KMP_IDENT_ATOMIC_REDUCE   0x10

Compiler generates atomic reduction option for kmpc_reduce*

Definition at line 203 of file kmp.h.

#define KMP_IDENT_AUTOPAR   0x08

Entry point generated by auto-parallelization

Definition at line 201 of file kmp.h.

Referenced by __kmpc_end_serialized_parallel(), and __kmpc_serialized_parallel().

#define KMP_IDENT_BARRIER_EXPL   0x20

To mark a 'barrier' directive in user code

Definition at line 205 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL   0x0040

To Mark implicit barriers.

Definition at line 207 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL_FOR   0x0040

Definition at line 209 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL_MASK   0x01C0

Definition at line 208 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL_SECTIONS   0x00C0

Definition at line 210 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL_SINGLE   0x0140

Definition at line 212 of file kmp.h.

#define KMP_IDENT_BARRIER_IMPL_WORKSHARE   0x01C0

Definition at line 213 of file kmp.h.

#define KMP_IDENT_KMPC   0x02

Use c-style ident structure

Definition at line 198 of file kmp.h.

Referenced by __kmp_check_sync().

#define KMP_INIT_BARRIER_STATE   0
#define KMP_INIT_YIELD ( count   )     { (count) = __kmp_yield_init; }
#define KMP_INITIAL_GTID ( gtid   )     ( (gtid) == 0 )
#define KMP_INLINE_ARGV_BYTES   ( 2 * CACHE_LINE - ( ( 3 * KMP_PTR_SKIP + 2 * sizeof(int) ) % CACHE_LINE ) )

Definition at line 2247 of file kmp.h.

#define KMP_INLINE_ARGV_ENTRIES   ( KMP_INLINE_ARGV_BYTES / KMP_PTR_SKIP )

Definition at line 2249 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

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

Definition at line 2795 of file kmp.h.

#define KMP_INTERNAL_FREE (  )     free(p)
#define KMP_INTERNAL_MALLOC ( sz   )     malloc(sz)
#define KMP_INTERNAL_REALLOC ( p,
sz   )     realloc((p),(sz))
#define KMP_INTERVALS_FROM_BLOCKTIME ( blocktime,
monitor_wakeups   ) 
Value:
( ( (blocktime) + (KMP_BLOCKTIME_MULTIPLIER / (monitor_wakeups)) - 1 ) /  \
                                   (KMP_BLOCKTIME_MULTIPLIER / (monitor_wakeups)) )

Definition at line 888 of file kmp.h.

Referenced by __kmp_aux_set_blocktime(), __kmp_do_serial_initialize(), and __kmp_stg_parse_blocktime().

#define KMP_IOMP_NAME   "Intel(R) OMP"

Definition at line 184 of file kmp.h.

#define KMP_MASTER_GTID ( gtid   )     ( __kmp_tid_from_gtid((gtid)) == 0 )
#define KMP_MASTER_TID ( tid   )     ( (tid) == 0 )
#define KMP_MAX_ACTIVE_LEVELS_LIMIT   INT_MAX

Definition at line 920 of file kmp.h.

#define KMP_MAX_BLOCKTIME   (INT_MAX)
#define KMP_MAX_BRANCH_BITS   31

Definition at line 918 of file kmp.h.

Referenced by __kmp_stg_parse_barrier_branch_bit().

#define KMP_MAX_CHUNK   (INT_MAX-1)

Definition at line 901 of file kmp.h.

Referenced by __kmp_stg_parse_omp_schedule().

#define KMP_MAX_DISP_BUF   7
#define KMP_MAX_FIELDS   32

Definition at line 916 of file kmp.h.

#define KMP_MAX_INIT_WAIT   (INT_MAX/2)

Definition at line 905 of file kmp.h.

Referenced by __kmp_stg_parse_init_wait().

#define KMP_MAX_INTERVAL   (INT_MAX-1)

Definition at line 897 of file kmp.h.

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

Definition at line 867 of file kmp.h.

Referenced by __kmp_stg_parse_malloc_pool_incr().

#define KMP_MAX_MONITOR_WAKEUPS   (1000)

Definition at line 874 of file kmp.h.

#define KMP_MAX_NEXT_WAIT   (INT_MAX/2)

Definition at line 909 of file kmp.h.

Referenced by __kmp_stg_parse_next_wait().

#define KMP_MAX_NTH   (32 * 1024)

Definition at line 842 of file kmp.h.

Referenced by __kmp_runtime_initialize().

#define KMP_MAX_ORDERED   8

Definition at line 914 of file kmp.h.

#define KMP_MAX_STATSCOLS   4096

Definition at line 893 of file kmp.h.

#define KMP_MAX_STKOFFSET   KMP_MAX_STKSIZE

Definition at line 870 of file kmp.h.

Referenced by __kmp_stg_parse_stackoffset().

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

Definition at line 876 of file kmp.h.

Referenced by __kmp_aux_set_blocktime(), and __kmp_stg_parse_blocktime().

#define KMP_MIN_CHUNK   1

Definition at line 900 of file kmp.h.

#define KMP_MIN_INIT_WAIT   1

Definition at line 904 of file kmp.h.

Referenced by __kmp_stg_parse_init_wait().

#define KMP_MIN_INTERVAL   0

Definition at line 896 of file kmp.h.

#define KMP_MIN_MALLOC_ARGV_ENTRIES   100

Definition at line 2223 of file kmp.h.

Referenced by __kmp_alloc_argv_entries().

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

Definition at line 866 of file kmp.h.

Referenced by __kmp_stg_parse_malloc_pool_incr().

#define KMP_MIN_MONITOR_WAKEUPS   (1)

Definition at line 873 of file kmp.h.

#define KMP_MIN_NEXT_WAIT   1

Definition at line 908 of file kmp.h.

Referenced by __kmp_stg_parse_next_wait().

#define KMP_MIN_NTH   1
#define KMP_MIN_STATSCOLS   40

Definition at line 892 of file kmp.h.

#define KMP_MIN_STKOFFSET   (0)

Definition at line 869 of file kmp.h.

Referenced by __kmp_stg_parse_stackoffset().

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

Definition at line 849 of file kmp.h.

Referenced by __kmp_runtime_initialize().

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

Definition at line 251 of file kmp.h.

Referenced by __kmp_acquire_queuing_lock_timed_template(), and __kmp_release_queuing_lock().

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

Definition at line 790 of file kmp.h.

#define KMP_PAR_RANGE_FILENAME_LEN   1024

Definition at line 2485 of file kmp.h.

Referenced by __kmp_stg_parse_par_range().

#define KMP_PAR_RANGE_ROUTINE_LEN   1024

Definition at line 2483 of file kmp.h.

Referenced by __kmp_stg_parse_par_range().

#define KMP_THREAD_ATTR

Definition at line 95 of file kmp.h.

#define KMP_TLS_GTID_MIN   INT_MAX

Definition at line 927 of file kmp.h.

Referenced by __kmp_runtime_initialize().

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

Definition at line 834 of file kmp.h.

#define KMP_WAKEUPS_FROM_BLOCKTIME ( blocktime,
monitor_wakeups   ) 
Value:
( ((blocktime) == KMP_MAX_BLOCKTIME) ? (monitor_wakeups) : \
                                   ((blocktime) == KMP_MIN_BLOCKTIME) ? KMP_MAX_MONITOR_WAKEUPS : \
                                   ((monitor_wakeups) > (KMP_BLOCKTIME_MULTIPLIER / (blocktime))) ? (monitor_wakeups) : \
                                       (KMP_BLOCKTIME_MULTIPLIER) / (blocktime) )

Definition at line 881 of file kmp.h.

Referenced by __kmp_do_serial_initialize(), and __kmp_stg_parse_blocktime().

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

Definition at line 934 of file kmp.h.

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

Definition at line 931 of file kmp.h.

#define KMP_YIELD ( cond   )     { KMP_CPU_PAUSE(); __kmp_static_yield( (cond) ); }
#define KMP_YIELD_SPIN ( count   ) 
#define KMP_YIELD_WHEN ( cond,
count   ) 
Value:
{ KMP_CPU_PAUSE(); (count) -= 2; \
                                                if (!(count)) { KMP_YIELD(cond); (count) = __kmp_yield_next; } }

Definition at line 988 of file kmp.h.

Referenced by __kmpc_end_taskq().

#define NO_FIRST_TOUCH   0

Definition at line 151 of file kmp.h.

#define NSEC_PER_SEC   1000000000L

Definition at line 176 of file kmp.h.

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

#define NUM_LISTS   4

Definition at line 2178 of file kmp.h.

Referenced by __kmp_initialize_fast_memory().

#define OMPT_SUPPORT   1
#define PACK_REDUCTION_METHOD_AND_BARRIER ( reduction_method,
barrier_type   )     ( ( reduction_method ) | ( barrier_type ) )

Definition at line 426 of file kmp.h.

#define set__blocktime_team ( xteam,
xtid,
xval   )     ( ( (xteam)->t.t_set_blocktime[(xtid)] ) = (xval) )

Definition at line 1863 of file kmp.h.

Referenced by __kmp_aux_set_blocktime().

#define set__bt_intervals_team ( xteam,
xtid,
xval   )     ( ( (xteam)->t.t_set_bt_intervals[(xtid)] ) = (xval) )

Definition at line 1866 of file kmp.h.

Referenced by __kmp_aux_set_blocktime().

#define set__bt_set_team ( xteam,
xtid,
xval   )     ( ( (xteam)->t.t_set_bt_set[(xtid)] ) = (xval) )

Definition at line 1869 of file kmp.h.

Referenced by __kmp_aux_set_blocktime().

#define set__dynamic ( xthread,
xval   ) 
Value:
( ( (xthread)->th.th_serial_team->t.t_set_dynamic[0] ) = \
              ( (xthread)->th.th_team->t.t_set_dynamic[((xthread)->th.th_info.ds.ds_tid)] ) = \
              (xval) )

Definition at line 1847 of file kmp.h.

Referenced by FTN_SET_DYNAMIC(), and ompc_set_dynamic().

#define set__nested ( xthread,
xval   ) 
Value:
( ( (xthread)->th.th_serial_team->t.t_set_nested[0] ) = \
              ( (xthread)->th.th_team->t.t_set_nested[((xthread)->th.th_info.ds.ds_tid)] ) = \
              (xval) )

Definition at line 1839 of file kmp.h.

Referenced by FTN_SET_NESTED(), and ompc_set_nested().

#define set__nproc ( xthread,
xval   ) 
Value:
( ( (xthread)->th.th_serial_team->t.t_set_nproc[0] ) = \
              ( (xthread)->th.th_team->t.t_set_nproc[((xthread)->th.th_info.ds.ds_tid)] ) = \
              (xval) )

Definition at line 1855 of file kmp.h.

Referenced by __kmp_set_num_threads().

#define set__nproc_p ( xthread,
xval   )     ( ( (xthread)->th.th_team->t.t_set_nproc[((xthread)->th.th_info.ds.ds_tid)] ) = (xval) )

Definition at line 1860 of file kmp.h.

Referenced by __kmp_do_middle_initialize(), and __kmp_user_set_library().

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

Definition at line 260 of file kmp.h.

Referenced by __kmp_parse_nested_num_threads().

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

Definition at line 261 of file kmp.h.

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

Definition at line 259 of file kmp.h.

Referenced by __kmp_parse_nested_num_threads().

#define TEST_REDUCTION_METHOD ( packed_reduction_method,
which_reduction_block   )     ( ( UNPACK_REDUCTION_METHOD( packed_reduction_method ) ) == ( which_reduction_block ) )
#define TQF_ALL_TASKS_QUEUED   0x0800
#define TQF_DEALLOCATED   0x2000
#define TQF_HEURISTICS   0x0008

Definition at line 1131 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_INTERFACE_FLAGS   0x00ff

Definition at line 1137 of file kmp.h.

Referenced by __kmp_dump_TQF(), __kmpc_task_buffer(), and __kmpc_taskq().

#define TQF_INTERFACE_RESERVED1   0x0010

Definition at line 1132 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_INTERFACE_RESERVED2   0x0020

Definition at line 1133 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_INTERFACE_RESERVED3   0x0040

Definition at line 1134 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_INTERFACE_RESERVED4   0x0080

Definition at line 1135 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_INTERNAL_FLAGS   0x3f00

Definition at line 1146 of file kmp.h.

Referenced by __kmp_dump_TQF().

#define TQF_IS_LAST_TASK   0x0100
#define TQF_IS_LASTPRIVATE   0x0002

Definition at line 1129 of file kmp.h.

Referenced by __kmp_dump_TQF(), __kmp_find_task_in_queue(), and __kmpc_end_taskq_task().

#define TQF_IS_NOWAIT   0x0004
#define TQF_IS_ORDERED   0x0001

Definition at line 1128 of file kmp.h.

Referenced by __kmp_dump_TQF(), __kmp_execute_task_from_queue(), __kmpc_task(), and __kmpc_taskq().

#define TQF_PARALLEL_CONTEXT   0x1000
#define TQF_RELEASE_WORKERS   0x0400

Definition at line 1141 of file kmp.h.

Referenced by __kmp_dump_TQF(), __kmp_enqueue_task(), __kmpc_end_taskq(), and __kmpc_taskq().

#define TQF_TASKQ_TASK   0x0200
#define TREE_REDUCE_BLOCK_WITH_PLAIN_BARRIER   ( PACK_REDUCTION_METHOD_AND_BARRIER( tree_reduce_block, bs_plain_barrier ) )

Definition at line 452 of file kmp.h.

Referenced by __kmp_determine_reduction_method().

#define TREE_REDUCE_BLOCK_WITH_REDUCTION_BARRIER   ( PACK_REDUCTION_METHOD_AND_BARRIER( tree_reduce_block, bs_reduction_barrier ) )

Definition at line 449 of file kmp.h.

Referenced by __kmp_determine_reduction_method().

#define TRUE   (! FALSE)

Definition at line 946 of file kmp.h.

Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_affinity_bind_thread(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_aux_set_blocktime(), __kmp_aux_set_library(), __kmp_aux_set_stacksize(), __kmp_bakery_check(), __kmp_check_stack_overlap(), __kmp_common_initialize(), __kmp_create_monitor(), __kmp_create_worker(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_env_initialize(), __kmp_find_and_remove_finished_child_taskq(), __kmp_find_task_in_queue(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_free_thread(), __kmp_hyper_barrier_release(), __kmp_ignore_mppbeg(), __kmp_ignore_mppend(), __kmp_initialize_info(), __kmp_internal_begin(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_monitor(), __kmp_launch_worker(), __kmp_linear_barrier_release(), __kmp_match_str(), __kmp_parallel_initialize(), __kmp_parse_nested_num_threads(), __kmp_print_version_1(), __kmp_print_version_2(), __kmp_reap_common(), __kmp_register_root(), __kmp_release_queuing_lock(), __kmp_remove_queue_from_tree(), __kmp_runtime_initialize(), __kmp_set_stack_info(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_bool(), __kmp_stg_parse_consistency_check(), __kmp_stg_parse_gtid_mode(), __kmp_stg_parse_init_at_fork(), __kmp_stg_parse_omp_schedule(), __kmp_stg_parse_storage_map(), __kmp_suspend(), __kmp_suspend_initialize_thread(), __kmp_taskq_tasks_finished(), __kmp_terminate_thread(), __kmp_test_drdpa_lock(), __kmp_test_queuing_lock(), __kmp_test_tas_lock(), __kmp_test_ticket_lock(), __kmp_tree_barrier_release(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), __kmp_wait_yield_8(), __kmp_win32_cond_init(), __kmpc_atomic_2(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_barrier_master(), __kmpc_end_taskq(), __kmpc_fork_call(), __kmpc_ok_to_fork(), __kmpc_reduce(), __kmpc_serialized_parallel(), __kmpc_single(), __kmpc_taskq(), __kmpc_threadprivate_register_vec(), ATOMIC_FIXED_ADD(), FTN_SET_DYNAMIC(), FTN_SET_NESTED(), GOMP_parallel_sections_start(), GOMP_sections_start(), ompc_set_dynamic(), and ompc_set_nested().

#define UNPACK_REDUCTION_BARRIER ( packed_reduction_method   )     ( ( enum barrier_type )( ( packed_reduction_method ) & ( 0x000000FF ) ) )

Definition at line 432 of file kmp.h.

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

#define UNPACK_REDUCTION_METHOD ( packed_reduction_method   )     ( ( enum _reduction_method )( ( packed_reduction_method ) & ( 0x0000FF00 ) ) )

Definition at line 429 of file kmp.h.

#define USE_CMP_XCHG_FOR_BGET   1

Definition at line 167 of file kmp.h.

#define USE_FAST_MEMORY   3

Definition at line 162 of file kmp.h.

#define USEC_PER_SEC   1000000L

Definition at line 180 of file kmp.h.

Referenced by __kmp_elapsed().


Typedef Documentation

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 ident ident_t

The ident structure that describes a source location.

Definition at line 1594 of file kmp.h.

Definition at line 1605 of file kmp.h.

typedef enum kmp_bar_pat kmp_bar_pat_e
typedef struct KMP_ALIGN_CACHE kmp_base_info kmp_base_info_t
typedef struct KMP_ALIGN_CACHE kmp_base_team kmp_base_team_t
typedef struct KMP_ALIGN_CACHE kmp_bstate kmp_bstate_t
typedef struct kmp_cpuinfo kmp_cpuinfo_t
typedef kmp_int32 kmp_critical_name[8]

Definition at line 1243 of file kmp.h.

typedef union KMP_ALIGN_CACHE kmp_desc kmp_desc_t
typedef struct kmp_disp kmp_disp_t
typedef union KMP_ALIGN_CACHE kmp_global kmp_global_t
typedef union kmp_info kmp_info_p [write]

Definition at line 238 of file kmp.h.

typedef union KMP_ALIGN_CACHE kmp_info kmp_info_t
typedef struct kmp_local kmp_local_t
typedef union KMP_ALIGN_CACHE kmp_ordered_team kmp_ordered_team_t
typedef struct kmp_r_sched kmp_r_sched_t
typedef union kmp_root kmp_root_p [write]

Definition at line 239 of file kmp.h.

typedef union KMP_ALIGN_CACHE kmp_root kmp_root_t
typedef enum kmp_sched kmp_sched_t
typedef union KMP_ALIGN_CACHE kmp_sleep_team kmp_sleep_team_t
typedef struct kmp_sys_info kmp_sys_info_t
typedef union kmp_task_team kmp_task_team_t [write]

Definition at line 236 of file kmp.h.

typedef struct kmp_taskdata kmp_taskdata_t [read]

Definition at line 235 of file kmp.h.

typedef struct KMP_ALIGN_CACHE kmp_taskq kmp_taskq_t
typedef union kmp_team kmp_team_p [write]

Definition at line 237 of file kmp.h.

typedef union kmp_team kmp_team_t [write]

Definition at line 234 of file kmp.h.

typedef union KMP_ALIGN_CACHE kmp_time_global kmp_time_global_t
typedef void*(* kmpc_cctor)(void *, void *)

Pointer to an alternate constructor. The first argument is the this pointer.

Definition at line 1280 of file kmp.h.

typedef void*(* kmpc_cctor_vec)(void *, void *, size_t)

Array constructor. First argument is the this pointer Third argument the number of array elements.

Definition at line 1302 of file kmp.h.

typedef void*(* kmpc_ctor_vec)(void *, size_t)

Array constructor. First argument is the this pointer Second argument the number of array elements.

Definition at line 1290 of file kmp.h.

typedef void(* kmpc_dtor)(void *)

Pointer to the destructor function. The first argument is the this pointer

Definition at line 1275 of file kmp.h.

typedef void(* kmpc_dtor_vec)(void *, size_t)

Pointer to the array destructor function. The first argument is the this pointer Second argument the number of array elements.

Definition at line 1296 of file kmp.h.

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

Definition at line 1254 of file kmp.h.

typedef void(* kmpc_task_t)(kmp_int32 global_tid, struct kmpc_thunk_t *thunk)

Definition at line 1202 of file kmp.h.

typedef int(* launch_t)(int gtid)

Definition at line 2220 of file kmp.h.

Definition at line 456 of file kmp.h.


Enumeration Type Documentation

Enumerator:
reduction_method_not_defined 
critical_reduce_block 
atomic_reduce_block 
tree_reduce_block 
empty_reduce_block 

Definition at line 410 of file kmp.h.

Enumerator:
bs_plain_barrier 
bs_forkjoin_barrier 
bs_reduction_barrier 
bs_last_barrier 

Definition at line 1558 of file kmp.h.

enum cons_type
Enumerator:
ct_none 
ct_parallel 
ct_pdo 
ct_pdo_ordered 
ct_psections 
ct_psingle 
ct_taskq 
ct_task 
ct_task_ordered 
ct_critical 
ct_ordered_in_parallel 
ct_ordered_in_pdo 
ct_ordered_in_taskq 
ct_master 
ct_reduce 
ct_barrier 

Definition at line 997 of file kmp.h.

Enumerator:
dynamic_default 
dynamic_random 
dynamic_thread_limit 
dynamic_max 

Definition at line 276 of file kmp.h.

Enumerator:
bp_linear_bar 
bp_tree_bar 
bp_hyper_bar 
bp_last_bar 

Definition at line 1572 of file kmp.h.

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 

Definition at line 289 of file kmp.h.

Enumerator:
ts_stop 
ts_start 
ts_pause 
ts_last_state 

Definition at line 268 of file kmp.h.

Enumerator:
library_none 
library_serial 
library_turnaround 
library_throughput 

Definition at line 385 of file kmp.h.


Function Documentation

void* ___kmp_allocate ( size_t size  KMP_SRC_LOC_DECL  ) 

Definition at line 1693 of file kmp_alloc.c.

References ___kmp_allocate_align(), __kmp_align_alloc, KE_TRACE, and KMP_SRC_LOC_PARM.

void* ___kmp_fast_allocate ( kmp_info_t this_thr,
size_t size  KMP_SRC_LOC_DECL 
)
void ___kmp_fast_free ( kmp_info_t this_thr,
void *ptr  KMP_SRC_LOC_DECL 
)
void ___kmp_free ( void *ptr  KMP_SRC_LOC_DECL  ) 
void* ___kmp_page_allocate ( size_t size  KMP_SRC_LOC_DECL  ) 

Definition at line 1745 of file kmp_alloc.c.

References ___kmp_allocate_align(), KE_TRACE, and KMP_SRC_LOC_PARM.

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

Definition at line 1528 of file kmp_alloc.c.

References KE_TRACE, and KMP_SRC_LOC_PARM.

void ___kmp_thread_free ( kmp_info_t th,
void *ptr  KMP_SRC_LOC_DECL 
)

Definition at line 1559 of file kmp_alloc.c.

References KE_TRACE, and KMP_SRC_LOC_PARM.

void* ___kmp_thread_malloc ( kmp_info_t th,
size_t size  KMP_SRC_LOC_DECL 
)

Definition at line 1513 of file kmp_alloc.c.

References KE_TRACE, and KMP_SRC_LOC_PARM.

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

Definition at line 1544 of file kmp_alloc.c.

References KE_TRACE, and KMP_SRC_LOC_PARM.

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

Definition at line 764 of file kmp_runtime.c.

References __kmp_infinite_loop().

Referenced by __kmp_wait_sleep().

void __kmp_adjust_num_threads ( int  new_nproc  ) 
kmp_team_t* __kmp_allocate_team ( kmp_root_t root,
int  new_nproc,
int  max_nproc,
ompt_parallel_id_t  ompt_parallel_id,
int  new_set_nproc,
int  new_set_dynamic,
int  new_set_nested,
int  new_set_blocktime,
int  new_bt_intervals,
int  new_bt_set,
int  argc 
)
kmp_info_t* __kmp_allocate_thread ( kmp_root_t root,
kmp_team_t team,
int  tid 
)
void __kmp_aux_set_blocktime ( int  arg,
kmp_info_t thread,
int  tid 
)
void __kmp_aux_set_defaults ( char const *  str,
int  len 
)
void __kmp_aux_set_library ( enum library_type  arg  ) 
void __kmp_aux_set_stacksize ( size_t  arg  ) 
int __kmp_barrier ( enum barrier_type  bt,
int  gtid,
int  is_split,
size_t  reduce_size,
void *  reduce_data,
void(*)(void *, void *)  reduce 
)
void __kmp_check_stack_overlap ( kmp_info_t thr  ) 
void __kmp_cleanup ( void   ) 
void __kmp_clear_system_time ( void   ) 
void __kmp_common_destroy ( void   ) 
void __kmp_common_destroy_gtid ( int  gtid  ) 
void __kmp_common_initialize ( void   ) 
kmp_int16 __kmp_compare_and_store16 ( volatile kmp_int16 *  p,
kmp_int16  cv,
kmp_int16  sv 
)
kmp_int32 __kmp_compare_and_store32 ( volatile kmp_int32 *  p,
kmp_int32  cv,
kmp_int32  sv 
)
kmp_int32 __kmp_compare_and_store64 ( volatile kmp_int64 *  p,
kmp_int64  cv,
kmp_int64  sv 
)
kmp_int8 __kmp_compare_and_store8 ( volatile kmp_int8 *  p,
kmp_int8  cv,
kmp_int8  sv 
)
void __kmp_create_monitor ( kmp_info_t th  ) 
void __kmp_create_worker ( int  gtid,
kmp_info_t th,
size_t  stack_size 
)
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 
)
void __kmp_disable ( int *  old_state  ) 

Definition at line 1495 of file z_Linux_util.c.

References KMP_CHECK_SYSFAIL.

void __kmp_elapsed ( double *   ) 

Definition at line 2187 of file z_Linux_util.c.

References KMP_CHECK_SYSFAIL_ERRNO, NSEC_PER_SEC, status, and USEC_PER_SEC.

Referenced by __kmp_get_load_balance(), and FTN_GET_WTIME().

void __kmp_elapsed_tick ( double *   ) 

Definition at line 2209 of file z_Linux_util.c.

Referenced by FTN_GET_WTICK().

void __kmp_enable ( int  old_state  ) 

Definition at line 1484 of file z_Linux_util.c.

References KMP_CHECK_SYSFAIL, and KMP_DEBUG_ASSERT.

void __kmp_end_split_barrier ( enum barrier_type  bt,
int  gtid 
)
int __kmp_enter_single ( int  gtid,
ident_t id_ref,
int  push_ws 
)
kmp_info_t* __kmp_entry_thread (  )  [inline]
kmp_uint32 __kmp_eq_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 2274 of file kmp_dispatch.cpp.

kmp_uint32 __kmp_eq_8 ( kmp_uint64  value,
kmp_uint64  checker 
)

Definition at line 2293 of file kmp_dispatch.cpp.

void __kmp_exit_single ( int  gtid  ) 

Definition at line 1152 of file kmp_runtime.c.

References __kmp_env_consistency_check, __kmp_pop_workshare(), and ct_psingle.

Referenced by __kmpc_end_single().

void __kmp_exit_thread ( int  exit_status  ) 

Definition at line 1227 of file z_Linux_util.c.

void __kmp_expand_file_name ( char *  result,
size_t  rlen,
char *  pattern 
)
void __kmp_expand_host_name ( char *  buffer,
size_t  size 
)

Definition at line 337 of file kmp_utility.c.

References KMP_DEBUG_ASSERT, and unknown.

Referenced by __kmp_expand_file_name().

void __kmp_finalize_bget ( kmp_info_t th  ) 

Referenced by __kmp_reap_thread().

int __kmp_fork_call ( ident_t loc,
int  gtid,
int  exec_master,
kmp_int32  argc,
microtask_t  microtask,
launch_t  invoker,
va_list  ap 
)
void __kmp_free_fast_memory ( kmp_info_t this_thr  ) 

Definition at line 2031 of file kmp_alloc.c.

References __kmp_gtid_from_thread, and KE_TRACE.

Referenced by __kmp_reap_thread().

void __kmp_free_team ( kmp_root_t ,
kmp_team_t  
)
void __kmp_free_thread ( kmp_info_t  ) 
kmp_uint32 __kmp_ge_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 2286 of file kmp_dispatch.cpp.

kmp_uint32 __kmp_ge_8 ( kmp_uint64  value,
kmp_uint64  checker 
)

Definition at line 2305 of file kmp_dispatch.cpp.

int __kmp_get_global_thread_id ( void   ) 
int __kmp_get_global_thread_id_reg ( void   ) 
unsigned short __kmp_get_random ( kmp_info_t thread  ) 

Definition at line 4009 of file kmp_runtime.c.

References KA_TRACE.

Referenced by __kmp_reserve_threads().

KMP_EXPORT kmp_int32 __kmp_get_reduce_method ( void   ) 

Definition at line 8360 of file kmp_runtime.c.

References __kmp_entry_thread().

kmp_r_sched_t __kmp_get_schedule_global ( void   ) 
int __kmp_gtid_get_specific ( void   ) 
void __kmp_gtid_set_specific ( int  gtid  ) 
kmp_uint64 __kmp_hardware_timestamp ( void   ) 

Definition at line 1842 of file z_Windows_NT_util.c.

int __kmp_ignore_mppbeg ( void   ) 

Definition at line 7983 of file kmp_runtime.c.

References __kmp_str_match_false(), FALSE, and TRUE.

Referenced by __kmpc_begin().

int __kmp_ignore_mppend ( void   ) 

Definition at line 7996 of file kmp_runtime.c.

References __kmp_str_match_false(), FALSE, and TRUE.

Referenced by __kmpc_end().

void __kmp_infinite_loop ( void   ) 

Definition at line 638 of file kmp_runtime.c.

References FALSE, and KMP_YIELD.

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

void __kmp_init_random ( kmp_info_t thread  ) 

Definition at line 4025 of file kmp_runtime.c.

References KA_TRACE.

Referenced by __kmp_allocate_thread(), and __kmp_register_root().

void __kmp_initialize_bget ( kmp_info_t th  ) 
void __kmp_initialize_fast_memory ( kmp_info_t this_thr  ) 

Definition at line 2021 of file kmp_alloc.c.

References KE_TRACE, and NUM_LISTS.

Referenced by __kmp_allocate_thread(), and __kmp_register_root().

void __kmp_internal_begin ( void   ) 
void __kmp_internal_end_atexit ( void   ) 

Definition at line 6504 of file kmp_runtime.c.

References __kmp_close_console(), __kmp_internal_end_library(), and KA_TRACE.

Referenced by __kmp_do_serial_initialize().

void __kmp_internal_end_dest ( void *   ) 
void __kmp_internal_end_dtor ( void   ) 
void __kmp_internal_end_fini ( void   ) 
void __kmp_internal_end_library ( int  gtid  ) 
void __kmp_internal_end_thread ( int  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_microtask ( microtask_t  pkfn,
int  gtid,
int  npr,
int  argc,
void *  argv[],
void **  exit_frame_ptr 
)
int __kmp_invoke_task_func ( int  gtid  ) 
int __kmp_is_address_mapped ( void *  addr  ) 

Definition at line 2219 of file z_Linux_util.c.

References __kmp_str_format(), KMP_ASSERT, KMP_INTERNAL_FREE, and status.

Referenced by __kmp_register_library_startup().

void __kmp_join_call ( ident_t loc,
int  gtid 
)
void* __kmp_launch_thread ( kmp_info_t thr  ) 
kmp_uint32 __kmp_le_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 2290 of file kmp_dispatch.cpp.

kmp_uint32 __kmp_le_8 ( kmp_uint64  value,
kmp_uint64  checker 
)

Definition at line 2309 of file kmp_dispatch.cpp.

kmp_uint32 __kmp_lt_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 2282 of file kmp_dispatch.cpp.

kmp_uint32 __kmp_lt_8 ( kmp_uint64  value,
kmp_uint64  checker 
)

Definition at line 2301 of file kmp_dispatch.cpp.

void __kmp_middle_initialize ( void   ) 
kmp_uint32 __kmp_neq_4 ( kmp_uint32  value,
kmp_uint32  checker 
)

Definition at line 2278 of file kmp_dispatch.cpp.

Referenced by __kmp_create_monitor().

kmp_uint32 __kmp_neq_8 ( kmp_uint64  value,
kmp_uint64  checker 
)

Definition at line 2297 of file kmp_dispatch.cpp.

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 
)
void __kmp_parallel_initialize ( void   ) 
void __kmp_print_storage_map_gtid ( int  gtid,
void *  p1,
void *  p2,
size_t  size,
char const *  format,
  ... 
)
void __kmp_push_num_threads ( ident_t loc,
int  gtid,
int  num_threads 
)
double __kmp_read_cpu_time ( void   ) 

Definition at line 1899 of file z_Linux_util.c.

References NSEC_PER_SEC, and status.

int __kmp_read_system_info ( struct kmp_sys_info info  ) 
void __kmp_read_system_time ( double *  delta  ) 
void __kmp_reap_monitor ( kmp_info_t th  ) 
kmp_team_t* __kmp_reap_team ( kmp_team_t  ) 
void __kmp_reap_worker ( kmp_info_t th  ) 
int __kmp_register_root ( int  initial_thread  ) 
void __kmp_release ( kmp_info_t target_thr,
volatile kmp_uint spin,
enum kmp_mem_fence_type  fetchadd_fence 
)
void __kmp_resume ( int  target_gtid,
volatile kmp_uint spinner 
)
void __kmp_run_after_invoked_task ( int  gtid,
int  tid,
kmp_info_t this_thr,
kmp_team_t team 
)
void __kmp_run_before_invoked_task ( int  gtid,
int  tid,
kmp_info_t this_thr,
kmp_team_t team 
)
void __kmp_runtime_destroy ( void   ) 
void __kmp_runtime_initialize ( void   ) 
void __kmp_save_internal_controls ( kmp_info_t thread  ) 
void __kmp_serial_initialize ( void   ) 
void __kmp_set_num_threads ( int  new_nth,
int  gtid 
)
void __kmp_suspend ( int  th_gtid,
volatile kmp_uint spinner,
kmp_uint  checker 
)
void __kmp_suspend_initialize ( void   ) 
void __kmp_suspend_uninitialize_thread ( kmp_info_t th  ) 
void __kmp_terminate_thread ( int  gtid  ) 
kmp_int32 __kmp_test_then_add32 ( volatile kmp_int32 *  p,
kmp_int32  d 
)
kmp_int64 __kmp_test_then_add64 ( volatile kmp_int64 *  p,
kmp_int64  d 
)
kmp_int32 __kmp_test_then_and32 ( volatile kmp_int32 *  p,
kmp_int32  d 
)

Referenced by __kmp_resume(), and __kmp_suspend().

kmp_int64 __kmp_test_then_and64 ( volatile kmp_int64 *  p,
kmp_int64  d 
)
kmp_int32 __kmp_test_then_or32 ( volatile kmp_int32 *  p,
kmp_int32  d 
)
kmp_int64 __kmp_test_then_or64 ( volatile kmp_int64 *  p,
kmp_int64  d 
)
void __kmp_thread_sleep ( int  millis  ) 

Definition at line 2180 of file z_Linux_util.c.

References __kmp_msg(), __kmp_msg_null, FALSE, KMP_ERR, kmp_ms_fatal, KMP_MSG, and status.

Referenced by __kmp_msg().

void __kmp_unregister_root ( int  gtid  ) 
void __kmp_user_set_library ( enum library_type  arg  ) 
void __kmp_wait_sleep ( kmp_info_t this_thr,
volatile kmp_uint spinner,
kmp_uint  checker,
kmp_int  final_spin 
)
kmp_uint32 __kmp_wait_yield_4 ( kmp_uint32 volatile *  spinner,
kmp_uint32  checker,
kmp_uint32(*)(kmp_uint32, kmp_uint32)  pred,
void *  obj 
)

Referenced by __kmp_create_monitor().

kmp_uint64 __kmp_wait_yield_8 ( kmp_uint64 volatile *  spinner,
kmp_uint64  checker,
kmp_uint32(*)(kmp_uint64, kmp_uint64)  pred,
void *  obj 
)
void __kmp_warn ( char const *  format,
  ... 
)
void __kmp_yield ( int  cond  ) 

Definition at line 1856 of file z_Linux_util.c.

References __kmp_yielding_on.

Referenced by __kmp_static_yield(), and __kmp_terminate_thread().

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 
)
void __kmpc_dispatch_fini_4 ( ident_t loc,
kmp_int32  gtid 
)
Parameters:
loc Source code location
gtid Global thread id

Mark the end of a dynamic loop.

Definition at line 2238 of file kmp_dispatch.cpp.

void __kmpc_dispatch_fini_4u ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4

Definition at line 2256 of file kmp_dispatch.cpp.

void __kmpc_dispatch_fini_8 ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4

Definition at line 2247 of file kmp_dispatch.cpp.

void __kmpc_dispatch_fini_8u ( ident_t loc,
kmp_int32  gtid 
)

See __kmpc_dispatch_fini_4

Definition at line 2265 of file kmp_dispatch.cpp.

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 2151 of file kmp_dispatch.cpp.

References __kmp_init_serial, and KMP_DEBUG_ASSERT.

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 2162 of file kmp_dispatch.cpp.

References __kmp_init_serial, and KMP_DEBUG_ASSERT.

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 2174 of file kmp_dispatch.cpp.

References __kmp_init_serial, and KMP_DEBUG_ASSERT.

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:
loc Source code location
gtid Global thread id
p_last Pointer to a flag set to one if this is the last chunk or zero otherwise
p_lb Pointer to the lower bound for the next chunk of work
p_ub Pointer to the upper bound for the next chunk of work
p_st Pointer 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 2195 of file kmp_dispatch.cpp.

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 2205 of file kmp_dispatch.cpp.

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 2215 of file kmp_dispatch.cpp.

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 2225 of file kmp_dispatch.cpp.

KMP_EXPORT void __kmpc_end_taskq ( ident_t loc,
kmp_int32  global_tid,
kmpc_thunk_t thunk 
)
KMP_EXPORT void __kmpc_end_taskq_task ( ident_t loc,
kmp_int32  global_tid,
kmpc_thunk_t thunk 
)
KMP_EXPORT kmp_uint64 __kmpc_get_parent_taskid (  ) 

Definition at line 2331 of file kmp_csupport.c.

References __kmp_get_gtid, and __kmp_thread_from_gtid.

KMP_EXPORT kmp_uint64 __kmpc_get_taskid (  ) 

Definition at line 2307 of file kmp_csupport.c.

References __kmp_get_gtid, and __kmp_thread_from_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 int __kmpc_invoke_task_func ( int  gtid  ) 

Definition at line 359 of file kmp_csupport.c.

References __kmp_invoke_task_func().

KMP_EXPORT void __kmpc_place_threads ( int  ,
int  ,
int   
)

Definition at line 2355 of file kmp_csupport.c.

References __kmp_init_serial, and __kmp_serial_initialize().

KMP_EXPORT void __kmpc_pop_num_threads ( ident_t loc,
kmp_int32  global_tid 
)

Definition at line 279 of file kmp_csupport.c.

References KA_TRACE.

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 kmp_int32 __kmpc_task ( ident_t loc,
kmp_int32  global_tid,
kmpc_thunk_t thunk 
)
KMP_EXPORT kmpc_thunk_t* __kmpc_task_buffer ( ident_t loc,
kmp_int32  global_tid,
kmpc_thunk_t taskq_thunk,
kmpc_task_t  task 
)
KMP_EXPORT kmpc_thunk_t* __kmpc_taskq ( ident_t loc,
kmp_int32  global_tid,
kmpc_task_t  taskq_task,
size_t  sizeof_thunk,
size_t  sizeof_shareds,
kmp_int32  flags,
kmpc_shared_vars_t **  shareds 
)
KMP_EXPORT void __kmpc_taskq_task ( ident_t loc,
kmp_int32  global_tid,
kmpc_thunk_t thunk,
kmp_int32  status 
)
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_threadprivate ( ident_t ,
kmp_int32  global_tid,
void *  data,
size_t  size 
)
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 
)
struct private_common * kmp_threadprivate_insert ( int  gtid,
void *  pc_addr,
void *  data_addr,
size_t  pc_size 
) [read]
void kmp_threadprivate_insert_private_data ( int  gtid,
void *  pc_addr,
void *  data_addr,
size_t  pc_size 
)
KMP_EXPORT void* kmpc_calloc ( size_t  nelem,
size_t  elsize 
)

Definition at line 1466 of file kmp_alloc.c.

References __kmp_entry_thread().

Referenced by FTN_CALLOC().

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_free ( void *  ptr  ) 

Definition at line 1497 of file kmp_alloc.c.

References __kmp_get_thread, and __kmp_init_serial.

Referenced by FTN_FREE().

KMP_EXPORT void* kmpc_malloc ( size_t  size  ) 

Definition at line 1457 of file kmp_alloc.c.

References __kmp_entry_thread().

Referenced by FTN_MALLOC().

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

Definition at line 1475 of file kmp_alloc.c.

References __kmp_entry_thread(), and __kmp_get_thread.

Referenced by FTN_REALLOC().

void kmpc_set_blocktime ( int  arg  ) 
void KMPC_SET_DYNAMIC ( int  flag  ) 
void KMPC_SET_NESTED ( int  flag  ) 
void KMPC_SET_NUM_THREADS ( int  arg  ) 
void ompc_set_dynamic ( int  flag  ) 
void ompc_set_nested ( int  flag  ) 
void ompc_set_num_threads ( int  arg  ) 

Definition at line 1354 of file kmp_csupport.c.

References __kmp_entry_gtid, and __kmp_set_num_threads().

Referenced by __kmp_aux_env_initialize().


Variable Documentation

volatile int __kmp_all_nth
char const* __kmp_barrier_branch_bit_env_name[bs_last_barrier]

Definition at line 95 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize(), and __kmp_stg_parse_barrier_branch_bit().

kmp_uint32 __kmp_barrier_gather_branch_bits[bs_last_barrier]

Definition at line 102 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize().

char const* __kmp_barrier_pattern_env_name[bs_last_barrier]
char const* __kmp_barrier_pattern_name[bp_last_bar]

Definition at line 96 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize(), and __kmp_stg_parse_barrier_branch_bit().

kmp_uint32 __kmp_barrier_release_branch_bits[bs_last_barrier]

Definition at line 103 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize().

char const* __kmp_barrier_type_name[bs_last_barrier]

Definition at line 121 of file kmp_global.c.

Referenced by __kmp_print_version_1().

kmp_uint64 __kmp_cpu_frequency

Definition at line 56 of file kmp_global.c.

Referenced by __kmp_runtime_initialize().

Definition at line 55 of file kmp_global.c.

Referenced by __kmp_runtime_initialize(), and __kmpc_flush().

Definition at line 298 of file kmp_global.c.

Referenced by __kmp_vprintf().

Definition at line 297 of file kmp_global.c.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

Definition at line 296 of file kmp_global.c.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

Definition at line 302 of file kmp_global.c.

Referenced by __kmp_vprintf().

Definition at line 300 of file kmp_global.c.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

Definition at line 301 of file kmp_global.c.

Referenced by __kmp_dump_debug_buffer(), and __kmp_vprintf().

Definition at line 387 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize().

Definition at line 385 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize().

Definition at line 326 of file kmp_global.c.

Definition at line 329 of file kmp_global.c.

Referenced by __kmp_check_stack_overlap(), and __kmp_do_serial_initialize().

Definition at line 323 of file kmp_global.c.

Referenced by __kmp_stg_parse_omp_schedule().

Definition at line 330 of file kmp_global.c.

Referenced by __kmp_acquire_drdpa_lock_with_checks(), __kmp_acquire_nested_drdpa_lock_with_checks(), __kmp_acquire_nested_queuing_lock_with_checks(), __kmp_acquire_nested_tas_lock_with_checks(), __kmp_acquire_nested_ticket_lock_with_checks(), __kmp_acquire_queuing_lock_with_checks(), __kmp_acquire_tas_lock_with_checks(), __kmp_acquire_ticket_lock_with_checks(), __kmp_cleanup_user_locks(), __kmp_destroy_drdpa_lock_with_checks(), __kmp_destroy_nested_drdpa_lock_with_checks(), __kmp_destroy_nested_queuing_lock_with_checks(), __kmp_destroy_nested_tas_lock_with_checks(), __kmp_destroy_nested_ticket_lock_with_checks(), __kmp_destroy_queuing_lock_with_checks(), __kmp_destroy_tas_lock_with_checks(), __kmp_destroy_ticket_lock_with_checks(), __kmp_dispatch_deo(), __kmp_dispatch_deo_error(), __kmp_dispatch_dxo(), __kmp_dispatch_dxo_error(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_dump_task_queue(), __kmp_end_critical_section_reduce_block(), __kmp_enter_critical_section_reduce_block(), __kmp_enter_single(), __kmp_execute_task_from_queue(), __kmp_exit_single(), __kmp_for_static_init(), __kmp_free_taskq(), __kmp_launch_thread(), __kmp_lookup_user_lock(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmp_print_version_1(), __kmp_reap_thread(), __kmp_register_root(), __kmp_release_drdpa_lock_with_checks(), __kmp_release_nested_drdpa_lock_with_checks(), __kmp_release_nested_queuing_lock_with_checks(), __kmp_release_nested_tas_lock_with_checks(), __kmp_release_nested_ticket_lock_with_checks(), __kmp_release_queuing_lock_with_checks(), __kmp_release_tas_lock_with_checks(), __kmp_release_ticket_lock_with_checks(), __kmp_run_after_invoked_task(), __kmp_run_before_invoked_task(), __kmp_stg_parse_consistency_check(), __kmp_stg_print_consistency_check(), __kmp_taskq_eo(), __kmp_taskq_xo(), __kmp_test_drdpa_lock_with_checks(), __kmp_test_nested_drdpa_lock_with_checks(), __kmp_test_nested_queuing_lock_with_checks(), __kmp_test_nested_tas_lock_with_checks(), __kmp_test_nested_ticket_lock_with_checks(), __kmp_test_queuing_lock_with_checks(), __kmp_test_tas_lock_with_checks(), __kmp_test_ticket_lock_with_checks(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_copyprivate(), __kmpc_critical(), __kmpc_end_critical(), __kmpc_end_master(), __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_end_serialized_parallel(), __kmpc_end_taskq_task(), __kmpc_for_static_fini(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_master(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), __kmpc_taskq(), and __kmpc_taskq_task().

Definition at line 327 of file kmp_global.c.

Definition at line 325 of file kmp_global.c.

Definition at line 378 of file kmp_global.c.

Referenced by __kmp_abort_process(), and __kmp_do_serial_initialize().

Definition at line 163 of file kmp_global.c.

Definition at line 164 of file kmp_global.c.

Definition at line 165 of file kmp_global.c.

volatile int __kmp_init_common

Definition at line 73 of file kmp_global.c.

Referenced by __kmp_do_serial_initialize().

volatile int __kmp_init_gtid
volatile int __kmp_init_middle
volatile int __kmp_init_monitor
volatile int __kmp_init_parallel
volatile int __kmp_init_serial
volatile int __kmp_init_user_locks
unsigned int __kmp_init_wait

Definition at line 80 of file kmp_global.c.

Referenced by __kmp_stg_parse_init_wait(), and __kmp_stg_print_init_wait().

Definition at line 110 of file kmp_runtime.c.

Referenced by __kmp_allocate_thread(), and __kmp_internal_end().

Definition at line 166 of file kmp_global.c.

Referenced by __kmp_do_middle_initialize().

Definition at line 319 of file kmp_global.c.

Referenced by __kmp_register_atfork(), and __kmp_stg_parse_init_at_fork().

Definition at line 320 of file kmp_global.c.

Referenced by __kmp_stg_parse_init_at_fork(), and __kmp_stg_print_init_at_fork().

unsigned int __kmp_next_wait

Definition at line 81 of file kmp_global.c.

Referenced by __kmp_stg_parse_next_wait(), and __kmp_stg_print_next_wait().

volatile int __kmp_nth
char __kmp_par_range_filename[KMP_PAR_RANGE_FILENAME_LEN]

Referenced by __kmpc_ok_to_fork().

char __kmp_par_range_routine[KMP_PAR_RANGE_ROUTINE_LEN]

Referenced by __kmpc_ok_to_fork().

Definition at line 135 of file kmp_global.c.

Referenced by __kmp_reserve_threads().

Definition at line 74 of file kmp_global.c.

Referenced by __kmp_register_root().

Definition at line 201 of file kmp_global.c.

size_t __kmp_stksize

Definition at line 317 of file kmp_global.c.

Referenced by __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().

volatile kmp_uint32 __kmp_task_counter

Definition at line 78 of file kmp_global.c.

volatile kmp_uint32 __kmp_team_counter

Definition at line 77 of file kmp_global.c.

Definition at line 364 of file kmp_global.c.

Referenced by __kmp_reap_thread(), __kmp_suspend(), and __kmp_wait_sleep().

Definition at line 359 of file kmp_global.c.

Referenced by __kmp_allocate_thread(), __kmp_free_thread(), and __kmp_reap_thread().

Definition at line 352 of file kmp_global.c.

Referenced by __kmp_allocate_thread(), __kmp_aux_dump_task_queue_tree(), __kmp_barrier(), __kmp_change_thread_affinity_mask(), __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_next(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_dump_thunk(), __kmp_end_split_barrier(), __kmp_enter_single(), __kmp_expand_threads(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_get_global_thread_id(), __kmp_GOMP_fork_call(), __kmp_hyper_barrier_release(), __kmp_internal_begin(), __kmp_internal_end_thread(), __kmp_internal_fork(), __kmp_internal_join(), __kmp_invoke_task_func(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_linear_barrier_release(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_push_num_threads(), __kmp_push_parallel(), __kmp_push_sync(), __kmp_push_workshare(), __kmp_reap_thread(), __kmp_register_root(), __kmp_reserve_threads(), __kmp_resume(), __kmp_set_num_threads(), __kmp_suspend(), __kmp_taskq_eo(), __kmp_taskq_xo(), __kmp_terminate_thread(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmp_user_set_library(), __kmpc_barrier(), __kmpc_end_master(), __kmpc_end_ordered(), __kmpc_end_serialized_parallel(), __kmpc_end_single(), __kmpc_end_taskq(), __kmpc_end_taskq_task(), __kmpc_for_static_fini(), __kmpc_fork_call(), __kmpc_master(), __kmpc_ordered(), __kmpc_serialized_parallel(), __kmpc_single(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), __kmpc_taskq_task(), __kmpc_threadprivate(), FTN_GET_BLOCKTIME(), FTN_GET_MAX_THREADS(), GOMP_parallel_end(), kmp_threadprivate_insert(), and kmp_threadprivate_insert_private_data().

kmp_uint32 __kmp_yield_cycle

Definition at line 335 of file kmp_global.c.

Referenced by __kmp_launch_monitor().

kmp_uint32 __kmp_yield_init

Definition at line 332 of file kmp_global.c.

Referenced by __kmp_change_library(), and __kmp_stg_parse_init_wait().

kmp_uint32 __kmp_yield_next

Definition at line 333 of file kmp_global.c.

Referenced by __kmp_stg_parse_next_wait().

Definition at line 337 of file kmp_global.c.

Referenced by __kmp_launch_monitor().

Definition at line 336 of file kmp_global.c.

Referenced by __kmp_launch_monitor().

kmp_uint32 __kmp_yielding_on

Definition at line 334 of file kmp_global.c.

Referenced by __kmp_launch_monitor(), and __kmp_yield().

Definition at line 436 of file kmp_global.c.

Definition at line 437 of file kmp_global.c.


Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1