The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
The ompt tests (nested_lwt.c, parallel_if0.c and serialized.c) in the ompd-tests branch fail currently since ompt_get_task_info() returns incorrect values for task_data and parallel_data for ancestor_levels > 0.
This is related to the commit c1b4c5a79122ea3ba06f5ab6f4fa6433fa2283d8 : Add information on scheduling parent for the master task in a parallel region.
The proposed fix in __ompt_get_task_info_internal() is :
While moving upwards through ancestor levels, set the taskdata at that level to ompt_task_info.scheduling_parent only if we are dealing with explicit tasks.
The ompt tests (nested_lwt.c, parallel_if0.c and serialized.c) in the ompd-tests branch fail currently since ompt_get_task_info() returns incorrect values for task_data and parallel_data for ancestor_levels > 0.
This is related to the commit c1b4c5a79122ea3ba06f5ab6f4fa6433fa2283d8 : Add information on scheduling parent for the master task in a parallel region.
The proposed fix in __ompt_get_task_info_internal() is :
While moving upwards through ancestor levels, set the taskdata at that level to ompt_task_info.scheduling_parent only if we are dealing with explicit tasks.