[Openmp-commits] [PATCH] D23309: [OMPT] fix __ompt_get_teaminfo to consult lwt entries of parent teams

Joachim Protze via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 9 04:03:34 PDT 2016

protze.joachim created this revision.
protze.joachim added reviewers: jlpeyton, AndreyChurbanov.
protze.joachim added subscribers: Hahnfeld, openmp-commits.

The comment already states, that this function should work similarly as __ompt_get_taskinfo.

The function only looked for lwt entries of the current team, but not when unrolling the parents. This fix aligns the implementation to __ompt_get_taskinfo.

The new test case creates a single theaded team (->lwt) and then a nested active team.
Before the innermost print_id(1) would deliver a different team then the outer print_id(0).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23309.67316.patch
Type: text/x-patch
Size: 36699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160809/f7fc3bfe/attachment-0001.bin>

More information about the Openmp-commits mailing list