Skip to content

Commit e529152

Browse files
committed
Add OMPD offset information necessary for lwt handling
1 parent f7789ec commit e529152

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

runtime/src/ompd-specific.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const char * * ompd_dll_locations=NULL;
2626
const char * ompd_my_dll_locations[2] = {"libompd_intel.so",NULL};
2727
uint64_t ompd_state=0;
2828

29-
int ompd_rtl_version = 6;
29+
int ompd_rtl_version = 7;
3030

3131
void ompd_init()
3232
{

runtime/src/ompd-specific.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ OMPD_ACCESS(kmp_base_info_t, ompt_thread_info) \
3434
OMPD_ACCESS(kmp_base_root_t, r_in_parallel) \
3535
\
3636
OMPD_ACCESS(kmp_base_team_t, ompt_team_info) \
37+
OMPD_ACCESS(kmp_base_team_t, ompt_serialized_team_info) \
3738
OMPD_ACCESS(kmp_base_team_t, t_active_level) \
3839
OMPD_ACCESS(kmp_base_team_t, t_implicit_task_taskdata) \
3940
OMPD_ACCESS(kmp_base_team_t, t_master_tid) \
@@ -83,6 +84,10 @@ OMPD_ACCESS(ompt_thread_info_t, wait_id) \
8384
\
8485
OMPD_ACCESS(ompt_frame_t, reenter_runtime_frame) \
8586
OMPD_ACCESS(ompt_frame_t, exit_runtime_frame) \
87+
\
88+
OMPD_ACCESS(ompt_lw_taskteam_t, parent) \
89+
OMPD_ACCESS(ompt_lw_taskteam_t, ompt_team_info) \
90+
OMPD_ACCESS(ompt_lw_taskteam_t, ompt_task_info)
8691

8792

8893
#define OMPD_FOREACH_BITFIELD(OMPD_BITFIELD) \

0 commit comments

Comments
 (0)