LLVM OpenMP 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | THREAD_LOCAL __thread |
#define | OMPT_WEAK_ATTRIBUTE KMP_WEAK_ATTRIBUTE_INTERNAL |
#define | LWT_FROM_TEAM(team) (team)->t.ompt_serialized_team_info |
#define | OMPT_THREAD_ID_BITS 16 |
#define LWT_FROM_TEAM | ( | team | ) | (team)->t.ompt_serialized_team_info |
Definition at line 36 of file ompt-specific.cpp.
#define OMPT_THREAD_ID_BITS 16 |
Definition at line 38 of file ompt-specific.cpp.
#define OMPT_WEAK_ATTRIBUTE KMP_WEAK_ATTRIBUTE_INTERNAL |
Definition at line 30 of file ompt-specific.cpp.
#define THREAD_LOCAL __thread |
Definition at line 27 of file ompt-specific.cpp.
void __ompt_force_initialization | ( | ) |
Definition at line 195 of file ompt-specific.cpp.
References __kmp_serial_initialize().
Referenced by ompt_libomp_connect().
ompt_sync_region_t __ompt_get_barrier_kind | ( | enum barrier_type | bt, |
kmp_info_t * | thr | ||
) |
Definition at line 504 of file ompt-specific.cpp.
References bs_forkjoin_barrier, bs_plain_barrier, KMP_IDENT_BARRIER_EXPL, and KMP_IDENT_BARRIER_IMPL.
Referenced by __kmp_barrier_template().
int __ompt_get_parallel_info_internal | ( | int | ancestor_level, |
ompt_data_t ** | parallel_data, | ||
int * | team_size | ||
) |
Definition at line 237 of file ompt-specific.cpp.
References __kmp_get_gtid, __ompt_get_teaminfo(), and ompt_team_info_t::parallel_data.
Referenced by ompt_get_parallel_info().
ompt_task_info_t * __ompt_get_scheduling_taskinfo | ( | int | depth | ) |
Definition at line 143 of file ompt-specific.cpp.
References LWT_FROM_TEAM, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::parent, kmp_taskdata::td_parent, and kmp_taskdata::td_team.
int __ompt_get_state_internal | ( | ompt_wait_id_t * | omp_wait_id | ) |
Definition at line 222 of file ompt-specific.cpp.
Referenced by ompt_get_state().
ompt_data_t * __ompt_get_target_task_data | ( | ) |
Definition at line 353 of file ompt-specific.cpp.
References __kmp_get_gtid, and __kmp_threads.
Referenced by ompt_get_target_task_data().
ompt_data_t * __ompt_get_task_data | ( | ) |
Definition at line 347 of file ompt-specific.cpp.
Referenced by ompt_get_task_data().
int __ompt_get_task_info_internal | ( | int | ancestor_level, |
int * | type, | ||
ompt_data_t ** | task_data, | ||
ompt_frame_t ** | task_frame, | ||
ompt_data_t ** | parallel_data, | ||
int * | thread_num | ||
) |
Definition at line 357 of file ompt-specific.cpp.
References __kmp_get_gtid, __kmp_get_tid, ompt_task_info_t::frame, level, LWT_FROM_TEAM, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::ompt_team_info, ompt_team_info_t::parallel_data, ompt_lw_taskteam_s::parent, kmp_team::t, ompt_task_info_t::task_data, TASK_TYPE_DETAILS_FORMAT, kmp_taskdata::td_parent, kmp_taskdata::td_team, and type.
Referenced by __kmp_fork_call(), __kmp_GOMP_microtask_wrapper(), __kmp_GOMP_par_reductions_microtask_wrapper(), __kmp_GOMP_parallel_microtask_wrapper(), __kmp_invoke_task(), __kmp_register_root(), __kmp_reset_root(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_cancel(), __kmpc_cancellationpoint(), __kmpc_copyprivate(), __kmpc_copyprivate_light(), __kmpc_end_reduce(), __kmpc_end_serialized_parallel(), __kmpc_omp_task_complete_if0_template(), __kmpc_reduce(), __kmpc_reduce_nowait(), KMP_API_NAME_GOMP_BARRIER(), KMP_API_NAME_GOMP_PARALLEL_START(), KMP_API_NAME_GOMP_SINGLE_COPY_END(), KMP_API_NAME_GOMP_SINGLE_COPY_START(), ompt_get_task_info(), and ompt_post_init().
ompt_task_info_t * __ompt_get_task_info_object | ( | int | depth | ) |
Definition at line 103 of file ompt-specific.cpp.
References LWT_FROM_TEAM, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::parent, kmp_taskdata::td_parent, and kmp_taskdata::td_team.
Referenced by __kmp_dispatch_init(), __kmp_dist_for_static_init(), __kmp_for_static_init(), __kmp_GOMP_fork_call(), __kmp_join_call(), __kmp_launch_thread(), __kmp_taskloop(), __kmpc_end_sections(), __kmpc_for_static_fini(), __kmpc_next_section(), and __kmpc_sections_init().
Definition at line 463 of file ompt-specific.cpp.
References addr, size, TASK_EXPLICIT, kmp_tasking_flags::tasktype, kmp_taskdata::td_flags, and kmp_taskdata::td_size_alloc.
Referenced by ompt_get_task_memory().
ompt_team_info_t * __ompt_get_teaminfo | ( | int | depth, |
int * | size | ||
) |
Definition at line 51 of file ompt-specific.cpp.
References LWT_FROM_TEAM, size, and kmp_team::t.
Referenced by __kmp_dispatch_init(), __kmp_dist_for_static_init(), __kmp_for_static_init(), __kmp_GOMP_fork_call(), __kmp_invoke_task(), __kmp_taskloop(), __kmpc_end_sections(), __kmpc_for_static_fini(), __kmpc_next_section(), __kmpc_sections_init(), and __ompt_get_parallel_info_internal().
ompt_data_t * __ompt_get_thread_data_internal | ( | ) |
Definition at line 201 of file ompt-specific.cpp.
References __kmp_get_gtid.
Referenced by __kmp_register_root(), __kmpc_flush(), ompt_get_thread_data(), and ompt_post_init().
|
static |
Definition at line 494 of file ompt-specific.cpp.
References KMP_TEST_THEN_INC64, OMPT_THREAD_ID_BITS, and THREAD_LOCAL.
Referenced by ompt_get_unique_id().
void __ompt_lw_taskteam_init | ( | ompt_lw_taskteam_t * | lwt, |
kmp_info_t * | thr, | ||
int | gtid, | ||
ompt_data_t * | ompt_pid, | ||
void * | codeptr | ||
) |
Definition at line 260 of file ompt-specific.cpp.
References ompt_task_info_t::frame, ompt_lw_taskteam_s::heap, ompt_team_info_t::master_return_address, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::ompt_team_info, ompt_team_info_t::parallel_data, ompt_lw_taskteam_s::parent, ompt_task_info_t::scheduling_parent, and ompt_task_info_t::task_data.
Referenced by __kmp_fork_in_teams(), __kmp_serial_fork_call(), and __kmp_serialized_parallel().
void __ompt_lw_taskteam_link | ( | ompt_lw_taskteam_t * | lwt, |
kmp_info_t * | thr, | ||
int | on_heap, | ||
bool | always | ||
) |
Definition at line 274 of file ompt-specific.cpp.
References __kmp_allocate, ompt_lw_taskteam_s::heap, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::ompt_team_info, and ompt_lw_taskteam_s::parent.
Referenced by __kmp_fork_in_teams(), __kmp_serial_fork_call(), and __kmp_serialized_parallel().
void __ompt_lw_taskteam_unlink | ( | kmp_info_t * | thr | ) |
Definition at line 318 of file ompt-specific.cpp.
References __kmp_free, ompt_lw_taskteam_s::heap, ompt_lw_taskteam_s::ompt_task_info, ompt_lw_taskteam_s::ompt_team_info, and ompt_lw_taskteam_s::parent.
Referenced by __kmp_fork_in_teams(), __kmp_join_call(), __kmp_serial_fork_call(), and __kmpc_end_serialized_parallel().
void __ompt_team_assign_id | ( | kmp_team_t * | team, |
ompt_data_t | ompt_pid | ||
) |
Definition at line 486 of file ompt-specific.cpp.
References kmp_team::t.
Referenced by __kmp_allocate_team().
Definition at line 215 of file ompt-specific.cpp.
Referenced by KMP_API_NAME_GOMP_ATOMIC_START().