[Openmp-commits] [PATCH] D46260: [OMPT] Fix thread_num for implicit_task_end callbacks in nested parallel regions
Simon Convent via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Apr 30 04:01:05 PDT 2018
sconvent created this revision.
sconvent added reviewers: protze.joachim, Hahnfeld, omalyshe, hbae, jlpeyton.
implicit_task_end callbacks in nested parallel regions did not always give the correct thread_num, since the inner parallel region may have already been finalized.
Now, the thread_num is stored at the beginning of the implicit task and retrieved at the end, whenever necessary.
A testcase was added as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8484 bytes
Desc: not available
More information about the Openmp-commits