Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/ompt-specific.cpp
Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Lines | void __ompt_lw_taskteam_init(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, int gtid, | ||||
// initialize parallel_data with input, return address to parallel_data on | // initialize parallel_data with input, return address to parallel_data on | ||||
// exit | // exit | ||||
lwt->ompt_team_info.parallel_data = *ompt_pid; | lwt->ompt_team_info.parallel_data = *ompt_pid; | ||||
lwt->ompt_team_info.master_return_address = codeptr; | lwt->ompt_team_info.master_return_address = codeptr; | ||||
lwt->ompt_task_info.task_data.value = 0; | lwt->ompt_task_info.task_data.value = 0; | ||||
lwt->ompt_task_info.frame.enter_frame = ompt_data_none; | lwt->ompt_task_info.frame.enter_frame = ompt_data_none; | ||||
lwt->ompt_task_info.frame.exit_frame = ompt_data_none; | lwt->ompt_task_info.frame.exit_frame = ompt_data_none; | ||||
lwt->ompt_task_info.scheduling_parent = NULL; | lwt->ompt_task_info.scheduling_parent = NULL; | ||||
lwt->ompt_task_info.deps = NULL; | |||||
lwt->ompt_task_info.ndeps = 0; | |||||
lwt->heap = 0; | lwt->heap = 0; | ||||
lwt->parent = 0; | lwt->parent = 0; | ||||
} | } | ||||
void __ompt_lw_taskteam_link(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, | void __ompt_lw_taskteam_link(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, | ||||
int on_heap, bool always) { | int on_heap, bool always) { | ||||
ompt_lw_taskteam_t *link_lwt = lwt; | ompt_lw_taskteam_t *link_lwt = lwt; | ||||
if (always || | if (always || | ||||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |