#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_common * | kmp_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) |
Definition in file kmp.h.
#define __kmp_allocate | ( | size | ) | ___kmp_allocate( (size) KMP_SRC_LOC_CURR ) |
Definition at line 2770 of file kmp.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_allocate_cons_stack(), __kmp_allocate_team(), __kmp_allocate_team_arrays(), __kmp_allocate_thread(), __kmp_do_serial_initialize(), __kmp_expand_cons_stack(), __kmp_expand_threads(), __kmp_init_common_data(), __kmp_init_drdpa_lock(), __kmp_initialize_info(), __kmp_lock_block_allocate(), __kmp_lock_table_insert(), __kmp_register_root(), __kmp_save_internal_controls(), __kmp_user_lock_allocate(), __kmpc_serialized_parallel(), __kmpc_taskq(), __kmpc_threadprivate_cached(), __kmpc_threadprivate_register(), __kmpc_threadprivate_register_vec(), kmp_threadprivate_insert(), and kmp_threadprivate_insert_private_data().
#define __kmp_entry_gtid | ( | ) | __kmp_get_global_thread_id_reg() |
Definition at line 803 of file kmp.h.
Referenced by __kmp_entry_thread(), __kmp_internal_begin(), __kmp_parallel_initialize(), __kmp_user_set_library(), __kmpc_atomic_start(), __kmpc_bound_thread_num(), __kmpc_fork_call(), __kmpc_global_thread_num(), FTN_DESTROY_LOCK(), FTN_DESTROY_NEST_LOCK(), FTN_GET_BLOCKTIME(), FTN_GET_MAX_THREADS(), FTN_GET_THREAD_NUM(), FTN_INIT_LOCK(), FTN_INIT_NEST_LOCK(), FTN_SET_BLOCKTIME(), FTN_SET_LOCK(), FTN_SET_NEST_LOCK(), FTN_SET_NUM_THREADS(), FTN_TEST_LOCK(), FTN_TEST_NEST_LOCK(), FTN_UNSET_LOCK(), FTN_UNSET_NEST_LOCK(), GOMP_atomic_start(), GOMP_barrier(), GOMP_critical_name_start(), GOMP_critical_start(), GOMP_ordered_start(), GOMP_parallel_sections_start(), GOMP_parallel_start(), GOMP_sections_start(), GOMP_single_copy_start(), GOMP_single_start(), kmpc_set_blocktime(), and ompc_set_num_threads().
#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 ) |
Definition at line 2772 of file kmp.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_alloc_argv_entries(), __kmp_cleanup(), __kmp_cleanup_user_locks(), __kmp_destroy_drdpa_lock(), __kmp_expand_threads(), __kmp_free_cons_stack(), __kmp_free_team_arrays(), __kmp_reallocate_team_arrays(), __kmp_reap_team(), __kmp_reap_thread(), __kmpc_end_serialized_parallel(), and __kmpc_taskq().
#define __kmp_get_gtid | ( | ) | __kmp_get_global_thread_id() |
Definition at line 802 of file kmp.h.
Referenced by __kmp_allocate_thread(), __kmp_check_barrier(), __kmp_check_sync(), __kmp_check_workshare(), __kmp_create_monitor(), __kmp_expand_cons_stack(), __kmp_fork_team_threads(), __kmp_free_team(), __kmp_free_thread(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_push_parallel(), __kmp_push_sync(), __kmp_push_workshare(), __kmp_release(), __kmp_reserve_threads(), __kmp_resume(), __kmpc_atomic_end(), __kmpc_get_parent_taskid(), __kmpc_get_taskid(), GOMP_atomic_end(), GOMP_critical_end(), GOMP_critical_name_end(), GOMP_loop_end(), GOMP_loop_end_nowait(), GOMP_ordered_end(), GOMP_parallel_end(), GOMP_sections_end(), GOMP_sections_end_nowait(), GOMP_sections_next(), and GOMP_single_copy_end().
#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 ) |
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() ) ) |
#define __kmp_gtid_from_thread | ( | thr | ) |
( KMP_DEBUG_ASSERT( (thr) != NULL ), \ (thr)->th.th_info.ds.ds_gtid )
Definition at line 822 of file kmp.h.
Referenced by ___kmp_fast_allocate(), ___kmp_fast_free(), __kmp_check_stack_overlap(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_free_fast_memory(), __kmp_join_barrier(), and __kmp_join_call().
#define __kmp_gtid_from_tid | ( | tid, | |||
team | ) |
( KMP_DEBUG_ASSERT( (tid) >= 0 && (team) != NULL ), \ team -> t.t_threads[ (tid) ] -> th.th_info .ds.ds_gtid )
Definition at line 810 of file kmp.h.
Referenced by __kmp_allocate_team(), __kmp_aux_set_blocktime(), __kmp_fork_team_threads(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_linear_barrier_gather(), __kmp_register_root(), __kmp_tree_barrier_gather(), and __kmp_tree_barrier_release().
#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 |
Definition at line 1124 of file kmp.h.
Referenced by __kmp_dequeue_task(), __kmp_find_task_in_queue(), __kmp_remove_queue_from_tree(), __kmpc_end_taskq(), and __kmpc_taskq().
#define __kmp_team_from_gtid | ( | gtid | ) |
( 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 ) |
#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) ] ) |
Definition at line 817 of file kmp.h.
Referenced by __kmp_acquire_atomic_lock(), __kmp_acquire_queuing_lock_timed_template(), __kmp_release_queuing_lock(), __kmp_taskq_allocate(), __kmp_test_queuing_lock(), __kmpc_get_parent_taskid(), __kmpc_get_taskid(), __kmpc_taskq_free(), FTN_GET_BLOCKTIME(), FTN_SET_BLOCKTIME(), kmpc_set_blocktime(), and ompt_get_thread_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 ) |
#define __kmp_tid_from_gtid | ( | gtid | ) |
( KMP_DEBUG_ASSERT( (gtid) >= 0 ), \ /*(__kmp_threads[ (gtid) ]->th.th_team_serialized) ? 0 : /* TODO remove this check, it is redundant */ \ __kmp_threads[ (gtid) ]->th.th_info.ds.ds_tid )
Definition at line 805 of file kmp.h.
Referenced by __kmp_barrier(), __kmp_dequeue_task(), __kmp_dispatch_finish(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_end_split_barrier(), __kmp_execute_task_from_queue(), __kmp_find_task_in_queue(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_GOMP_fork_call(), __kmp_hyper_barrier_release(), __kmp_invoke_task_func(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_linear_barrier_release(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmp_taskq_eo(), __kmp_taskq_xo(), __kmp_tree_barrier_release(), __kmpc_bound_thread_num(), __kmpc_end_master(), __kmpc_end_single(), __kmpc_end_taskq_task(), __kmpc_for_static_fini(), __kmpc_fork_call(), __kmpc_master(), __kmpc_single(), __kmpc_taskq(), __kmpc_taskq_task(), FTN_GET_BLOCKTIME(), FTN_GET_THREAD_NUM(), FTN_SET_BLOCKTIME(), GOMP_parallel_end(), and kmpc_set_blocktime().
#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 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)]) |
#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 | ) |
( ( (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 | ) |
( ( (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_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)) |
Definition at line 1548 of file kmp.h.
Referenced by __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_tree_barrier_gather(), and __kmp_tree_barrier_release().
#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_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 |
Definition at line 3093 of file kmp.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_enter_single(), __kmp_test_queuing_lock(), __kmp_test_tas_lock(), __kmp_test_ticket_lock(), and __kmpc_atomic_4().
#define KMP_COMPARE_AND_STORE_ACQ64 __kmp_compare_and_store64 |
Definition at line 3098 of file kmp.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_dispatch_next(), __kmp_test_drdpa_lock(), and __kmpc_atomic_8().
#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 |
#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_CPU_PAUSE | ( | ) |
Definition at line 978 of file kmp.h.
Referenced by ___kmp_fast_allocate(), ___kmp_fast_free(), __kmp_dispatch_next(), __kmpc_atomic_2(), __kmpc_atomic_4(), __kmpc_atomic_8(), and ATOMIC_FIXED_ADD().
#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 |
Definition at line 902 of file kmp.h.
Referenced by __kmp_dispatch_init(), __kmp_get_schedule_global(), and __kmp_stg_parse_omp_schedule().
#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_STKSIZE ((size_t)(1024 * 1024)) |
Definition at line 860 of file kmp.h.
Referenced by __kmp_create_worker().
#define KMP_GEN_TASK_ID | ( | ) | _KMP_GEN_ID( __kmp_task_counter ) |
#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) |
Definition at line 796 of file kmp.h.
Referenced by __kmp_acquire_bootstrap_lock(), __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_gtid_get_specific(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_thread(), __kmp_reap_common(), __kmp_reap_monitor(), __kmp_release_bootstrap_lock(), __kmp_test_bootstrap_lock(), __kmp_unregister_root_current_thread(), and FTN_GET_THREAD_NUM().
#define KMP_GTID_MONITOR (-4) |
Definition at line 798 of file kmp.h.
Referenced by __kmp_check_stack_overlap(), __kmp_create_monitor(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_monitor(), and __kmp_reap_monitor().
#define KMP_GTID_SHUTDOWN (-3) |
Definition at line 797 of file kmp.h.
Referenced by __kmp_gtid_get_specific(), __kmp_internal_end_library(), and __kmp_internal_end_thread().
#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)) |
Definition at line 1358 of file kmp.h.
Referenced by __kmp_find_shared_task_common(), __kmp_threadprivate_find_task_common(), __kmpc_threadprivate_register(), __kmpc_threadprivate_register_vec(), kmp_threadprivate_insert(), and kmp_threadprivate_insert_private_data().
#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 |
#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 |
#define KMP_IDENT_BARRIER_IMPL 0x0040 |
#define KMP_IDENT_KMPC 0x02 |
#define KMP_INIT_BARRIER_STATE 0 |
Definition at line 1541 of file kmp.h.
Referenced by __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_fork_barrier(), __kmp_hyper_barrier_release(), __kmp_initialize_root(), __kmp_linear_barrier_release(), __kmp_register_root(), and __kmp_tree_barrier_release().
#define KMP_INIT_YIELD | ( | count | ) | { (count) = __kmp_yield_init; } |
Definition at line 981 of file kmp.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_reap_common(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), __kmp_wait_yield_8(), and __kmpc_end_taskq().
#define KMP_INITIAL_GTID | ( | gtid | ) | ( (gtid) == 0 ) |
Definition at line 942 of file kmp.h.
Referenced by __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_do_serial_initialize(), and kmp_threadprivate_insert().
#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 ) |
Definition at line 2249 of file kmp.h.
Referenced by __kmp_alloc_argv_entries().
#define KMP_INTERNAL_FREE | ( | p | ) | free(p) |
Definition at line 2793 of file kmp.h.
Referenced by __kmp_cleanup(), __kmp_env_blk_free(), __kmp_env_free(), __kmp_env_get(), __kmp_error_construct(), __kmp_error_construct2(), __kmp_get_load_balance(), __kmp_is_address_mapped(), __kmp_msg(), __kmp_register_library_startup(), __kmp_stg_parse_file(), __kmp_stg_parse_str(), __kmp_str_buf_free(), __kmp_str_free(), __kmp_str_loc_free(), __kmp_unregister_library(), __kmpc_taskq_free(), and sys_error().
#define KMP_INTERNAL_MALLOC | ( | sz | ) | malloc(sz) |
Definition at line 2792 of file kmp.h.
Referenced by __kmp_env_get(), __kmp_env_initialize(), __kmp_parse_nested_num_threads(), __kmp_stg_parse_num_threads(), __kmp_stg_parse_par_range(), __kmp_str_buf_detach(), __kmp_str_buf_reserve(), __kmp_str_format(), __kmp_taskq_allocate(), allocate(), and sys_error().
#define KMP_INTERNAL_REALLOC | ( | p, | |||
sz | ) | realloc((p),(sz)) |
Definition at line 2794 of file kmp.h.
Referenced by __kmp_get_load_balance(), __kmp_parse_nested_num_threads(), __kmp_str_buf_reserve(), and __kmp_str_format().
#define KMP_INTERVALS_FROM_BLOCKTIME | ( | blocktime, | |||
monitor_wakeups | ) |
( ( (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_MASTER_GTID | ( | gtid | ) | ( __kmp_tid_from_gtid((gtid)) == 0 ) |
Definition at line 933 of file kmp.h.
Referenced by __kmp_allocate_thread(), __kmp_end_split_barrier(), __kmp_internal_fork(), __kmp_internal_join(), __kmpc_end_master(), __kmpc_end_taskq(), and __kmpc_master().
#define KMP_MASTER_TID | ( | tid | ) | ( (tid) == 0 ) |
Definition at line 930 of file kmp.h.
Referenced by __kmp_barrier(), __kmp_fork_barrier(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_join_barrier(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), and __kmp_wait_sleep().
#define KMP_MAX_BLOCKTIME (INT_MAX) |
Definition at line 877 of file kmp.h.
Referenced by __kmp_aux_set_blocktime(), __kmp_barrier(), __kmp_fork_barrier(), __kmp_join_barrier(), __kmp_reap_thread(), __kmp_release(), __kmp_stg_parse_blocktime(), __kmp_wait_sleep(), and FTN_GET_BLOCKTIME().
#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 |
Definition at line 913 of file kmp.h.
Referenced by __kmp_allocate_team_arrays(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_initialize_info(), __kmp_internal_fork(), and __kmp_print_team_storage_map().
#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_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_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_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))) |
Definition at line 852 of file kmp.h.
Referenced by __kmp_aux_set_stacksize(), __kmp_stg_parse_monitor_stacksize(), and __kmp_stg_parse_stacksize().
#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_INIT_WAIT 1 |
Definition at line 904 of file kmp.h.
Referenced by __kmp_stg_parse_init_wait().
#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_NEXT_WAIT 1 |
Definition at line 908 of file kmp.h.
Referenced by __kmp_stg_parse_next_wait().
#define KMP_MIN_NTH 1 |
Definition at line 836 of file kmp.h.
Referenced by __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), and __kmp_parse_nested_num_threads().
#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)) |
#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_TLS_GTID_MIN INT_MAX |
Definition at line 927 of file kmp.h.
Referenced by __kmp_runtime_initialize().
#define KMP_UBER_GTID | ( | gtid | ) |
( \ KMP_DEBUG_ASSERT( (gtid) >= KMP_GTID_MIN ), \ KMP_DEBUG_ASSERT( (gtid) < __kmp_threads_capacity ), \ (gtid) >= 0 && __kmp_root[(gtid)] && __kmp_threads[(gtid)] && \ (__kmp_threads[(gtid)] == __kmp_root[(gtid)]->r.r_uber_thread)\ )
Definition at line 935 of file kmp.h.
Referenced by __kmp_check_stack_overlap(), __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_create_worker(), __kmp_do_serial_initialize(), __kmp_internal_begin(), __kmp_internal_end(), __kmp_internal_end_dest(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_parallel_initialize(), __kmp_set_stack_info(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), and kmp_threadprivate_insert().
#define KMP_UINT64_MAX (~((kmp_uint64)1<<((sizeof(kmp_uint64)*(1<<3))-1))) |
#define KMP_WAKEUPS_FROM_BLOCKTIME | ( | blocktime, | |||
monitor_wakeups | ) |
( ((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 ) |
#define KMP_YIELD | ( | cond | ) | { KMP_CPU_PAUSE(); __kmp_static_yield( (cond) ); } |
Definition at line 983 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_infinite_loop(), __kmp_reap_common(), __kmp_release_tas_lock(), __kmp_release_ticket_lock(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), and __kmp_wait_yield_8().
#define KMP_YIELD_SPIN | ( | count | ) |
{ KMP_CPU_PAUSE(); (count) -=2; \ if (!(count)) { KMP_YIELD(1); (count) = __kmp_yield_next; } }
Definition at line 990 of file kmp.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_reap_common(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), and __kmp_wait_yield_8().
#define KMP_YIELD_WHEN | ( | cond, | |||
count | ) |
{ 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 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 |
Definition at line 146 of file kmp.h.
Referenced by __kmp_allocate_thread(), __kmp_fork_call(), __kmp_initialize_root(), __kmp_register_root(), and __kmpc_serialized_parallel().
#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) ) |
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 | ) |
( ( (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 | ) |
( ( (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 | ) |
( ( (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)++; } |
#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 ) ) |
Definition at line 445 of file kmp.h.
Referenced by __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_reduce(), and __kmpc_reduce_nowait().
#define TQF_ALL_TASKS_QUEUED 0x0800 |
Definition at line 1142 of file kmp.h.
Referenced by __kmp_dump_TQF(), __kmp_find_and_remove_finished_child_taskq(), __kmp_remove_queue_from_tree(), __kmpc_end_taskq(), and __kmpc_end_taskq_task().
#define TQF_DEALLOCATED 0x2000 |
Definition at line 1144 of file kmp.h.
Referenced by __kmp_alloc_taskq(), __kmp_dump_TQF(), __kmp_find_and_remove_finished_child_taskq(), __kmp_find_task_in_queue(), __kmp_free_taskq(), __kmp_free_thunk(), __kmp_remove_all_child_taskq(), and __kmpc_end_taskq().
#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 |
Definition at line 1139 of file kmp.h.
Referenced by __kmp_dump_TQF(), __kmp_find_task_in_queue(), __kmpc_end_taskq(), and __kmpc_end_taskq_task().
#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 |
Definition at line 1130 of file kmp.h.
Referenced by __kmp_dump_TQF(), __kmp_find_and_remove_finished_child_taskq(), and __kmpc_end_taskq().
#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 |
Definition at line 1143 of file kmp.h.
Referenced by __kmp_dump_task_queue(), __kmp_dump_TQF(), __kmpc_end_taskq(), __kmpc_end_taskq_task(), __kmpc_task(), __kmpc_task_buffer(), and __kmpc_taskq().
#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 |
Definition at line 1140 of file kmp.h.
Referenced by __kmp_dump_TQF(), __kmp_execute_task_from_queue(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), and __kmpc_taskq_task().
#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 ) ) ) |
#define USEC_PER_SEC 1000000L |
Definition at line 180 of file kmp.h.
Referenced by __kmp_elapsed().
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 [write] |
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 [write] |
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] |
typedef struct kmp_taskdata kmp_taskdata_t [read] |
typedef struct KMP_ALIGN_CACHE kmp_taskq kmp_taskq_t |
typedef union kmp_team kmp_team_p [write] |
typedef union kmp_team kmp_team_t [write] |
typedef union KMP_ALIGN_CACHE kmp_time_global kmp_time_global_t |
typedef void*(* kmpc_cctor)(void *, void *) |
typedef void*(* kmpc_cctor_vec)(void *, void *, size_t) |
typedef void*(* kmpc_ctor_vec)(void *, size_t) |
typedef void(* kmpc_dtor)(void *) |
typedef void(* kmpc_dtor_vec)(void *, size_t) |
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 PACKED_REDUCTION_METHOD_T |
enum _reduction_method |
enum barrier_type |
enum cons_type |
enum dynamic_mode |
enum kmp_bar_pat |
enum kmp_sched |
enum kmp_state_timer |
enum library_type |
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 | |||
) |
Definition at line 1823 of file kmp_alloc.c.
References __kmp_gtid_from_thread, DCACHE_LINE, KE_TRACE, KMP_COMPARE_AND_STORE_PTR, KMP_CPU_PAUSE, KMP_DEBUG_ASSERT, KMP_SRC_LOC_PARM, kmp_mem_descr::ptr_aligned, kmp_mem_descr::ptr_allocated, kmp_mem_descr::size_aligned, and TCR_SYNC_PTR.
void ___kmp_fast_free | ( | kmp_info_t * | this_thr, | |
void *ptr | KMP_SRC_LOC_DECL | |||
) |
Definition at line 1909 of file kmp_alloc.c.
References __kmp_free_list_limit, __kmp_gtid_from_thread, DCACHE_LINE, if(), KE_TRACE, KMP_ASSERT, KMP_COMPARE_AND_STORE_PTR, KMP_CPU_PAUSE, KMP_DEBUG_ASSERT, KMP_SRC_LOC_PARM, kmp_mem_descr::ptr_aligned, kmp_mem_descr::ptr_allocated, kmp_mem_descr::size_aligned, kmp_mem_descr::size_allocated, and TCR_PTR.
void ___kmp_free | ( | void *ptr | KMP_SRC_LOC_DECL | ) |
Definition at line 1765 of file kmp_alloc.c.
References CACHE_LINE, free_src_loc, KE_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_MB, KMP_SRC_LOC_PARM, kmp_mem_descr::ptr_aligned, kmp_mem_descr::ptr_allocated, kmp_mem_descr::size_aligned, and kmp_mem_descr::size_allocated.
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 | ) |
Definition at line 727 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_debug_buf, __kmp_dump_debug_buffer(), __kmp_exit_lock, __kmp_global, __kmp_infinite_loop(), __kmp_release_bootstrap_lock(), and KMP_OS_WINDOWS.
Referenced by __kmp_msg().
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 | |||
) |
Definition at line 5341 of file kmp_runtime.c.
References __kmp_alloc_argv_entries(), __kmp_allocate, __kmp_allocate_team_arrays(), __kmp_allocate_thread(), __kmp_free_thread(), __kmp_gtid_from_tid, __kmp_initialize_info(), __kmp_initialize_team(), __kmp_partition_places(), __kmp_print_team_storage_map(), __kmp_reallocate_team_arrays(), __kmp_reap_team(), __kmp_reinitialize_team(), __kmp_set_system_affinity(), __kmp_storage_map, __kmp_team_pool, __ompt_team_assign_id(), kmp_barrier_union::bb, bp_last_bar, bs_forkjoin_barrier, bs_last_barrier, bs_plain_barrier, FALSE, KA_TRACE, KF_TRACE, KMP_DEBUG_ASSERT, KMP_INIT_BARRIER_STATE, KMP_MB, kmp_team::t, TCR_4, TCR_SYNC_4, TCW_SYNC_4, and TRUE.
Referenced by __kmp_allocate_thread(), __kmp_fork_call(), __kmp_initialize_root(), __kmp_register_root(), and __kmpc_serialized_parallel().
kmp_info_t* __kmp_allocate_thread | ( | kmp_root_t * | root, | |
kmp_team_t * | team, | |||
int | tid | |||
) |
Definition at line 4661 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_adjust_gtid_mode, __kmp_all_nth, __kmp_allocate, __kmp_allocate_team(), __kmp_avail_proc, __kmp_create_monitor(), __kmp_create_worker(), __kmp_env_blocktime, __kmp_get_gtid, __kmp_get_x_global_icvs(), __kmp_gtid_mode, __kmp_init_monitor, __kmp_init_random(), __kmp_initialize_bget(), __kmp_initialize_fast_memory(), __kmp_initialize_info(), __kmp_monitor, __kmp_monitor_lock, __kmp_nth, __kmp_print_thread_storage_map(), __kmp_release_bootstrap_lock(), __kmp_stksize, __kmp_storage_map, __kmp_thread_pool, __kmp_thread_pool_insert_pt, __kmp_thread_pool_nth, __kmp_threads, __kmp_tls_gtid_min, __ompt_parallel_id_new(), bs_forkjoin_barrier, bs_plain_barrier, bs_reduction_barrier, FALSE, if(), KA_TRACE, KF_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_INIT_BARRIER_STATE, KMP_MASTER_GTID, KMP_MB, ompt_get_thread_gtid(), OMPT_SUPPORT, kmp_team::t, TCR_4, TCR_PTR, TCW_4, TCW_SYNC_PTR, and TRUE.
Referenced by __kmp_allocate_team(), and __kmp_fork_team_threads().
void __kmp_aux_set_blocktime | ( | int | arg, | |
kmp_info_t * | thread, | |||
int | tid | |||
) |
Definition at line 8137 of file kmp_runtime.c.
References __kmp_gtid_from_tid, __kmp_monitor_wakeups, __kmp_save_internal_controls(), KF_TRACE, KMP_INTERVALS_FROM_BLOCKTIME, KMP_MAX_BLOCKTIME, KMP_MIN_BLOCKTIME, set__blocktime_team, set__bt_intervals_team, set__bt_set_team, and TRUE.
Referenced by FTN_SET_BLOCKTIME(), and kmpc_set_blocktime().
void __kmp_aux_set_defaults | ( | char const * | str, | |
int | len | |||
) |
Definition at line 8171 of file kmp_runtime.c.
References __kmp_env_initialize(), __kmp_env_print(), __kmp_init_serial, __kmp_serial_initialize(), and __kmp_settings.
Referenced by FTN_SET_DEFAULTS(), and kmpc_set_defaults().
void __kmp_aux_set_library | ( | enum library_type | arg | ) |
Definition at line 8111 of file kmp_runtime.c.
References __kmp_change_library(), __kmp_library, FALSE, KMP_FATAL, KMP_INFORM, library_serial, library_throughput, library_turnaround, and TRUE.
Referenced by __kmp_stg_parse_wait_policy(), and __kmp_user_set_library().
void __kmp_aux_set_stacksize | ( | size_t | arg | ) |
Definition at line 8077 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_env_stksize, __kmp_init_parallel, __kmp_init_serial, __kmp_initz_lock, __kmp_release_bootstrap_lock(), __kmp_serial_initialize(), __kmp_stksize, __kmp_sys_min_stksize, KMP_MAX_STKSIZE, TCR_4, and TRUE.
Referenced by FTN_SET_STACKSIZE(), FTN_SET_STACKSIZE_S(), kmpc_set_stacksize(), and kmpc_set_stacksize_s().
int __kmp_barrier | ( | enum barrier_type | bt, | |
int | gtid, | |||
int | is_split, | |||
size_t | reduce_size, | |||
void * | reduce_data, | |||
void(*)(void *, void *) | reduce | |||
) |
Definition at line 1946 of file kmp_runtime.c.
References __kmp_barrier_gather_branch_bits, __kmp_barrier_gather_pattern, __kmp_barrier_release_branch_bits, __kmp_barrier_release_pattern, __kmp_dflt_blocktime, __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_team_from_gtid, __kmp_threads, __kmp_tid_from_gtid, __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), bp_linear_bar, bp_tree_bar, FALSE, KA_TRACE, KMP_DEBUG_ASSERT, KMP_MASTER_TID, KMP_MAX_BLOCKTIME, KMP_MB, ompt_callbacks, ompt_status, ompt_status_track, ompt_status_track_callback, status, and kmp_team::t.
Referenced by __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_copyprivate(), __kmpc_end_reduce(), __kmpc_end_taskq(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_taskq(), GOMP_loop_end(), GOMP_sections_end(), GOMP_single_copy_end(), and GOMP_single_copy_start().
void __kmp_check_stack_overlap | ( | kmp_info_t * | thr | ) |
Definition at line 303 of file kmp_runtime.c.
References __kmp_env_checks, __kmp_gtid_from_thread, __kmp_msg(), __kmp_msg_null, __kmp_print_storage_map_gtid(), __kmp_storage_map, __kmp_threads, __kmp_threads_capacity, KA_TRACE, KMP_GTID_MONITOR, KMP_HNT, kmp_ms_fatal, KMP_MSG, KMP_UBER_GTID, TCR_PTR, TCR_SYNC_PTR, and TRUE.
Referenced by __kmp_create_worker(), __kmp_launch_monitor(), and __kmp_launch_worker().
void __kmp_cleanup | ( | void | ) |
Definition at line 7920 of file kmp_runtime.c.
References __kmp_cleanup_user_locks(), __kmp_free, __kmp_i18n_catclose(), __kmp_init_middle, __kmp_init_parallel, __kmp_init_serial, __kmp_nested_nth, __kmp_root, __kmp_runtime_destroy(), __kmp_threads, FALSE, KA_TRACE, KMP_INTERNAL_FREE, kmp_nested_nthreads_t::nth, kmp_nested_nthreads_t::size, TCR_4, TCW_4, and kmp_nested_nthreads_t::used.
Referenced by __kmp_internal_end(), and __kmp_launch_monitor().
void __kmp_clear_system_time | ( | void | ) |
Definition at line 1952 of file z_Linux_util.c.
References __kmp_sys_timer_data, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_timer::start, and status.
void __kmp_common_destroy | ( | void | ) |
Definition at line 212 of file kmp_threadprivate.c.
References __kmp_all_nth, __kmp_foreign_tp, __kmp_init_common, __kmp_threadprivate_d_table, __kmp_threadprivate_find_task_common(), __kmp_threads, shared_table::data, shared_common::dt, shared_common::dtor, shared_common::dtorv, FALSE, shared_common::gbl_addr, shared_common::is_vec, KMP_HASH_TABLE_SIZE, KMP_INITIAL_GTID, KMP_UBER_GTID, shared_common::next, shared_common::obj_init, private_common::par_addr, TCR_4, TCW_4, and shared_common::vec_len.
void __kmp_common_destroy_gtid | ( | int | gtid | ) |
Definition at line 273 of file kmp_threadprivate.c.
References __kmp_find_shared_task_common(), __kmp_foreign_tp, __kmp_init_common, __kmp_threadprivate_d_table, __kmp_threads, shared_common::dt, shared_common::dtor, shared_common::dtorv, private_common::gbl_addr, shared_common::is_vec, KC_TRACE, KMP_DEBUG_ASSERT, KMP_INITIAL_GTID, KMP_UBER_GTID, private_common::link, shared_common::obj_init, private_common::par_addr, TCR_4, and shared_common::vec_len.
Referenced by __kmp_launch_thread().
void __kmp_common_initialize | ( | void | ) |
Definition at line 181 of file kmp_threadprivate.c.
References __kmp_init_common, __kmp_root, __kmp_threadpriv_cache_list, __kmp_threadprivate_d_table, __kmp_threads_capacity, shared_table::data, KMP_DEBUG_ASSERT, KMP_HASH_TABLE_SIZE, TCR_4, TCW_4, and TRUE.
Referenced by __kmp_do_serial_initialize().
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 | ) |
Definition at line 1072 of file z_Linux_util.c.
References __kmp_get_gtid, __kmp_global, __kmp_launch_monitor(), __kmp_monitor_stksize, __kmp_msg(), __kmp_msg_null, __kmp_neq_4(), __kmp_sys_min_stksize, __kmp_wait_yield_4(), FALSE, KA_TRACE, KMP_CHECK_SYSFAIL, KMP_DEBUG_ASSERT, KMP_DEFAULT_MONITOR_STKSIZE, KMP_ERR, KMP_GTID_MONITOR, KMP_HNT, KMP_MB, kmp_ms_fatal, kmp_ms_warning, KMP_MSG, KMP_SYSFAIL, TCW_4, and TRUE.
Referenced by __kmp_allocate_thread().
void __kmp_create_worker | ( | int | gtid, | |
kmp_info_t * | th, | |||
size_t | stack_size | |||
) |
Definition at line 934 of file z_Linux_util.c.
References __kmp_check_stack_overlap(), __kmp_env_stksize, __kmp_gtid_mode, __kmp_launch_worker(), __kmp_msg(), __kmp_msg_null, __kmp_set_stack_info(), __kmp_stkoffset, __kmp_stksize, FALSE, KA_TRACE, KMP_ASSERT, KMP_DEFAULT_STKSIZE, KMP_ERR, KMP_HNT, KMP_MB, kmp_ms_fatal, kmp_ms_warning, KMP_MSG, KMP_SYSFAIL, KMP_UBER_GTID, KMP_UINTPTR_SPEC, TCR_4, TCW_4, TCW_PTR, and TRUE.
Referenced by __kmp_allocate_thread(), and __kmp_register_root().
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 | |||
) |
Definition at line 8200 of file kmp_runtime.c.
References __kmp_force_reduction_method, __kmp_get_team_num_threads, atomic_reduce_block, critical_reduce_block, empty_reduce_block, FAST_REDUCTION_ATOMIC_METHOD_GENERATED, FAST_REDUCTION_TREE_METHOD_GENERATED, KA_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, reduction_method_not_defined, tree_reduce_block, TREE_REDUCE_BLOCK_WITH_PLAIN_BARRIER, and TREE_REDUCE_BLOCK_WITH_REDUCTION_BARRIER.
Referenced by __kmpc_reduce(), and __kmpc_reduce_nowait().
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 | |||
) |
Definition at line 2092 of file kmp_runtime.c.
References __kmp_barrier_release_branch_bits, __kmp_barrier_release_pattern, __kmp_hyper_barrier_release(), __kmp_linear_barrier_release(), __kmp_threads, __kmp_tid_from_gtid, __kmp_tree_barrier_release(), bp_linear_bar, bp_tree_bar, FALSE, and KMP_MASTER_GTID.
Referenced by __kmpc_end_barrier_master(), __kmpc_end_reduce(), and __kmpc_end_taskq().
int __kmp_enter_single | ( | int | gtid, | |
ident_t * | id_ref, | |||
int | push_ws | |||
) |
Definition at line 1112 of file kmp_runtime.c.
References __kmp_check_workshare(), __kmp_env_consistency_check, __kmp_init_parallel, __kmp_parallel_initialize(), __kmp_push_workshare(), __kmp_threads, ct_psingle, KMP_COMPARE_AND_STORE_ACQ32, status, and TCR_4.
Referenced by __kmpc_single(), GOMP_single_copy_start(), and GOMP_single_start().
kmp_info_t* __kmp_entry_thread | ( | ) | [inline] |
Definition at line 2743 of file kmp.h.
References __kmp_entry_gtid.
Referenced by __kmp_get_reduce_method(), __kmpc_bound_num_threads(), __kmpc_in_parallel(), FTN_GET_DYNAMIC(), FTN_GET_NESTED(), FTN_IN_PARALLEL(), FTN_SET_DYNAMIC(), FTN_SET_NESTED(), kmpc_calloc(), kmpc_malloc(), kmpc_realloc(), ompc_set_dynamic(), and ompc_set_nested().
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 | |||
) |
Definition at line 364 of file kmp_utility.c.
References __kmp_dflt_team_nth, __kmp_expand_host_name(), __kmp_xproc, KMP_DEBUG_ASSERT, and KMP_FATAL.
Referenced by __kmp_stg_parse_file().
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 | |||
) |
Definition at line 2380 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_allocate_team(), __kmp_fork_team_threads(), __kmp_forkjoin_lock, __kmp_gtid_from_thread, __kmp_init_parallel, __kmp_init_serial, __kmp_internal_fork(), __kmp_invoke_microtask(), __kmp_nested_nth, __kmp_parallel_initialize(), __kmp_release_bootstrap_lock(), __kmp_reserve_threads(), __kmp_threads, __kmp_tid_from_gtid, __kmpc_serialized_parallel(), __ompt_lw_taskteam_init(), __ompt_lw_taskteam_link(), __ompt_lw_taskteam_unlink(), __ompt_parallel_id_new(), args, ompt_frame_s::exit_runtime_frame, FALSE, ompt_task_info_t::frame, get__nproc_2, get__sched_2, KA_TRACE, KF_TRACE, KMP_ARCH_X86_64, KMP_ASSERT2, KMP_DEBUG_ASSERT, KMP_MB, KMP_OS_LINUX, KMP_TEST_THEN_INC32, kmp_internal_control::next, kmp_internal_control::nproc, kmp_nested_nthreads_t::nth, ompt_callbacks, ompt_status, ompt_status_track, ompt_status_track_callback, OMPT_SUPPORT, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::ompt_team_info, ompt_team_info_t::parallel_id, kmp_team::t, ompt_task_info_t::task_id, TCR_4, TCW_SYNC_PTR, TRUE, and kmp_nested_nthreads_t::used.
Referenced by __kmp_GOMP_fork_call(), and __kmpc_fork_call().
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 * | ||||
) |
Definition at line 5789 of file kmp_runtime.c.
References __kmp_free_thread(), __kmp_get_gtid, __kmp_team_pool, FALSE, KA_TRACE, KMP_DEBUG_ASSERT, KMP_MB, kmp_team::t, TCW_SYNC_4, and TCW_SYNC_PTR.
Referenced by __kmp_join_call(), and __kmp_reset_root().
void __kmp_free_thread | ( | kmp_info_t * | ) |
Definition at line 5911 of file kmp_runtime.c.
References __kmp_avail_proc, __kmp_env_blocktime, __kmp_get_gtid, __kmp_nth, __kmp_thread_pool, __kmp_thread_pool_insert_pt, __kmp_thread_pool_nth, FALSE, KA_TRACE, KMP_DEBUG_ASSERT, KMP_MB, TCW_4, TCW_PTR, and TRUE.
Referenced by __kmp_allocate_team(), __kmp_free_team(), and __kmp_set_num_threads().
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 | ) |
Definition at line 155 of file kmp_runtime.c.
References __kmp_all_nth, __kmp_gtid_get_specific(), __kmp_gtid_mode, __kmp_init_gtid, __kmp_nth, __kmp_print_storage_map_gtid(), __kmp_storage_map, __kmp_threads, __kmp_threads_capacity, i, KA_TRACE, KMP_DEBUG_ASSERT, KMP_FATAL, KMP_GTID_DNE, TCR_4, TCR_PTR, TCR_SYNC_PTR, and TCW_PTR.
Referenced by __kmp_get_global_thread_id_reg().
int __kmp_get_global_thread_id_reg | ( | void | ) |
Definition at line 260 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_do_serial_initialize(), __kmp_get_global_thread_id(), __kmp_gtid_get_specific(), __kmp_gtid_mode, __kmp_init_serial, __kmp_initz_lock, __kmp_register_root(), __kmp_release_bootstrap_lock(), FALSE, KA_TRACE, KMP_DEBUG_ASSERT, KMP_GTID_DNE, and TCR_4.
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 | ) |
Definition at line 3375 of file kmp_runtime.c.
References __kmp_chunk, __kmp_guided, __kmp_sched, __kmp_static, kmp_r_sched::chunk, KMP_DEFAULT_CHUNK, kmp_sch_guided_chunked, kmp_sch_static, and kmp_r_sched::r_sched_type.
Referenced by __kmp_dispatch_init(), __kmp_get_global_icvs(), and __kmp_initialize_root().
int __kmp_gtid_get_specific | ( | void | ) |
Definition at line 1876 of file z_Linux_util.c.
References __kmp_gtid_threadprivate_key, __kmp_init_runtime, KA_TRACE, KMP_GTID_DNE, and KMP_GTID_SHUTDOWN.
Referenced by __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_initialize_root(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_register_root(), __ompt_thread_assign_wait_id(), and ompt_get_thread().
void __kmp_gtid_set_specific | ( | int | gtid | ) |
Definition at line 1867 of file z_Linux_util.c.
References __kmp_gtid_threadprivate_key, __kmp_init_runtime, KA_TRACE, KMP_ASSERT, KMP_CHECK_SYSFAIL, and KMP_FATAL.
Referenced by __kmp_internal_end_dest(), __kmp_launch_monitor(), __kmp_launch_worker(), __kmp_register_root(), and __kmp_unregister_root_current_thread().
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 | ) |
Referenced by __kmp_allocate_thread(), and __kmp_register_root().
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 | ) |
Definition at line 8009 of file kmp_runtime.c.
References __kmp_acquire_lock(), __kmp_entry_gtid, __kmp_release_lock(), __kmp_threads, KMP_ASSERT, KMP_UBER_GTID, and TRUE.
Referenced by __kmpc_begin().
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 * | ) |
Definition at line 6447 of file kmp_runtime.c.
References __kmp_gtid_set_specific(), __kmp_internal_end_thread(), KA_TRACE, and KMP_UBER_GTID.
Referenced by __kmp_runtime_initialize().
void __kmp_internal_end_dtor | ( | void | ) |
void __kmp_internal_end_fini | ( | void | ) |
void __kmp_internal_end_library | ( | int | gtid | ) |
Definition at line 6776 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_close_console(), __kmp_debug_buf, __kmp_dump_debug_buffer(), __kmp_fini_allocator(), __kmp_forkjoin_lock, __kmp_global, __kmp_gtid_get_specific(), __kmp_init_serial, __kmp_initz_lock, __kmp_internal_end(), __kmp_release_bootstrap_lock(), __kmp_root, __kmp_unregister_root_current_thread(), KA_TRACE, KMP_GTID_DNE, KMP_GTID_MONITOR, KMP_GTID_SHUTDOWN, KMP_MB, KMP_UBER_GTID, TCR_4, TCW_SYNC_4, and TRUE.
Referenced by __kmp_internal_end_atexit().
void __kmp_internal_end_thread | ( | int | gtid | ) |
Definition at line 6880 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_debug_buf, __kmp_dump_debug_buffer(), __kmp_forkjoin_lock, __kmp_global, __kmp_gtid_get_specific(), __kmp_init_serial, __kmp_initz_lock, __kmp_internal_end(), __kmp_release_bootstrap_lock(), __kmp_root, __kmp_threads, __kmp_unregister_root_current_thread(), KA_TRACE, KMP_GTID_DNE, KMP_GTID_MONITOR, KMP_GTID_SHUTDOWN, KMP_MB, KMP_UBER_GTID, TCR_4, TCR_PTR, TCW_SYNC_4, and TRUE.
Referenced by __kmp_internal_end_dest(), and __kmpc_end().
void __kmp_internal_fork | ( | ident_t * | id, | |
int | gtid, | |||
kmp_team_t * | team | |||
) |
Definition at line 7712 of file kmp_runtime.c.
References __kmp_fork_barrier(), __kmp_threads, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_MASTER_GTID, KMP_MAX_DISP_BUF, KMP_MB, and kmp_team::t.
Referenced by __kmp_fork_call().
void __kmp_internal_join | ( | ident_t * | id, | |
int | gtid, | |||
kmp_team_t * | team | |||
) |
Definition at line 7754 of file kmp_runtime.c.
References __kmp_join_barrier(), __kmp_printf(), __kmp_threads, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_MASTER_GTID, KMP_MB, and kmp_team::t.
Referenced by __kmp_join_call().
int __kmp_invoke_microtask | ( | microtask_t | pkfn, | |
int | gtid, | |||
int | npr, | |||
int | argc, | |||
void * | argv[], | |||
void ** | exit_frame_ptr | |||
) |
Referenced by __kmp_fork_call(), and __kmp_invoke_task_func().
int __kmp_invoke_task_func | ( | int | gtid | ) |
Definition at line 7649 of file kmp_runtime.c.
References __kmp_invoke_microtask(), __kmp_run_after_invoked_task(), __kmp_run_before_invoked_task(), __kmp_threads, __kmp_tid_from_gtid, kmp_team::t, and TCR_SYNC_PTR.
Referenced by __kmp_GOMP_fork_call(), __kmpc_fork_call(), and __kmpc_invoke_task_func().
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 | |||
) |
Definition at line 2833 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_forkjoin_lock, __kmp_free_team(), __kmp_gtid_from_thread, __kmp_internal_join(), __kmp_release_bootstrap_lock(), __kmp_threads, __kmp_tid_from_gtid, __kmpc_end_serialized_parallel(), KA_TRACE, KF_TRACE, KMP_DEBUG_ASSERT, KMP_MB, KMP_TEST_THEN_DEC32, ompt_callbacks, ompt_status, ompt_status_track, ompt_status_track_callback, ompt_parallel_info_s::parallel_function, ompt_parallel_info_s::parallel_id, ompt_parallel_info_s::parent_task_frame, ompt_parallel_info_s::parent_task_id, and kmp_team::t.
Referenced by __kmpc_fork_call(), and GOMP_parallel_end().
void* __kmp_launch_thread | ( | kmp_info_t * | thr | ) |
Definition at line 6317 of file kmp_runtime.c.
References __kmp_allocate_cons_stack(), __kmp_common_destroy_gtid(), __kmp_env_consistency_check, __kmp_fork_barrier(), __kmp_global, __kmp_join_barrier(), __kmp_threads, __kmp_tid_from_gtid, KA_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_GTID_DNE, KMP_MB, ompt_callbacks, ompt_status, ompt_status_track, ompt_status_track_callback, TCR_4, TCR_PTR, and TCR_SYNC_PTR.
Referenced by __kmp_launch_worker().
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 | ) |
Definition at line 7527 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_do_middle_initialize(), __kmp_init_middle, __kmp_initz_lock, and __kmp_release_bootstrap_lock().
Referenced by FTN_GET_MAX_THREADS(), and FTN_GET_NUM_PROCS().
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 | |||
) |
Definition at line 1041 of file kmp_runtime.c.
References __kmp_env_consistency_check, __kmp_push_sync(), __kmp_team_from_gtid, __kmp_threads, __kmp_tid_from_gtid, ct_ordered_in_parallel, KMP_EQ, KMP_MB, and KMP_WAIT_YIELD.
Referenced by __kmpc_ordered().
void __kmp_parallel_dxo | ( | int * | gtid_ref, | |
int * | cid_ref, | |||
ident_t * | loc_ref | |||
) |
Definition at line 1068 of file kmp_runtime.c.
References __kmp_env_consistency_check, __kmp_pop_sync(), __kmp_team_from_gtid, __kmp_threads, __kmp_tid_from_gtid, ct_ordered_in_parallel, KMP_MB, ompt_callbacks, ompt_status, ompt_status_track_callback, and kmp_team::t.
Referenced by __kmpc_end_ordered().
void __kmp_parallel_initialize | ( | void | ) |
Definition at line 7542 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_do_middle_initialize(), __kmp_entry_gtid, __kmp_global, __kmp_infinite_loop(), __kmp_init_middle, __kmp_init_parallel, __kmp_initz_lock, __kmp_print_version_2(), __kmp_release_bootstrap_lock(), __kmp_suspend_initialize(), __kmp_version, dynamic_default, dynamic_thread_limit, KA_TRACE, KMP_ASSERT, KMP_MB, KMP_UBER_GTID, TCR_4, TCW_SYNC_4, and TRUE.
Referenced by __kmp_dispatch_init(), __kmp_enter_single(), __kmp_fork_call(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_end_serialized_parallel(), __kmpc_master(), __kmpc_ordered(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), GOMP_single_copy_start(), and GOMP_single_start().
void __kmp_print_storage_map_gtid | ( | int | gtid, | |
void * | p1, | |||
void * | p2, | |||
size_t | size, | |||
char const * | format, | |||
... | ||||
) |
Definition at line 650 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_printf_no_lock(), __kmp_release_bootstrap_lock(), __kmp_stdio_lock, __kmp_storage_map_verbose, __kmp_vprintf(), FALSE, kmp_err, KMP_I18N_STR, MAX_MESSAGE, and PAGE_SIZE.
Referenced by __kmp_alloc_argv_entries(), __kmp_check_stack_overlap(), __kmp_get_global_thread_id(), __kmp_initialize_info(), __kmp_print_team_storage_map(), and __kmp_print_thread_storage_map().
void __kmp_push_num_threads | ( | ident_t * | loc, | |
int | gtid, | |||
int | num_threads | |||
) |
Definition at line 7687 of file kmp_runtime.c.
References __kmp_threads.
Referenced by __kmpc_push_num_threads(), GOMP_parallel_sections_start(), and GOMP_parallel_start().
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 | ) |
Definition at line 1910 of file z_Linux_util.c.
References kmp_sys_info::inblock, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_info::majflt, kmp_sys_info::maxrss, kmp_sys_info::minflt, kmp_sys_info::nivcsw, kmp_sys_info::nswap, kmp_sys_info::nvcsw, and kmp_sys_info::oublock.
void __kmp_read_system_time | ( | double * | delta | ) |
Definition at line 1937 of file z_Linux_util.c.
References __kmp_sys_timer_data, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_timer::start, status, and TS2NS.
Referenced by __kmp_register_library_startup().
void __kmp_reap_monitor | ( | kmp_info_t * | th | ) |
Definition at line 1234 of file z_Linux_util.c.
References __kmp_free_handle(), __kmp_msg(), __kmp_msg_null, __kmp_reap_common(), FALSE, i, KA_TRACE, KMP_DEBUG_ASSERT, KMP_ERR, KMP_GTID_DNE, KMP_GTID_MONITOR, KMP_MB, kmp_ms_fatal, KMP_MSG, and status.
Referenced by __kmp_internal_end().
kmp_team_t* __kmp_reap_team | ( | kmp_team_t * | ) |
Definition at line 5852 of file kmp_runtime.c.
References __kmp_free, __kmp_free_team_arrays(), KMP_DEBUG_ASSERT, and KMP_MB.
Referenced by __kmp_allocate_team(), __kmp_internal_end(), and __kmp_reap_thread().
void __kmp_reap_worker | ( | kmp_info_t * | th | ) |
Definition at line 1286 of file z_Linux_util.c.
References __kmp_msg(), __kmp_msg_null, __kmp_reap_common(), KA_TRACE, KMP_ERR, KMP_MB, kmp_ms_fatal, and KMP_MSG.
Referenced by __kmp_reap_thread().
int __kmp_register_root | ( | int | initial_thread | ) |
Definition at line 4205 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_adjust_gtid_mode, __kmp_all_nth, __kmp_allocate, __kmp_allocate_cons_stack(), __kmp_allocate_team(), __kmp_avail_proc, __kmp_bt_intervals, __kmp_create_worker(), __kmp_dflt_blocktime, __kmp_dflt_nested, __kmp_dflt_team_nth_ub, __kmp_env_blocktime, __kmp_env_consistency_check, __kmp_expand_threads(), __kmp_forkjoin_lock, __kmp_get_global_icvs(), __kmp_global, __kmp_gtid_from_tid, __kmp_gtid_get_specific(), __kmp_gtid_mode, __kmp_gtid_set_specific(), __kmp_init_gtid, __kmp_init_middle, __kmp_init_random(), __kmp_initialize_bget(), __kmp_initialize_fast_memory(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_msg(), __kmp_msg_null, __kmp_nth, __kmp_print_thread_storage_map(), __kmp_release_bootstrap_lock(), __kmp_root, __kmp_root_counter, __kmp_stksize, __kmp_storage_map, __kmp_threads, __kmp_tls_gtid_min, __kmp_tp_cached, __kmp_tp_capacity, __ompt_parallel_id_new(), bs_forkjoin_barrier, bs_last_barrier, KA_TRACE, KF_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_HNT, KMP_INIT_BARRIER_STATE, KMP_MB, kmp_ms_fatal, KMP_MSG, ompt_get_thread_gtid(), OMPT_SUPPORT, TCR_4, TCR_PTR, TCW_4, TCW_SYNC_PTR, and TRUE.
Referenced by __kmp_do_serial_initialize(), and __kmp_get_global_thread_id_reg().
void __kmp_release | ( | kmp_info_t * | target_thr, | |
volatile kmp_uint * | spin, | |||
enum kmp_mem_fence_type | fetchadd_fence | |||
) |
Definition at line 593 of file kmp_runtime.c.
References __kmp_dflt_blocktime, __kmp_get_gtid, __kmp_init_gtid, __kmp_resume(), KF_TRACE, kmp_acquire_fence, KMP_BARRIER_SLEEP_STATE, KMP_DEBUG_ASSERT, KMP_MAX_BLOCKTIME, kmp_release_fence, KMP_TEST_THEN_ADD4_32, KMP_TEST_THEN_ADD4_ACQ32, and TCR_4.
Referenced by __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_reap_thread(), __kmp_tree_barrier_gather(), and __kmp_tree_barrier_release().
void __kmp_resume | ( | int | target_gtid, | |
volatile kmp_uint * | spinner | |||
) |
Definition at line 1786 of file z_Linux_util.c.
References __kmp_get_gtid, __kmp_init_gtid, __kmp_printf(), __kmp_suspend_initialize_thread(), __kmp_test_then_and32(), __kmp_threads, __kmp_win32_cond_signal(), __kmp_win32_mutex_lock(), __kmp_win32_mutex_unlock(), KF_TRACE, KMP_BARRIER_SLEEP_STATE, KMP_CHECK_SYSFAIL, KMP_DEBUG_ASSERT, status, TCR_4, TCR_PTR, and TCW_PTR.
Referenced by __kmp_release().
void __kmp_run_after_invoked_task | ( | int | gtid, | |
int | tid, | |||
kmp_info_t * | this_thr, | |||
kmp_team_t * | team | |||
) |
Definition at line 7641 of file kmp_runtime.c.
References __kmp_env_consistency_check, __kmp_pop_parallel(), and kmp_team::t.
Referenced by __kmp_invoke_task_func(), and GOMP_parallel_end().
void __kmp_run_before_invoked_task | ( | int | gtid, | |
int | tid, | |||
kmp_info_t * | this_thr, | |||
kmp_team_t * | team | |||
) |
Definition at line 7614 of file kmp_runtime.c.
References __kmp_env_consistency_check, __kmp_push_parallel(), bs_forkjoin_barrier, KMP_CACHE_PREFETCH, KMP_DEBUG_ASSERT, KMP_MB, kmp_team::t, and TCR_PTR.
Referenced by __kmp_GOMP_fork_call(), and __kmp_invoke_task_func().
void __kmp_runtime_destroy | ( | void | ) |
Definition at line 2141 of file z_Linux_util.c.
References __kmp_gtid_threadprivate_key, __kmp_init_runtime, __kmp_wait_cv, __kmp_wait_mx, FALSE, KA_TRACE, KMP_CHECK_SYSFAIL, and KMP_SYSFAIL.
Referenced by __kmp_cleanup().
void __kmp_runtime_initialize | ( | void | ) |
Definition at line 2068 of file z_Linux_util.c.
References __kmp_cpu_frequency, __kmp_cpuinfo, __kmp_get_frequency_from_proc(), __kmp_get_xproc(), __kmp_gtid_threadprivate_key, __kmp_init_runtime, __kmp_initialize_system_tick(), __kmp_internal_end_dest(), __kmp_str_buf_free(), __kmp_str_buf_init, __kmp_str_buf_print(), __kmp_str_buf_reserve(), __kmp_sys_max_nth, __kmp_sys_min_stksize, __kmp_tls_gtid_min, __kmp_wait_cv, __kmp_wait_mx, __kmp_xproc, kmp_cpuinfo::frequency, kmp_cpuinfo::initialized, KA_TRACE, KMP_CHECK_SYSFAIL, KMP_DEBUG_ASSERT, KMP_FATAL, KMP_MAX_NTH, KMP_MIN_STKSIZE, KMP_TLS_GTID_MIN, kmp_str_buf::size, kmp_str_buf::str, TRUE, and kmp_str_buf::used.
Referenced by __kmp_do_serial_initialize().
void __kmp_save_internal_controls | ( | kmp_info_t * | thread | ) |
Definition at line 3013 of file kmp_runtime.c.
References __kmp_allocate, kmp_internal_control::blocktime, kmp_internal_control::bt_intervals, kmp_internal_control::bt_set, kmp_internal_control::dynamic, kmp_internal_control::nested, kmp_internal_control::next, kmp_internal_control::nproc, and kmp_internal_control::serial_nesting_level.
Referenced by __kmp_aux_set_blocktime(), __kmp_set_num_threads(), FTN_SET_DYNAMIC(), FTN_SET_NESTED(), ompc_set_dynamic(), and ompc_set_nested().
void __kmp_serial_initialize | ( | void | ) |
Definition at line 7394 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_do_serial_initialize(), __kmp_init_serial, __kmp_initz_lock, and __kmp_release_bootstrap_lock().
Referenced by __kmp_aux_set_defaults(), __kmp_aux_set_stacksize(), __kmpc_place_threads(), FTN_GET_NUM_KNOWN_THREADS(), FTN_GET_STACKSIZE(), FTN_GET_STACKSIZE_S(), FTN_GET_WTICK(), FTN_GET_WTIME(), and if().
void __kmp_set_num_threads | ( | int | new_nth, | |
int | gtid | |||
) |
Definition at line 3054 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_forkjoin_lock, __kmp_free_thread(), __kmp_init_parallel, __kmp_init_serial, __kmp_max_nth, __kmp_release_bootstrap_lock(), __kmp_save_internal_controls(), __kmp_threads, FALSE, KA_TRACE, KF_TRACE, KMP_DEBUG_ASSERT, KMP_MB, set__nproc, kmp_team::t, TCR_SYNC_4, and TCW_SYNC_4.
Referenced by FTN_SET_NUM_THREADS(), and ompc_set_num_threads().
Definition at line 1646 of file z_Linux_util.c.
References __kmp_dflt_blocktime, __kmp_printf(), __kmp_suspend_initialize_thread(), __kmp_test_then_and32(), __kmp_test_then_or32(), __kmp_thread_pool_active_nth, __kmp_threads, __kmp_win32_cond_wait(), __kmp_win32_mutex_lock(), __kmp_win32_mutex_unlock(), FALSE, KF_TRACE, KMP_BARRIER_SLEEP_STATE, KMP_CHECK_SYSFAIL, KMP_CHECK_SYSFAIL_ERRNO, KMP_DEBUG_ASSERT, KMP_SYSFAIL, KMP_TEST_THEN_DEC32, KMP_TEST_THEN_INC32, status, TCR_4, TCW_PTR, and TRUE.
Referenced by __kmp_wait_sleep().
void __kmp_suspend_initialize | ( | void | ) |
Definition at line 1595 of file z_Linux_util.c.
References __kmp_suspend_cond_attr, __kmp_suspend_mutex_attr, and KMP_CHECK_SYSFAIL.
Referenced by __kmp_parallel_initialize().
void __kmp_suspend_uninitialize_thread | ( | kmp_info_t * | th | ) |
Definition at line 1620 of file z_Linux_util.c.
References __kmp_fork_count, __kmp_win32_cond_destroy(), __kmp_win32_mutex_destroy(), FALSE, KMP_DEBUG_ASSERT, KMP_SYSFAIL, TCR_4, and TCW_4.
Referenced by __kmp_reap_thread().
void __kmp_terminate_thread | ( | int | gtid | ) |
Definition at line 581 of file z_Linux_util.c.
References __kmp_free_handle(), __kmp_msg(), __kmp_msg_null, __kmp_threads, __kmp_yield(), FALSE, KA_TRACE, KMP_ERR, kmp_ms_fatal, KMP_MSG, and TRUE.
Referenced by __kmp_launch_monitor().
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 | |||
) |
Referenced by __kmp_suspend(), and __kmpc_end_taskq_task().
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 | ) |
Definition at line 8037 of file kmp_runtime.c.
References __kmp_aux_set_library(), __kmp_dflt_team_nth, __kmp_dflt_team_nth_ub, __kmp_entry_gtid, __kmp_threads, KA_TRACE, KMP_FATAL, KMP_WARNING, library_serial, library_throughput, library_turnaround, and set__nproc_p.
Referenced by FTN_SET_LIBRARY(), FTN_SET_LIBRARY_SERIAL(), FTN_SET_LIBRARY_THROUGHPUT(), FTN_SET_LIBRARY_TURNAROUND(), and kmpc_set_library().
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, | |
... | ||||
) |
Definition at line 707 of file kmp_runtime.c.
References __kmp_acquire_bootstrap_lock(), __kmp_generate_warnings, __kmp_release_bootstrap_lock(), __kmp_stdio_lock, __kmp_vprintf(), kmp_err, kmp_warnings_off, and MAX_MESSAGE.
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 | |||
) |
Definition at line 1666 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_free(), __kmp_user_lock_kind, DESTROY_LOCK, kmp_tas_lock::lk, lk_tas, OMP_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_DESTROY_LOCK().
KMP_EXPORT void __kmpc_destroy_nest_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1703 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_free(), __kmp_user_lock_kind, kmp_base_tas_lock::depth_locked, DESTROY_NESTED_LOCK, kmp_tas_lock::lk, lk_tas, OMP_NEST_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_DESTROY_NEST_LOCK().
void __kmpc_dispatch_fini_4 | ( | ident_t * | loc, | |
kmp_int32 | gtid | |||
) |
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 | |||
) |
Definition at line 2256 of file kmp_dispatch.cpp.
void __kmpc_dispatch_fini_8 | ( | ident_t * | loc, | |
kmp_int32 | gtid | |||
) |
Definition at line 2247 of file kmp_dispatch.cpp.
void __kmpc_dispatch_fini_8u | ( | ident_t * | loc, | |
kmp_int32 | gtid | |||
) |
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 | |||
) |
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 | |||
) |
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 | |||
) |
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 | |||
) |
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 |
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 | |||
) |
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 | |||
) |
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 | |||
) |
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 | |||
) |
Definition at line 1589 of file kmp_taskq.c.
References __kmp_acquire_lock(), __kmp_barrier(), __kmp_dequeue_task(), __kmp_dump_task_queue(), __kmp_dump_task_queue_tree(), __kmp_end_split_barrier(), __kmp_execute_task_from_queue(), __kmp_find_and_remove_finished_child_taskq(), __kmp_find_task_in_ancestor_queue(), __kmp_find_task_in_descendant_queue(), __kmp_find_task_in_queue(), __kmp_free_taskq(), __kmp_release_lock(), __kmp_remove_all_child_taskq(), __kmp_remove_queue_from_tree(), __kmp_static_delay, __kmp_taskq_has_any_children(), __kmp_taskq_tasks_finished(), __KMP_TASKQ_THUNKS_PER_TH, __kmp_threads, kmpc_aligned_int32_t::ai_data, bs_plain_barrier, i, KE_TRACE, KF_DUMP, KF_TRACE, KMP_DEBUG_ASSERT, KMP_INIT_YIELD, KMP_MASTER_GTID, KMP_YIELD_WHEN, kmpc_shared_vars_t::sv_queue, kmpc_thunk_t::th, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_next_free, kmpc_thunk_t::th_shareds, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_first_child, kmpc_task_queue_t::tq_flags, kmpc_task_queue_t::tq_free_thunks, kmpc_task_queue_t::tq_link_lck, kmpc_task_queue_t::tq_next_child, kmpc_task_queue_t::tq_nfull, kmpc_task_queue_t::tq_nslots, kmpc_task_queue_t::tq_parent, kmpc_task_queue_t::tq_queue_lck, kmpc_task_queue_t::tq_ref_count, kmpc_task_queue_t::tq_taskq_slot, kmpc_task_queue_t::tq_th_thunks, TQF_ALL_TASKS_QUEUED, TQF_DEALLOCATED, TQF_IS_LAST_TASK, TQF_IS_NOWAIT, TQF_PARALLEL_CONTEXT, TQF_RELEASE_WORKERS, and TRUE.
KMP_EXPORT void __kmpc_end_taskq_task | ( | ident_t * | loc, | |
kmp_int32 | global_tid, | |||
kmpc_thunk_t * | thunk | |||
) |
Definition at line 1951 of file kmp_taskq.c.
References __kmp_acquire_lock(), __kmp_dump_thunk_stack(), __kmp_env_consistency_check, __kmp_pop_workshare(), __kmp_release_lock(), __kmp_test_then_or32(), __kmp_threads, __kmp_tid_from_gtid, ct_taskq, KE_TRACE, KF_DUMP, KMP_MB, kmpc_shared_vars_t::sv_queue, kmpc_thunk_t::th, kmpc_thunk_t::th_encl_thunk, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_shareds, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_flags, kmpc_task_queue_t::tq_queue_lck, TQF_ALL_TASKS_QUEUED, TQF_IS_LAST_TASK, TQF_IS_LASTPRIVATE, and TQF_PARALLEL_CONTEXT.
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 | |||
) |
Definition at line 1599 of file kmp_csupport.c.
References __kmp_env_consistency_check, __kmp_init_serial, __kmp_set_user_lock_location(), __kmp_user_lock_allocate(), __kmp_user_lock_kind, INIT_LOCK, KMP_CHECK_USER_LOCK_INIT, KMP_DEBUG_ASSERT, KMP_FATAL, kmp_tas_lock::lk, lk_tas, OMP_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_INIT_LOCK().
KMP_EXPORT void __kmpc_init_nest_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1632 of file kmp_csupport.c.
References __kmp_env_consistency_check, __kmp_init_serial, __kmp_set_user_lock_location(), __kmp_user_lock_allocate(), __kmp_user_lock_kind, kmp_base_tas_lock::depth_locked, INIT_NESTED_LOCK, KMP_CHECK_USER_LOCK_INIT, KMP_DEBUG_ASSERT, KMP_FATAL, kmp_tas_lock::lk, lk_tas, OMP_NEST_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_INIT_NEST_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 | |||
) |
Definition at line 1742 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, ACQUIRE_LOCK, kmp_tas_lock::lk, lk_tas, OMP_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_SET_LOCK().
KMP_EXPORT void __kmpc_set_nest_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1766 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, ACQUIRE_NESTED_LOCK, kmp_base_tas_lock::depth_locked, kmp_tas_lock::lk, lk_tas, OMP_NEST_LOCK_T_SIZE, kmp_base_tas_lock::poll, and kmp_user_lock::tas.
Referenced by FTN_SET_NEST_LOCK().
KMP_EXPORT kmp_int32 __kmpc_task | ( | ident_t * | loc, | |
kmp_int32 | global_tid, | |||
kmpc_thunk_t * | thunk | |||
) |
Definition at line 1853 of file kmp_taskq.c.
References __kmp_dequeue_task(), __kmp_dump_task_queue(), __kmp_dump_thunk(), __kmp_enqueue_task(), __kmp_execute_task_from_queue(), __kmp_threads, if(), KE_TRACE, KF_DUMP, KF_TRACE, KMP_DEBUG_ASSERT, kmpc_shared_vars_t::sv_queue, kmpc_thunk_t::th, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_shareds, kmpc_thunk_t::th_tasknum, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_flags, kmpc_task_queue_t::tq_nfull, kmpc_task_queue_t::tq_tasknum_queuing, TQF_IS_ORDERED, TQF_PARALLEL_CONTEXT, and TQF_TASKQ_TASK.
KMP_EXPORT kmpc_thunk_t* __kmpc_task_buffer | ( | ident_t * | loc, | |
kmp_int32 | global_tid, | |||
kmpc_thunk_t * | taskq_thunk, | |||
kmpc_task_t | task | |||
) |
Definition at line 2039 of file kmp_taskq.c.
References __kmp_alloc_thunk(), __kmp_dump_thunk(), __kmp_threads, kmpc_aligned_shared_vars_t::ai_data, KE_TRACE, KF_DUMP, KF_TRACE, KMP_DEBUG_ASSERT, kmpc_shared_vars_t::sv_queue, kmpc_thunk_t::th, kmpc_thunk_t::th_encl_thunk, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_shareds, kmpc_thunk_t::th_status, kmpc_thunk_t::th_task, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_flags, kmpc_task_queue_t::tq_shareds, TQF_INTERFACE_FLAGS, TQF_PARALLEL_CONTEXT, and TQF_TASKQ_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 | |||
) |
Definition at line 1377 of file kmp_taskq.c.
References __kmp_acquire_lock(), __kmp_alloc_taskq(), __kmp_allocate, __kmp_barrier(), __kmp_dump_task_queue(), __kmp_dump_task_queue_tree(), __kmp_dump_thunk(), __kmp_dump_thunk_stack(), __kmp_env_consistency_check, __kmp_free, __kmp_init_lock(), __kmp_push_workshare(), __kmp_release_lock(), __kmp_taskq_eo(), __KMP_TASKQ_THUNKS_PER_TH, __kmp_taskq_xo(), __kmp_threads, __kmp_tid_from_gtid, kmpc_aligned_shared_vars_t::ai_data, bs_plain_barrier, ct_taskq, HIGH_WATER_MARK, i, if(), in_parallel_context(), KE_TRACE, KF_DUMP, KF_TRACE, KMP_DEBUG_ASSERT, KMP_DEBUG_REF_CTS, KMP_MB, kmpc_thunk_t::th, kmpc_thunk_t::th_encl_thunk, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_shareds, kmpc_thunk_t::th_status, kmpc_thunk_t::th_task, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_first_child, kmpc_task_queue_t::tq_flags, kmpc_task_queue_t::tq_head, kmpc_task_queue_t::tq_hiwat, kmpc_task_queue_t::tq_link_lck, kmpc_task_queue_t::tq_loc, kmpc_task_queue_t::tq_next_child, kmpc_task_queue_t::tq_nfull, kmpc_task_queue_t::tq_nslots, kmpc_task_queue_t::tq_parent, kmpc_task_queue_t::tq_prev_child, kmpc_task_queue_t::tq_ref_count, kmpc_task_queue_t::tq_shareds, kmpc_task_queue_t::tq_tail, kmpc_task_queue_t::tq_tasknum_queuing, kmpc_task_queue_t::tq_tasknum_serving, kmpc_task_queue_t::tq_taskq_slot, TQF_INTERFACE_FLAGS, TQF_IS_ORDERED, TQF_PARALLEL_CONTEXT, TQF_RELEASE_WORKERS, TQF_TASKQ_TASK, and TRUE.
KMP_EXPORT void __kmpc_taskq_task | ( | ident_t * | loc, | |
kmp_int32 | global_tid, | |||
kmpc_thunk_t * | thunk, | |||
kmp_int32 | status | |||
) |
Definition at line 1908 of file kmp_taskq.c.
References __kmp_dump_thunk(), __kmp_dump_thunk_stack(), __kmp_env_consistency_check, __kmp_pop_workshare(), __kmp_threads, __kmp_tid_from_gtid, ct_taskq, KE_TRACE, KF_DUMP, KF_TRACE, KMP_DEBUG_ASSERT, KMP_MB, kmpc_shared_vars_t::sv_queue, kmpc_thunk_t::th, kmpc_thunk_t::th_encl_thunk, kmpc_thunk_t::th_flags, kmpc_thunk_t::th_shareds, kmpc_thunk_t::th_status, kmpc_task_queue_t::tq, kmpc_task_queue_t::tq_taskq_slot, and TQF_TASKQ_TASK.
KMP_EXPORT int __kmpc_test_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1874 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, FTN_FALSE, FTN_TRUE, kmp_tas_lock::lk, lk_tas, OMP_LOCK_T_SIZE, kmp_base_tas_lock::poll, kmp_user_lock::tas, and TEST_LOCK.
Referenced by FTN_TEST_LOCK().
KMP_EXPORT int __kmpc_test_nest_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1902 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, kmp_base_tas_lock::depth_locked, kmp_tas_lock::lk, lk_tas, OMP_NEST_LOCK_T_SIZE, kmp_base_tas_lock::poll, kmp_user_lock::tas, and TEST_NESTED_LOCK.
Referenced by FTN_TEST_NEST_LOCK().
KMP_EXPORT void* __kmpc_threadprivate | ( | ident_t * | , | |
kmp_int32 | global_tid, | |||
void * | data, | |||
size_t | size | |||
) |
Definition at line 597 of file kmp_threadprivate.c.
References __kmp_foreign_tp, __kmp_init_serial, __kmp_threadprivate_find_task_common(), __kmp_threads, private_common::cmn_size, KC_TRACE, KMP_FATAL, kmp_threadprivate_insert(), kmp_threadprivate_insert_private_data(), KMP_UINTPTR_SPEC, and private_common::par_addr.
Referenced by __kmpc_threadprivate_cached().
KMP_EXPORT void __kmpc_unset_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1790 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, KMP_MB, kmp_tas_lock::lk, lk_tas, OMP_LOCK_T_SIZE, ompt_callbacks, ompt_status, ompt_status_track_callback, kmp_base_tas_lock::poll, RELEASE_LOCK, kmp_user_lock::tas, and TCW_4.
Referenced by FTN_UNSET_LOCK().
KMP_EXPORT void __kmpc_unset_nest_lock | ( | ident_t * | loc, | |
kmp_int32 | gtid, | |||
void ** | user_lock | |||
) |
Definition at line 1830 of file kmp_csupport.c.
References __kmp_lookup_user_lock(), __kmp_user_lock_kind, kmp_base_tas_lock::depth_locked, KMP_MB, KMP_NESTED_LOCK_RELEASED, kmp_tas_lock::lk, lk_tas, OMP_NEST_LOCK_T_SIZE, ompt_callbacks, ompt_status, ompt_status_track_callback, kmp_base_tas_lock::poll, RELEASE_NESTED_LOCK, kmp_user_lock::tas, and TCW_4.
Referenced by FTN_UNSET_NEST_LOCK().
struct private_common * kmp_threadprivate_insert | ( | int | gtid, | |
void * | pc_addr, | |||
void * | data_addr, | |||
size_t | pc_size | |||
) | [read] |
Definition at line 385 of file kmp_threadprivate.c.
References __kmp_acquire_lock(), __kmp_allocate, __kmp_copy_common_data(), __kmp_find_shared_task_common(), __kmp_foreign_tp, __kmp_global_lock, __kmp_init_common_data(), __kmp_release_lock(), __kmp_threadprivate_d_table, __kmp_threads, shared_common::cct, shared_common::cctor, shared_common::cctorv, private_common::cmn_size, shared_common::cmn_size, shared_common::ct, shared_common::ctor, shared_common::ctorv, shared_table::data, shared_common::gbl_addr, private_common::gbl_addr, shared_common::is_vec, KC_TRACE, KMP_FATAL, KMP_HASH, KMP_INITIAL_GTID, KMP_UBER_GTID, KMP_UINTPTR_SPEC, private_common::link, private_common::next, shared_common::next, shared_common::obj_init, private_common::par_addr, shared_common::pod_init, and shared_common::vec_len.
Referenced by __kmpc_threadprivate().
void kmp_threadprivate_insert_private_data | ( | int | gtid, | |
void * | pc_addr, | |||
void * | data_addr, | |||
size_t | pc_size | |||
) |
Definition at line 349 of file kmp_threadprivate.c.
References __kmp_acquire_lock(), __kmp_allocate, __kmp_find_shared_task_common(), __kmp_global_lock, __kmp_init_common_data(), __kmp_release_lock(), __kmp_threadprivate_d_table, __kmp_threads, shared_common::cmn_size, shared_table::data, shared_common::gbl_addr, KMP_DEBUG_ASSERT, KMP_HASH, shared_common::next, and shared_common::pod_init.
Referenced by __kmpc_threadprivate().
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 | ) |
Definition at line 1434 of file kmp_csupport.c.
References __kmp_aux_set_blocktime(), __kmp_entry_gtid, __kmp_thread_from_gtid, and __kmp_tid_from_gtid.
Referenced by __kmp_aux_env_initialize().
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 | ) |
Definition at line 1361 of file kmp_csupport.c.
References __kmp_entry_thread(), __kmp_save_internal_controls(), FALSE, set__dynamic, and TRUE.
Referenced by __kmp_aux_env_initialize().
void ompc_set_nested | ( | int | flag | ) |
Definition at line 1374 of file kmp_csupport.c.
References __kmp_entry_thread(), __kmp_save_internal_controls(), FALSE, set__nested, and TRUE.
Referenced by __kmp_aux_env_initialize().
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().
Definition at line 168 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_stg_parse_abort_delay(), and __kmp_stg_print_abort_delay().
Definition at line 177 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_register_root(), __kmp_stg_parse_gtid_mode(), and __kmp_stg_print_gtid_mode().
size_t __kmp_align_alloc |
Definition at line 131 of file kmp_global.c.
Referenced by ___kmp_allocate(), __kmp_stg_parse_align_alloc(), and __kmp_stg_print_align_alloc().
volatile int __kmp_all_nth |
Definition at line 358 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_common_destroy(), __kmp_do_serial_initialize(), __kmp_get_global_thread_id(), __kmp_reap_thread(), and __kmp_register_root().
Definition at line 130 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_stg_parse_all_threadprivate(), and __kmp_stg_parse_all_threads().
int __kmp_avail_proc |
Definition at line 137 of file kmp_global.c.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_allocate_thread(), __kmp_do_middle_initialize(), __kmp_free_thread(), __kmp_reap_common(), __kmp_reap_thread(), __kmp_register_root(), __kmp_release_tas_lock(), __kmp_release_ticket_lock(), __kmp_reserve_threads(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), __kmp_wait_yield_8(), and FTN_GET_NUM_PROCS().
char const* __kmp_barrier_branch_bit_env_name[bs_last_barrier] |
Definition at line 109 of file kmp_global.c.
Referenced by __kmp_stg_parse_barrier_branch_bit(), and __kmp_stg_print_barrier_branch_bit().
kmp_uint32 __kmp_barrier_gather_bb_dflt |
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 105 of file kmp_global.c.
Referenced by __kmp_barrier(), __kmp_do_serial_initialize(), __kmp_hyper_barrier_gather(), __kmp_join_barrier(), __kmp_print_version_1(), __kmp_stg_parse_barrier_branch_bit(), __kmp_stg_print_barrier_branch_bit(), and __kmp_tree_barrier_gather().
Definition at line 102 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize().
kmp_bar_pat_e __kmp_barrier_gather_pattern[bs_last_barrier] |
Definition at line 107 of file kmp_global.c.
Referenced by __kmp_barrier(), __kmp_do_serial_initialize(), __kmp_join_barrier(), __kmp_print_version_1(), __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().
char const* __kmp_barrier_pattern_env_name[bs_last_barrier] |
Definition at line 115 of file kmp_global.c.
Referenced by __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().
char const* __kmp_barrier_pattern_name[bp_last_bar] |
Definition at line 127 of file kmp_global.c.
Referenced by __kmp_print_version_1(), __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().
kmp_uint32 __kmp_barrier_release_bb_dflt |
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 106 of file kmp_global.c.
Referenced by __kmp_barrier(), __kmp_do_serial_initialize(), __kmp_end_split_barrier(), __kmp_fork_barrier(), __kmp_hyper_barrier_release(), __kmp_print_version_1(), __kmp_stg_parse_barrier_branch_bit(), __kmp_stg_print_barrier_branch_bit(), and __kmp_tree_barrier_release().
Definition at line 103 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize().
kmp_bar_pat_e __kmp_barrier_release_pattern[bs_last_barrier] |
Definition at line 108 of file kmp_global.c.
Referenced by __kmp_barrier(), __kmp_do_serial_initialize(), __kmp_end_split_barrier(), __kmp_fork_barrier(), __kmp_print_version_1(), __kmp_stg_parse_barrier_pattern(), and __kmp_stg_print_barrier_pattern().
char const* __kmp_barrier_type_name[bs_last_barrier] |
Definition at line 121 of file kmp_global.c.
Referenced by __kmp_print_version_1().
Definition at line 159 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_get_global_icvs(), __kmp_initialize_root(), __kmp_register_root(), and __kmp_stg_parse_blocktime().
int __kmp_chunk |
Definition at line 167 of file kmp_global.c.
Referenced by __kmp_get_schedule_global(), __kmp_stg_parse_omp_schedule(), and __kmp_stg_print_omp_schedule().
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().
int __kmp_debug_buf |
Definition at line 295 of file kmp_global.c.
Referenced by __kmp_abort_process(), __kmp_internal_end_library(), __kmp_internal_end_thread(), and __kmp_vprintf().
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().
char* __kmp_debug_buffer |
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().
int __kmp_determ_red |
Definition at line 282 of file kmp_global.c.
Referenced by __kmp_stg_parse_force_reduction(), and __kmp_stg_print_force_reduction().
Definition at line 157 of file kmp_global.c.
Referenced by __kmp_aux_env_initialize(), __kmp_barrier(), __kmp_do_serial_initialize(), __kmp_fork_barrier(), __kmp_get_global_icvs(), __kmp_initialize_root(), __kmp_join_barrier(), __kmp_reap_thread(), __kmp_register_root(), __kmp_release(), __kmp_stg_parse_blocktime(), __kmp_stg_print_blocktime(), __kmp_suspend(), __kmp_wait_sleep(), and FTN_GET_BLOCKTIME().
Definition at line 146 of file kmp_global.c.
Referenced by __kmp_aux_env_initialize(), __kmp_get_global_icvs(), __kmp_initialize_root(), __kmp_register_root(), __kmp_stg_parse_nested(), and __kmp_stg_print_nested().
Definition at line 142 of file kmp_global.c.
Referenced by __kmp_aux_env_initialize(), __kmp_do_middle_initialize(), __kmp_expand_file_name(), __kmp_get_global_icvs(), __kmp_stg_parse_num_threads(), and __kmp_user_set_library().
Definition at line 143 of file kmp_global.c.
Referenced by __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_env_initialize(), __kmp_initialize_root(), __kmp_register_root(), __kmp_stg_parse_num_threads(), and __kmp_user_set_library().
Definition at line 385 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize().
Definition at line 279 of file kmp_global.c.
Referenced by __kmp_register_library_startup(), __kmp_stg_parse_duplicate_lib_ok(), and __kmp_stg_print_duplicate_lib_ok().
Definition at line 326 of file kmp_global.c.
Definition at line 328 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_do_middle_initialize(), __kmp_free_thread(), __kmp_get_global_icvs(), __kmp_initialize_root(), __kmp_reap_thread(), __kmp_register_root(), and __kmp_stg_parse_blocktime().
int __kmp_env_checks |
Definition at line 329 of file kmp_global.c.
Referenced by __kmp_check_stack_overlap(), and __kmp_do_serial_initialize().
int __kmp_env_chunk |
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 324 of file kmp_global.c.
Referenced by __kmp_aux_set_stacksize(), __kmp_create_worker(), and __kmp_stg_parse_stacksize().
Definition at line 378 of file kmp_global.c.
Referenced by __kmp_abort_process(), and __kmp_do_serial_initialize().
Definition at line 281 of file kmp_global.c.
Referenced by __kmp_determine_reduction_method(), __kmp_stg_parse_force_reduction(), and __kmp_stg_print_force_reduction().
int __kmp_foreign_tp |
Definition at line 187 of file kmp_global.c.
Referenced by __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_do_serial_initialize(), __kmp_stg_parse_foreign_threads_threadprivate(), __kmp_stg_print_foreign_threads_threadprivate(), __kmpc_threadprivate(), and kmp_threadprivate_insert().
Definition at line 280 of file kmp_global.c.
Referenced by __kmp_stg_parse_forkjoin_frames(), and __kmp_stg_print_forkjoin_frames().
Definition at line 377 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_fork_call(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_join_call(), __kmp_register_root(), __kmp_set_num_threads(), __kmp_unregister_root_current_thread(), and __kmpc_serialized_parallel().
Definition at line 134 of file kmp_global.c.
Referenced by __kmp_msg(), __kmp_stg_parse_warnings(), __kmp_stg_print_warnings(), __kmp_warn(), FTN_SET_WARNINGS_OFF(), and FTN_SET_WARNINGS_ON().
Definition at line 369 of file kmp_global.c.
Referenced by __kmp_abort_process(), __kmp_aux_env_initialize(), __kmp_create_monitor(), __kmp_do_serial_initialize(), __kmp_fork_barrier(), __kmp_get_global_icvs(), __kmp_hyper_barrier_release(), __kmp_initialize_root(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_monitor(), __kmp_launch_thread(), __kmp_linear_barrier_release(), __kmp_parallel_initialize(), __kmp_register_root(), __kmp_reserve_threads(), __kmp_stg_parse_kmp_dynamic_mode(), __kmp_stg_parse_omp_dynamic(), __kmp_stg_print_kmp_dynamic_mode(), __kmp_stg_print_omp_dynamic(), __kmp_tree_barrier_release(), and __kmp_wait_sleep().
Definition at line 383 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_user_lock_allocate(), __kmp_user_lock_free(), __kmpc_threadprivate_cached(), kmp_threadprivate_insert(), and kmp_threadprivate_insert_private_data().
int __kmp_gtid_mode |
Definition at line 176 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_create_worker(), __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_launch_worker(), __kmp_register_root(), __kmp_stg_parse_gtid_mode(), __kmp_stg_print_gtid_mode(), and FTN_GET_THREAD_NUM().
kmp_key_t __kmp_gtid_threadprivate_key |
Definition at line 53 of file kmp_global.c.
Referenced by __kmp_gtid_get_specific(), __kmp_gtid_set_specific(), __kmp_runtime_destroy(), __kmp_runtime_initialize(), and FTN_GET_THREAD_NUM().
enum sched_type __kmp_guided |
Definition at line 153 of file kmp_global.c.
Referenced by __kmp_dispatch_init(), __kmp_get_schedule_global(), __kmp_stg_parse_omp_schedule(), __kmp_stg_parse_schedule(), and __kmp_stg_print_schedule().
int __kmp_ht_capable |
Definition at line 163 of file kmp_global.c.
int __kmp_ht_enabled |
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 64 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_common_initialize(), and __kmp_internal_end().
Definition at line 73 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize().
volatile int __kmp_init_gtid |
Definition at line 63 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_get_global_thread_id(), __kmp_internal_end(), __kmp_register_root(), __kmp_release(), and __kmp_resume().
volatile int __kmp_init_middle |
Definition at line 65 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_cleanup(), __kmp_do_middle_initialize(), __kmp_env_initialize(), __kmp_middle_initialize(), __kmp_parallel_initialize(), __kmp_register_root(), FTN_GET_MAX_THREADS(), and FTN_GET_NUM_PROCS().
volatile int __kmp_init_monitor |
Definition at line 67 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_internal_end(), __kmp_join_barrier(), and __kmp_launch_monitor().
volatile int __kmp_init_parallel |
Definition at line 66 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_aux_set_stacksize(), __kmp_cleanup(), __kmp_dispatch_init(), __kmp_enter_single(), __kmp_fork_call(), __kmp_parallel_initialize(), __kmp_reinitialize_team(), __kmp_set_num_threads(), __kmp_stg_parse_kmp_dynamic_mode(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_end_serialized_parallel(), __kmpc_master(), __kmpc_ordered(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), FTN_GET_THREAD_NUM(), GOMP_single_copy_start(), and GOMP_single_start().
volatile int __kmp_init_serial |
Definition at line 62 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_aux_set_defaults(), __kmp_aux_set_stacksize(), __kmp_cleanup(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_fork_call(), __kmp_get_global_thread_id_reg(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_reserve_threads(), __kmp_serial_initialize(), __kmp_set_num_threads(), __kmpc_atomic_10(), __kmpc_atomic_16(), __kmpc_atomic_20(), __kmpc_atomic_32(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_dispatch_init_4(), __kmpc_dispatch_init_4u(), __kmpc_dispatch_init_8(), __kmpc_dispatch_init_8u(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_ordered(), __kmpc_place_threads(), __kmpc_threadprivate(), ATOMIC_FIXED_ADD(), FTN_GET_NUM_KNOWN_THREADS(), FTN_GET_STACKSIZE(), FTN_GET_STACKSIZE_S(), FTN_GET_WTICK(), FTN_GET_WTIME(), and kmpc_free().
volatile int __kmp_init_user_locks |
Definition at line 68 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_cleanup_user_locks(), __kmp_env_initialize(), and __kmp_stg_parse_lock_kind().
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 376 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_aux_set_stacksize(), __kmp_get_global_thread_id_reg(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_middle_initialize(), __kmp_parallel_initialize(), and __kmp_serial_initialize().
Definition at line 150 of file kmp_global.c.
Referenced by __kmp_aux_set_library(), __kmp_do_serial_initialize(), __kmp_reserve_threads(), __kmp_stg_parse_wait_policy(), and __kmp_stg_print_wait_policy().
size_t __kmp_malloc_pool_incr |
Definition at line 87 of file kmp_global.c.
Referenced by __kmp_stg_parse_malloc_pool_incr(), and __kmp_stg_print_malloc_pool_incr().
int __kmp_max_nth |
Definition at line 140 of file kmp_global.c.
Referenced by __kmp_default_tp_capacity(), __kmp_do_serial_initialize(), __kmp_initial_threads_capacity(), __kmp_reserve_threads(), __kmp_set_num_threads(), __kmp_stg_parse_all_threadprivate(), __kmp_stg_parse_all_threads(), and __kmp_stg_print_all_threads().
Definition at line 110 of file kmp_runtime.c.
Referenced by __kmp_allocate_thread(), and __kmp_internal_end().
Definition at line 379 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_do_serial_initialize(), and __kmp_internal_end().
size_t __kmp_monitor_stksize |
Definition at line 84 of file kmp_global.c.
Referenced by __kmp_create_monitor(), __kmp_stg_parse_monitor_stacksize(), and __kmp_stg_print_monitor_stacksize().
Definition at line 158 of file kmp_global.c.
Referenced by __kmp_aux_set_blocktime(), __kmp_do_serial_initialize(), __kmp_launch_monitor(), and __kmp_stg_parse_blocktime().
int __kmp_ncores |
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().
Definition at line 198 of file kmp_global.c.
Referenced by __kmp_cleanup(), __kmp_do_middle_initialize(), __kmp_fork_call(), __kmp_stg_parse_num_threads(), __kmp_stg_print_num_threads(), and __kmpc_serialized_parallel().
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 |
Definition at line 357 of file kmp_global.c.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_free_thread(), __kmp_get_global_thread_id(), __kmp_reap_common(), __kmp_reap_thread(), __kmp_register_root(), __kmp_release_tas_lock(), __kmp_reserve_threads(), __kmp_reset_root(), __kmp_wait_sleep(), __kmp_wait_yield(), __kmp_wait_yield_4(), __kmp_wait_yield_8(), __kmpc_global_num_threads(), and FTN_GET_NUM_KNOWN_THREADS().
int __kmp_par_range |
Referenced by __kmp_stg_parse_par_range(), and __kmpc_ok_to_fork().
char __kmp_par_range_filename[KMP_PAR_RANGE_FILENAME_LEN] |
Referenced by __kmpc_ok_to_fork().
Referenced by __kmp_stg_parse_par_range(), and __kmpc_ok_to_fork().
char __kmp_par_range_routine[KMP_PAR_RANGE_ROUTINE_LEN] |
Referenced by __kmpc_ok_to_fork().
Referenced by __kmp_stg_parse_par_range(), and __kmpc_ok_to_fork().
Definition at line 135 of file kmp_global.c.
Referenced by __kmp_reserve_threads().
Definition at line 353 of file kmp_global.c.
Referenced by __kmp_cleanup(), __kmp_common_initialize(), __kmp_do_serial_initialize(), __kmp_expand_threads(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_register_root(), __kmp_unregister_root_current_thread(), and __kmp_unregister_root_other_thread().
Definition at line 74 of file kmp_global.c.
Referenced by __kmp_register_root().
enum sched_type __kmp_sch_map[] |
Definition at line 201 of file kmp_global.c.
enum sched_type __kmp_sched |
Definition at line 151 of file kmp_global.c.
Referenced by __kmp_get_schedule_global(), __kmp_stg_parse_omp_schedule(), and __kmp_stg_print_omp_schedule().
int __kmp_settings |
Definition at line 278 of file kmp_global.c.
Referenced by __kmp_aux_set_defaults(), __kmp_do_serial_initialize(), __kmp_stg_parse_settings(), and __kmp_stg_print_settings().
enum sched_type __kmp_static |
Definition at line 152 of file kmp_global.c.
Referenced by __kmp_dispatch_init(), __kmp_do_serial_initialize(), __kmp_for_static_init(), __kmp_get_schedule_global(), __kmp_stg_parse_omp_schedule(), __kmp_stg_parse_schedule(), and __kmp_stg_print_schedule().
size_t __kmp_stkoffset |
Definition at line 85 of file kmp_global.c.
Referenced by __kmp_create_worker(), __kmp_launch_worker(), __kmp_stg_parse_stackoffset(), and __kmp_stg_print_stackoffset().
size_t __kmp_stksize |
Definition at line 83 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_aux_set_stacksize(), __kmp_create_worker(), __kmp_register_root(), __kmp_stg_parse_stacksize(), __kmp_stg_print_stacksize(), FTN_GET_STACKSIZE(), and FTN_GET_STACKSIZE_S().
Definition at line 315 of file kmp_global.c.
Referenced by __kmp_alloc_argv_entries(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_check_stack_overlap(), __kmp_get_global_thread_id(), __kmp_initialize_info(), __kmp_register_root(), __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().
Definition at line 316 of file kmp_global.c.
Referenced by __kmp_print_storage_map_gtid(), __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().
Definition at line 317 of file kmp_global.c.
Referenced by __kmp_stg_parse_storage_map(), and __kmp_stg_print_storage_map().
Definition at line 139 of file kmp_global.c.
Referenced by __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_expand_threads(), __kmp_parse_nested_num_threads(), __kmp_runtime_initialize(), and __kmp_stg_parse_all_threads().
Definition at line 138 of file kmp_global.c.
Referenced by __kmp_aux_set_stacksize(), __kmp_create_monitor(), __kmp_runtime_initialize(), __kmp_stg_parse_monitor_stacksize(), and __kmp_stg_parse_stacksize().
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.
volatile kmp_team_t* __kmp_team_pool |
Definition at line 361 of file kmp_global.c.
Referenced by __kmp_allocate_team(), __kmp_do_serial_initialize(), __kmp_free_team(), and __kmp_internal_end().
volatile kmp_info_t* __kmp_thread_pool |
Definition at line 360 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_do_serial_initialize(), __kmp_free_thread(), and __kmp_internal_end().
volatile int __kmp_thread_pool_active_nth |
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 71 of file kmp_global.c.
Referenced by __kmp_atfork_child(), __kmp_common_initialize(), and __kmpc_threadprivate_cached().
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().
Definition at line 141 of file kmp_global.c.
Referenced by __kmp_check_stack_overlap(), __kmp_common_initialize(), __kmp_env_initialize(), __kmp_get_global_thread_id(), __kmp_launch_monitor(), and __kmpc_threadprivate_cached().
Definition at line 186 of file kmp_global.c.
Referenced by __kmp_allocate_thread(), __kmp_register_root(), and __kmp_runtime_initialize().
int __kmp_tp_cached |
Definition at line 145 of file kmp_global.c.
Referenced by __kmp_expand_threads(), __kmp_register_root(), __kmp_reserve_threads(), and __kmpc_threadprivate_cached().
Definition at line 380 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_expand_threads(), and __kmpc_threadprivate_cached().
Definition at line 144 of file kmp_global.c.
Referenced by __kmp_do_serial_initialize(), __kmp_expand_threads(), __kmp_register_root(), __kmp_reserve_threads(), __kmp_stg_parse_all_threadprivate(), __kmp_stg_print_all_threadprivate(), and __kmpc_threadprivate_cached().
int __kmp_version |
Definition at line 75 of file kmp_global.c.
Referenced by __kmp_env_initialize(), __kmp_parallel_initialize(), __kmp_stg_parse_version(), and __kmp_stg_print_version().
int __kmp_xproc |
Definition at line 136 of file kmp_global.c.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_default_tp_capacity(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_expand_file_name(), __kmp_initial_threads_capacity(), __kmp_release_tas_lock(), __kmp_release_ticket_lock(), __kmp_runtime_initialize(), __kmp_stg_parse_all_threads(), and __kmp_stg_parse_num_threads().
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().
kmp_int32 __kmp_yield_off_count |
Definition at line 337 of file kmp_global.c.
Referenced by __kmp_launch_monitor().
kmp_int32 __kmp_yield_on_count |
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.