LLVM OpenMP 22.0.0git
|
#include "kmp_config.h"
#include <atomic>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "kmp_safe_c_api.h"
Go to the source code of this file.
Typedefs | |
typedef size_t | kmp_size_t |
typedef long | kmp_intptr_t |
typedef unsigned long | kmp_uintptr_t |
typedef kmp_int32 | kmp_int |
typedef kmp_uint32 | kmp_uint |
typedef va_list | kmp_va_list |
typedef void(* | microtask_t) (int *gtid, int *npr,...) |
typedef float | kmp_real32 |
typedef double | kmp_real64 |
Enumerations | |
enum | kmp_mem_fence_type { kmp_no_fence , kmp_acquire_fence , kmp_release_fence , kmp_full_fence } |
enum | kmp_warnings_level { kmp_warnings_off = 0 , kmp_warnings_low , kmp_warnings_explicit = 6 , kmp_warnings_verbose } |
Functions | |
kmp_real32 | KMP_XCHG_REAL32 (volatile kmp_real32 *p, kmp_real32 v) |
kmp_real64 | KMP_XCHG_REAL64 (volatile kmp_real64 *p, kmp_real64 v) |
template<typename T> | |
bool | __kmp_atomic_compare_store (std::atomic< T > *p, T expected, T desired) |
template<typename T> | |
bool | __kmp_atomic_compare_store_acq (std::atomic< T > *p, T expected, T desired) |
template<typename T> | |
bool | __kmp_atomic_compare_store_rel (std::atomic< T > *p, T expected, T desired) |
#define ALIGN_TO_PAGE | ( | x | ) |
#define CACHE_LINE 128 /* cache line size in bytes */ |
Definition at line 340 of file kmp_os.h.
Referenced by ___kmp_free(), __kmp_do_serial_initialize(), __kmp_expand_threads(), __kmp_stg_parse_align_alloc(), __kmp_task_reduction_init(), and distributedBarrier::allocate().
#define CCAST | ( | type, | |
var ) |
Definition at line 291 of file kmp_os.h.
Referenced by ___kmpc_free(), __kmp_allocate_task_team(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_cleanup(), __kmp_dispatch_dxo(), __kmp_dispatch_init(), __kmp_enable_tasking(), __kmp_env_blk_free(), __kmp_env_blk_sort(), __kmp_env_free(), __kmp_execute_tasks_template(), __kmp_free_team(), __kmp_free_thread(), __kmp_internal_end(), __kmp_null_resume_wrapper(), __kmp_resize_dist_barrier(), __kmp_resume_template(), __kmp_stg_init(), __kmp_stg_parse_barrier_branch_bit(), __kmp_stg_parse_barrier_pattern(), __kmp_stg_parse_hw_subset(), __kmp_str_loc_numbers(), __kmp_wait(), __kmp_wait_4(), __kmp_wait_template(), __kmp_wait_to_unref_task_teams(), __kmpc_doacross_fini(), __kmpc_sections_init(), and kmp_flag_native< PtrType, FlagType, Sleepable >::get_void_p().
#define FTN_FALSE FALSE |
Definition at line 1182 of file kmp_os.h.
Referenced by __kmpc_test_lock(), and FTN_IN_PARALLEL().
#define FTN_TRUE TRUE |
Definition at line 1178 of file kmp_os.h.
Referenced by __kmpc_test_lock(), and FTN_IN_PARALLEL().
#define INTERNODE_CACHE_LINE 4096 /* for multi-node systems */ |
#define KMP_AFFINITY_SUPPORTED 0 |
Definition at line 88 of file kmp_os.h.
Referenced by __kmp_fork_barrier(), and __kmp_print_version_1().
#define KMP_ALIAS | ( | alias_of | ) |
#define KMP_ALIGN | ( | bytes | ) |
Definition at line 393 of file kmp_os.h.
Referenced by KMP_BUILD_ASSERT().
#define KMP_ALIGN_CACHE KMP_ALIGN(CACHE_LINE) |
Definition at line 454 of file kmp_os.h.
Referenced by KMP_BUILD_ASSERT().
#define KMP_ALIGN_CACHE_INTERNODE KMP_ALIGN(INTERNODE_CACHE_LINE) |
#define KMP_ATOMIC_ADD | ( | p, | |
v ) |
Definition at line 1265 of file kmp_os.h.
Referenced by __kmp_node_ref(), and kmp_flag_atomic< PtrType, FlagType, Sleepable >::internal_release().
#define KMP_ATOMIC_ADD_RLX | ( | p, | |
v ) |
#define KMP_ATOMIC_AND | ( | p, | |
v ) |
Definition at line 1267 of file kmp_os.h.
Referenced by __kmp_second_top_half_finish_proxy(), and kmp_flag_atomic< PtrType, FlagType, Sleepable >::unset_sleeping().
#define KMP_ATOMIC_DEC | ( | p | ) |
Definition at line 1270 of file kmp_os.h.
Referenced by __kmp_allocate_thread(), __kmp_execute_tasks_template(), __kmp_first_top_half_finish_proxy(), __kmp_free_task_and_ancestors(), __kmp_join_call(), __kmp_reap_thread(), __kmp_release_deps(), __kmp_second_top_half_finish_proxy(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_task_finish(), and __kmp_taskloop().
#define KMP_ATOMIC_INC | ( | p | ) |
Definition at line 1269 of file kmp_os.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_fork_call(), __kmp_fork_in_teams(), __kmp_free_thread(), __kmp_GOMP_par_reductions_microtask_wrapper(), __kmp_init_node(), __kmp_omp_task(), __kmp_push_task(), __kmp_steal_task(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_task_alloc(), __kmp_task_dup_alloc(), __kmp_wait_template(), __kmpc_end_taskgroup(), __kmpc_omp_task_begin_if0_template(), __kmpc_omp_task_with_deps(), and KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER().
#define KMP_ATOMIC_INC_RLX | ( | p | ) |
#define KMP_ATOMIC_LD | ( | p, | |
order ) |
#define KMP_ATOMIC_LD_ACQ | ( | p | ) |
Definition at line 1259 of file kmp_os.h.
Referenced by __kmp_bottom_half_finish_proxy(), __kmp_dispatch_next_algorithm(), __kmp_execute_tasks_template(), __kmp_finish_implicit_task(), __kmp_free_task_and_ancestors(), __kmp_GOMP_init_reductions(), __kmp_internal_end(), __kmp_suspend_initialize_thread(), __kmp_suspend_uninitialize_thread(), __kmp_task_reduction_modifier_init(), __kmp_track_children_task(), __kmp_wait_template(), __kmpc_end_taskgroup(), and __kmpc_omp_taskwait_template().
#define KMP_ATOMIC_LD_RLX | ( | p | ) |
Definition at line 1260 of file kmp_os.h.
Referenced by __kmp_acquire_tas_lock_timed_template(), __kmp_allocate_task_team(), __kmp_barrier_template(), __kmp_dispatch_next_algorithm(), __kmp_get_tas_lock_owner(), __kmp_GOMP_init_reductions(), __kmp_suspend_initialize_thread(), __kmp_suspend_uninitialize_thread(), __kmp_task_reduction_modifier_init(), __kmp_test_tas_lock(), __kmpc_cancel_barrier(), and KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER().
#define KMP_ATOMIC_OP | ( | op, | |
p, | |||
v, | |||
order ) |
#define KMP_ATOMIC_OR | ( | p, | |
v ) |
Definition at line 1268 of file kmp_os.h.
Referenced by __kmp_first_top_half_finish_proxy(), and kmp_flag_atomic< PtrType, FlagType, Sleepable >::set_sleeping().
#define KMP_ATOMIC_ST_REL | ( | p, | |
v ) |
Definition at line 1261 of file kmp_os.h.
Referenced by __kmp_dispatch_init_algorithm(), __kmp_dispatch_next_algorithm(), __kmp_GOMP_init_reductions(), __kmp_GOMP_par_reductions_microtask_wrapper(), __kmp_hidden_helper_initialize(), __kmp_hidden_helper_threads_initz_routine(), __kmp_init_implicit_task(), __kmp_omp_task(), __kmp_release_tas_lock(), __kmp_suspend_initialize_thread(), __kmp_suspend_uninitialize_thread(), __kmp_task_reduction_modifier_init(), __kmp_task_team_init(), __kmp_wait_template(), __kmpc_end_taskgroup(), __kmpc_omp_task_with_deps(), and KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER().
#define KMP_ATOMIC_ST_RLX | ( | p, | |
v ) |
Definition at line 1262 of file kmp_os.h.
Referenced by __kmp_barrier_template(), __kmp_dispatch_next(), __kmp_free_task(), __kmp_init_node(), __kmp_task_alloc(), and __kmpc_taskgroup().
#define KMP_ATOMIC_SUB | ( | p, | |
v ) |
Definition at line 1266 of file kmp_os.h.
Referenced by __kmp_node_deref().
#define KMP_BUILTIN_UNREACHABLE |
Definition at line 1317 of file kmp_os.h.
Referenced by __kmp_hw_get_catalog_string(), __kmp_hw_get_core_type_keyword(), __kmp_hw_get_core_type_string(), __kmp_hw_get_keyword(), and __kmp_stg_print_omp_schedule().
#define KMP_CACHE_PREFETCH | ( | ADDR | ) |
Definition at line 348 of file kmp_os.h.
Referenced by __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_linear_barrier_gather_template(), __kmp_linear_barrier_release_template(), __kmp_run_before_invoked_task(), __kmp_tree_barrier_gather(), and __kmp_tree_barrier_release().
#define KMP_COMPARE_AND_STORE_ACQ16 | ( | p, | |
cv, | |||
sv ) |
Definition at line 808 of file kmp_os.h.
Referenced by __kmpc_atomic_2().
#define KMP_COMPARE_AND_STORE_ACQ32 | ( | p, | |
cv, | |||
sv ) |
Definition at line 814 of file kmp_os.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_add_threads_to_team(), __kmp_dispatch_init_hierarchy(), __kmp_dist_barrier_release(), __kmp_enter_critical_section_reduce_block(), __kmp_finish_implicit_task(), __kmp_free_task_and_ancestors(), __kmp_free_team(), __kmp_reap_thread(), __kmp_test_queuing_lock(), and __kmpc_atomic_4().
#define KMP_COMPARE_AND_STORE_ACQ64 | ( | p, | |
cv, | |||
sv ) |
Definition at line 857 of file kmp_os.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), and __kmpc_atomic_8().
#define KMP_COMPARE_AND_STORE_ACQ8 | ( | p, | |
cv, | |||
sv ) |
Definition at line 802 of file kmp_os.h.
Referenced by __kmp_for_static_init(), __kmpc_atomic_1(), hierarchy_info::init(), and hierarchy_info::resize().
#define KMP_COMPARE_AND_STORE_PTR | ( | p, | |
cv, | |||
sv ) |
Definition at line 820 of file kmp_os.h.
Referenced by __kmp_get_critical_section_ptr(), and __kmp_threadprivate_resize_cache().
#define KMP_COMPARE_AND_STORE_REL16 | ( | p, | |
cv, | |||
sv ) |
#define KMP_COMPARE_AND_STORE_REL32 | ( | p, | |
cv, | |||
sv ) |
Definition at line 817 of file kmp_os.h.
Referenced by __kmp_release_queuing_lock(), and compare_and_swap< kmp_int32 >().
#define KMP_COMPARE_AND_STORE_REL64 | ( | p, | |
cv, | |||
sv ) |
Definition at line 860 of file kmp_os.h.
Referenced by __kmp_dispatch_next_algorithm(), __kmp_release_queuing_lock(), and compare_and_swap< kmp_int64 >().
#define KMP_COMPARE_AND_STORE_REL8 | ( | p, | |
cv, | |||
sv ) |
#define KMP_COMPARE_AND_STORE_RET16 | ( | p, | |
cv, | |||
sv ) |
#define KMP_COMPARE_AND_STORE_RET32 | ( | p, | |
cv, | |||
sv ) |
Definition at line 830 of file kmp_os.h.
Referenced by __kmpc_doacross_init().
#define KMP_COMPARE_AND_STORE_RET64 | ( | p, | |
cv, | |||
sv ) |
Definition at line 863 of file kmp_os.h.
Referenced by __kmpc_doacross_init().
#define KMP_COMPARE_AND_STORE_RET8 | ( | p, | |
cv, | |||
sv ) |
#define KMP_DLSYM | ( | name | ) |
Definition at line 1302 of file kmp_os.h.
Referenced by __kmp_init_target_mem(), FTN_GET_NUM_DEVICES(), FTN_PAUSE_RESOURCE(), FTN_PAUSE_RESOURCE_ALL(), and kmp_tgt_allocator_t::init().
#define KMP_DLSYM_NEXT | ( | name | ) |
Definition at line 1303 of file kmp_os.h.
Referenced by FTN_GET_INTEROP_INT(), FTN_GET_INTEROP_NAME(), FTN_GET_INTEROP_PTR(), FTN_GET_INTEROP_RC_DESC(), FTN_GET_INTEROP_STR(), FTN_GET_INTEROP_TYPE_DESC(), FTN_GET_NUM_DEVICES(), and FTN_GET_NUM_INTEROP_PROPERTIES().
#define KMP_DO_ALIGN | ( | bytes | ) |
#define KMP_EQ __kmp_eq_4 |
Definition at line 1195 of file kmp_os.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), and __kmp_parallel_deo().
#define KMP_EXPAND_NAME | ( | api_name | ) |
Definition at line 445 of file kmp_os.h.
Referenced by __GOMP_taskloop(), FTN_GET_DEVICE_NUM(), FTN_GET_INITIAL_DEVICE(), FTN_PAUSE_RESOURCE(), KMP_API_NAME_GOMP_LOOP_DOACROSS_START(), KMP_API_NAME_GOMP_LOOP_ORDERED_START(), KMP_API_NAME_GOMP_LOOP_START(), KMP_API_NAME_GOMP_LOOP_ULL_DOACROSS_START(), KMP_API_NAME_GOMP_LOOP_ULL_ORDERED_START(), KMP_API_NAME_GOMP_LOOP_ULL_START(), KMP_API_NAME_GOMP_PARALLEL_REDUCTIONS(), KMP_API_NAME_GOMP_SECTIONS2_START(), KMP_API_NAME_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER(), and LOOP_RUNTIME_START().
#define KMP_EXPORT extern /* export declaration in guide libraries */ |
Definition at line 295 of file kmp_os.h.
Referenced by __kmp_finalize_bget(), __kmpc_critical_with_hint(), __kmpc_doacross_fini(), __kmpc_doacross_init(), __kmpc_doacross_post(), __kmpc_doacross_wait(), __kmpc_init_lock_with_hint(), __kmpc_init_nest_lock_with_hint(), __kmpc_push_proc_bind(), __kmpc_taskloop(), __kmpc_taskloop_5(), KMPC_FOR_STATIC_INIT(), and KMPC_SET_NESTED().
#define KMP_FALLTHROUGH | ( | ) |
Definition at line 364 of file kmp_os.h.
Referenced by __kmp_register_library_startup(), and __kmp_taskloop().
#define KMP_GE __kmp_ge_4 |
#define KMP_GET_PAGE_SIZE | ( | ) |
Definition at line 322 of file kmp_os.h.
Referenced by __kmp_print_storage_map_gtid().
#define KMP_HAVE_MWAIT |
#define KMP_HAVE_UMWAIT |
#define KMP_INT_MAX ((kmp_int32)0x7FFFFFFF) |
Definition at line 217 of file kmp_os.h.
Referenced by __kmp_stg_parse_lock_block().
#define KMP_LE __kmp_le_4 |
#define KMP_LT __kmp_lt_4 |
#define KMP_MB | ( | ) |
Definition at line 1066 of file kmp_os.h.
Referenced by ___kmp_allocate_align(), ___kmp_free(), __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_nested_drdpa_lock(), __kmp_acquire_nested_queuing_lock(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_alloc(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_barrier_template(), __kmp_check_deps(), __kmp_create_worker(), __kmp_dispatch_deo(), __kmp_dispatch_dxo(), __kmp_dispatch_finish(), __kmp_dispatch_next(), __kmp_do_serial_initialize(), __kmp_env_initialize(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_in_teams(), __kmp_fork_team_threads(), __kmp_free_team(), __kmp_free_thread(), __kmp_hierarchical_barrier_release(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_initialize_info(), __kmp_initialize_team(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_internal_fork(), __kmp_internal_join(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_launch_worker(), __kmp_launch_worker(), __kmp_linear_barrier_release_template(), __kmp_lock_block_allocate(), __kmp_parallel_deo(), __kmp_parallel_dxo(), __kmp_parallel_initialize(), __kmp_realloc_task_threads_data(), __kmp_reap_common(), __kmp_reap_team(), __kmp_reap_thread(), __kmp_reap_worker(), __kmp_register_root(), __kmp_release_deps(), __kmp_release_drdpa_lock_with_checks(), __kmp_release_nested_drdpa_lock(), __kmp_release_nested_drdpa_lock_with_checks(), __kmp_release_nested_queuing_lock(), __kmp_release_nested_queuing_lock_with_checks(), __kmp_release_nested_tas_lock(), __kmp_release_nested_tas_lock_with_checks(), __kmp_release_queuing_lock(), __kmp_release_queuing_lock_with_checks(), __kmp_release_tas_lock(), __kmp_release_tas_lock_with_checks(), __kmp_run_before_invoked_task(), __kmp_serial_fork_call(), __kmp_serialized_parallel(), __kmp_task_team_wait(), __kmp_test_nested_drdpa_lock(), __kmp_test_nested_queuing_lock(), __kmp_test_nested_tas_lock(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_wait_template(), __kmpc_copyprivate(), __kmpc_copyprivate_light(), __kmpc_doacross_init(), __kmpc_doacross_post(), __kmpc_doacross_wait(), __kmpc_end_serialized_parallel(), __kmpc_next_section(), __kmpc_sections_init(), __kmpc_threadprivate_cached(), __kmpc_unset_lock(), and __kmpc_unset_nest_lock().
#define KMP_MEM_CONS_MODEL KMP_MEM_CONS_VOLATILE |
#define KMP_MFENCE | ( | ) |
Definition at line 1099 of file kmp_os.h.
Referenced by __kmp_dist_barrier_gather(), __kmp_dist_barrier_release(), __kmp_resize_dist_barrier(), and __kmpc_flush().
#define KMP_NEQ __kmp_neq_4 |
Definition at line 1196 of file kmp_os.h.
Referenced by __kmp_release_queuing_lock().
#define KMP_NORETURN __attribute__((noreturn)) |
Definition at line 385 of file kmp_os.h.
Referenced by __kmp_abort().
#define KMP_SIZE_T_MAX (0xFFFFFFFFFFFFFFFF) |
Definition at line 195 of file kmp_os.h.
Referenced by __kmp_check_deps(), __kmp_round_up_to_val(), __kmp_str_to_size(), __kmp_str_to_uint(), and __kmpc_omp_task_with_deps().
#define KMP_STR | ( | x | ) |
#define KMP_TEST_THEN_ADD32 | ( | p, | |
v ) |
#define KMP_TEST_THEN_ADD4_32 | ( | p | ) |
Definition at line 740 of file kmp_os.h.
Referenced by flag_traits< flag32 >::test_then_add4().
#define KMP_TEST_THEN_ADD4_64 | ( | p | ) |
Definition at line 754 of file kmp_os.h.
Referenced by flag_traits< atomic_flag64 >::test_then_add4(), flag_traits< flag64 >::test_then_add4(), and flag_traits< flag_oncore >::test_then_add4().
#define KMP_TEST_THEN_ADD4_ACQ32 | ( | p | ) |
#define KMP_TEST_THEN_ADD4_ACQ64 | ( | p | ) |
#define KMP_TEST_THEN_ADD64 | ( | p, | |
v ) |
Definition at line 776 of file kmp_os.h.
Referenced by ___kmpc_free(), __kmp_alloc(), and test_then_add< kmp_int64 >().
#define KMP_TEST_THEN_ADD8 | ( | p, | |
v ) |
#define KMP_TEST_THEN_AND32 | ( | p, | |
v ) |
Definition at line 786 of file kmp_os.h.
Referenced by flag_traits< flag32 >::test_then_and().
#define KMP_TEST_THEN_AND64 | ( | p, | |
v ) |
Definition at line 798 of file kmp_os.h.
Referenced by __kmp_hierarchical_barrier_gather(), flag_traits< atomic_flag64 >::test_then_and(), flag_traits< flag64 >::test_then_and(), and flag_traits< flag_oncore >::test_then_and().
#define KMP_TEST_THEN_AND8 | ( | p, | |
v ) |
#define KMP_TEST_THEN_DEC32 | ( | p | ) |
#define KMP_TEST_THEN_DEC64 | ( | p | ) |
#define KMP_TEST_THEN_DEC_ACQ32 | ( | p | ) |
#define KMP_TEST_THEN_DEC_ACQ64 | ( | p | ) |
#define KMP_TEST_THEN_INC32 | ( | p | ) |
Definition at line 725 of file kmp_os.h.
Referenced by __kmp_dispatch_init_hierarchy(), __kmpc_doacross_fini(), and test_then_inc< kmp_int32 >().
#define KMP_TEST_THEN_INC64 | ( | p | ) |
Definition at line 735 of file kmp_os.h.
Referenced by __ompt_get_unique_id_internal(), counter_barrier_impl< T >::barrier(), and test_then_inc< kmp_int64 >().
#define KMP_TEST_THEN_INC_ACQ32 | ( | p | ) |
Definition at line 727 of file kmp_os.h.
Referenced by test_then_inc_acq< kmp_int32 >().
#define KMP_TEST_THEN_INC_ACQ64 | ( | p | ) |
Definition at line 737 of file kmp_os.h.
Referenced by test_then_inc_acq< kmp_int64 >().
#define KMP_TEST_THEN_OR32 | ( | p, | |
v ) |
Definition at line 784 of file kmp_os.h.
Referenced by __kmpc_doacross_post(), and flag_traits< flag32 >::test_then_or().
#define KMP_TEST_THEN_OR64 | ( | p, | |
v ) |
Definition at line 796 of file kmp_os.h.
Referenced by kmp_flag_oncore::internal_release(), flag_traits< atomic_flag64 >::test_then_or(), flag_traits< flag64 >::test_then_or(), and flag_traits< flag_oncore >::test_then_or().
#define KMP_TEST_THEN_OR8 | ( | p, | |
v ) |
#define KMP_UINTPTR_SPEC "lu" |
Definition at line 207 of file kmp_os.h.
Referenced by __kmp_create_worker(), __kmp_reap_common(), __kmp_reset_root(), __kmpc_threadprivate(), and kmp_threadprivate_insert().
#define kmp_va_addr_of | ( | ap | ) |
Definition at line 230 of file kmp_os.h.
Referenced by __kmp_GOMP_fork_call(), __kmpc_fork_call(), and __kmpc_fork_teams().
#define kmp_va_deref | ( | ap | ) |
Definition at line 229 of file kmp_os.h.
Referenced by __kmp_fork_call(), __kmp_fork_in_teams(), and __kmp_serial_fork_call().
#define KMP_VERSION_OMPC_SYMBOL | ( | apic_name, | |
api_name, | |||
ver_num, | |||
ver_str ) |
#define KMP_VERSION_SYMBOL | ( | api_name, | |
ver_num, | |||
ver_str ) |
#define KMP_WAIT __kmp_wait_4 |
Definition at line 1193 of file kmp_os.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_parallel_deo(), and __kmp_release_queuing_lock().
#define KMP_WAIT_PTR __kmp_wait_4_ptr |
Definition at line 1194 of file kmp_os.h.
Referenced by __kmp_acquire_ticket_lock_timed_template().
#define KMP_XCHG_FIXED16 | ( | p, | |
v ) |
#define KMP_XCHG_FIXED32 | ( | p, | |
v ) |
#define KMP_XCHG_FIXED64 | ( | p, | |
v ) |
#define KMP_XCHG_FIXED8 | ( | p, | |
v ) |
#define PAGE_ALIGNED | ( | _addr | ) |
#define RCAST | ( | type, | |
var ) |
Definition at line 292 of file kmp_os.h.
Referenced by ___kmpc_free(), __kmp_alloc(), __kmp_calloc(), __kmp_dispatch_next_algorithm(), __kmp_finish_implicit_task(), __kmp_free_task_and_ancestors(), __kmp_GOMP_doacross_post< long, false >(), __kmp_hierarchical_barrier_release(), __kmp_null_resume_wrapper(), __kmp_register_library_startup(), __kmp_release_queuing_lock(), __kmp_stg_cmp(), __kmp_stg_parse_allocator(), __kmp_task_team_wait(), __kmp_tasking_barrier(), __kmpc_end_taskgroup(), __kmpc_init_allocator(), __kmpc_omp_taskwait_template(), core_barrier_impl< T >::barrier(), counter_barrier_impl< T >::barrier(), compare_two_events(), kmp_taskloop_bounds_t::get_lb(), kmp_taskloop_bounds_t::get_ub(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::get_void_p(), kmp_flag_native< PtrType, FlagType, Sleepable >::get_void_p(), KMP_API_NAME_GOMP_DOACROSS_ULL_POST(), kmp_taskloop_bounds_t::set_lb(), kmp_taskloop_bounds_t::set_ub(), flag_traits< atomic_flag64 >::test_then_add4(), flag_traits< flag32 >::test_then_add4(), flag_traits< flag64 >::test_then_add4(), and flag_traits< flag_oncore >::test_then_add4().
#define TCR_1 | ( | a | ) |
Definition at line 1135 of file kmp_os.h.
Referenced by __kmp_get_hierarchy(), and hierarchy_info::init().
#define TCR_4 | ( | a | ) |
Definition at line 1137 of file kmp_os.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_alloc_task_deque(), __kmp_allocate_thread(), __kmp_aux_set_stacksize(), __kmp_cleanup(), __kmp_common_destroy(), __kmp_common_destroy_gtid(), __kmp_common_initialize(), __kmp_create_worker(), __kmp_dispatch_init(), __kmp_dispatch_init_hierarchy(), __kmp_dist_barrier_gather(), __kmp_dist_barrier_release(), __kmp_dist_barrier_wakeup(), __kmp_do_serial_initialize(), __kmp_enter_single(), __kmp_env_initialize(), __kmp_execute_tasks_template(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_get_queuing_lock_owner(), __kmp_give_task(), __kmp_hidden_helper_initialize(), __kmp_hierarchical_barrier_release(), __kmp_hyper_barrier_release(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_launch_thread(), __kmp_launch_worker(), __kmp_linear_barrier_release_template(), __kmp_parallel_initialize(), __kmp_push_priority_task(), __kmp_push_task(), __kmp_push_thread_limit(), __kmp_realloc_task_deque(), __kmp_realloc_task_threads_data(), __kmp_reap_common(), __kmp_register_root(), __kmp_reinitialize_team(), __kmp_release_template(), __kmp_remove_my_task(), __kmp_reserve_threads(), __kmp_resume_template(), __kmp_resume_template(), __kmp_serialized_parallel(), __kmp_setup_icv_copy(), __kmp_steal_task(), __kmp_stg_parse_consistency_check(), __kmp_stg_parse_disp_buffers(), __kmp_stg_parse_hot_teams_level(), __kmp_stg_parse_hot_teams_mode(), __kmp_stg_parse_kmp_dynamic_mode(), __kmp_stg_parse_omp_cancellation(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_task_alloc(), __kmp_tasking_barrier(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_wait_4(), __kmp_wait_template(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_end_serialized_parallel(), __kmpc_global_num_threads(), __kmpc_masked(), __kmpc_master(), __kmpc_ordered(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_sections_init(), FTN_CAPTURE_AFFINITY(), FTN_CONTROL_TOOL(), FTN_CREATE_AFFINITY_MASK(), FTN_DESTROY_AFFINITY_MASK(), FTN_DISPLAY_AFFINITY(), FTN_GET_AFFINITY(), FTN_GET_AFFINITY_MASK_PROC(), FTN_GET_AFFINITY_MAX_PROC(), FTN_GET_MAX_ACTIVE_LEVELS(), FTN_GET_MAX_THREADS(), FTN_GET_NUM_KNOWN_THREADS(), FTN_GET_NUM_PLACES(), FTN_GET_NUM_PROCS(), FTN_GET_PARTITION_NUM_PLACES(), FTN_GET_PARTITION_PLACE_NUMS(), FTN_GET_PLACE_NUM(), FTN_GET_PLACE_NUM_PROCS(), FTN_GET_PLACE_PROC_IDS(), FTN_IN_FINAL(), FTN_SET_AFFINITY(), FTN_SET_AFFINITY_MASK_PROC(), FTN_UNSET_AFFINITY_MASK_PROC(), KMP_API_NAME_GOMP_SINGLE_COPY_START(), KMP_API_NAME_GOMP_SINGLE_START(), kmpc_get_affinity_mask_proc(), kmpc_set_affinity_mask_proc(), kmpc_unset_affinity_mask_proc(), ompc_capture_affinity(), ompc_display_affinity(), and flag_traits< flag32 >::tcr().
#define TCR_8 | ( | a | ) |
Definition at line 1141 of file kmp_os.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), flag_traits< atomic_flag64 >::tcr(), flag_traits< flag64 >::tcr(), and flag_traits< flag_oncore >::tcr().
#define TCR_PTR | ( | a | ) |
Definition at line 1166 of file kmp_os.h.
Referenced by __kmp_allocate_task_team(), __kmp_allocate_thread(), __kmp_check_stack_overlap(), __kmp_enable_tasking(), __kmp_end_critical_section_reduce_block(), __kmp_execute_tasks_template(), __kmp_fork_barrier(), __kmp_get_critical_section_ptr(), __kmp_get_global_thread_id(), __kmp_join_barrier(), __kmp_push_task(), __kmp_reap_task_teams(), __kmp_register_root(), __kmp_reserve_threads(), __kmp_run_before_invoked_task(), __kmp_wait_to_unref_task_teams(), __kmpc_end_critical(), and __kmpc_threadprivate_cached().
#define TCR_SYNC_4 | ( | a | ) |
Definition at line 1145 of file kmp_os.h.
Referenced by __kmp_dist_barrier_gather(), and __kmp_wait_template().
#define TCR_SYNC_PTR | ( | a | ) |
Definition at line 1168 of file kmp_os.h.
Referenced by __kmp_check_stack_overlap(), __kmp_get_global_thread_id(), __kmp_invoke_task_func(), and __kmp_launch_thread().
Definition at line 1138 of file kmp_os.h.
Referenced by __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_cleanup(), __kmp_cleanup_user_locks(), __kmp_common_destroy(), __kmp_common_initialize(), __kmp_create_worker(), __kmp_free_task_deque(), __kmp_free_thread(), __kmp_give_task(), __kmp_hyper_barrier_release(), __kmp_internal_end(), __kmp_launch_worker(), __kmp_linear_barrier_release_template(), __kmp_push_priority_task(), __kmp_push_task(), __kmp_register_root(), __kmp_remove_my_task(), __kmp_reset_root(), __kmp_set_stack_info(), __kmp_steal_task(), __kmp_task_alloc(), __kmp_task_team_init(), __kmp_tree_barrier_release(), __kmpc_unset_lock(), and __kmpc_unset_nest_lock().
Definition at line 1142 of file kmp_os.h.
Referenced by __kmp_hierarchical_barrier_release().
Definition at line 1167 of file kmp_os.h.
Referenced by __kmp_allocate_task_team(), __kmp_allocate_thread(), __kmp_create_worker(), __kmp_free_task_team(), __kmp_free_thread(), __kmp_get_global_thread_id(), __kmp_launch_worker(), __kmp_resume_template(), __kmp_resume_template(), __kmp_set_stack_info(), __kmp_suspend_template(), __kmp_suspend_template(), __kmp_task_team_sync(), __kmp_task_team_wait(), __kmp_win32_cond_wait(), and __kmpc_threadprivate_cached().
Definition at line 1146 of file kmp_os.h.
Referenced by __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_hidden_helper_initialize(), __kmp_hidden_helper_threads_initz_routine(), __kmp_internal_end(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_parallel_initialize(), __kmp_realloc_task_threads_data(), and __kmp_task_team_wait().
Definition at line 1169 of file kmp_os.h.
Referenced by __kmp_allocate_thread(), __kmp_free_team(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_initialize_team(), __kmp_reap_thread(), and __kmp_register_root().
#define VOLATILE_CAST | ( | x | ) |
Definition at line 1190 of file kmp_os.h.
Referenced by __kmp_dispatch_next_algorithm(), __kmp_teams_master(), __kmpc_fork_call(), __kmpc_fork_call_if(), and __kmpc_fork_teams().
typedef long kmp_intptr_t |
typedef size_t kmp_size_t |
typedef kmp_uint32 kmp_uint |
typedef unsigned long kmp_uintptr_t |
typedef va_list kmp_va_list |
enum kmp_mem_fence_type |
enum kmp_warnings_level |
bool __kmp_atomic_compare_store | ( | std::atomic< T > * | p, |
T | expected, | ||
T | desired ) |
Definition at line 1276 of file kmp_os.h.
References p.
Referenced by __kmp_get_priority_task(), __kmp_GOMP_init_reductions(), __kmp_suspend_initialize_thread(), and __kmp_task_reduction_modifier_init().
bool __kmp_atomic_compare_store_acq | ( | std::atomic< T > * | p, |
T | expected, | ||
T | desired ) |
Definition at line 1282 of file kmp_os.h.
References p.
Referenced by __kmp_acquire_tas_lock_timed_template(), __kmp_enter_single(), __kmp_test_drdpa_lock(), and __kmp_test_tas_lock().
bool __kmp_atomic_compare_store_rel | ( | std::atomic< T > * | p, |
T | expected, | ||
T | desired ) |
|
inline |
Definition at line 883 of file kmp_os.h.
References kmp_uint32, and p.
|
inline |