diff options
author | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-05-07 12:42:21 +0000 |
---|---|---|
committer | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-05-07 12:42:21 +0000 |
commit | 9be9cf20bf81b48bbb08b9d324beabd6a7785889 (patch) | |
tree | b36ef2ac906f38c6ed1dd0f731151a6e532386ff /llvm/lib | |
parent | 8fc39f6b19a98838b590462a3d37cebc060c6796 (diff) | |
download | bcm5719-llvm-9be9cf20bf81b48bbb08b9d324beabd6a7785889.tar.gz bcm5719-llvm-9be9cf20bf81b48bbb08b9d324beabd6a7785889.zip |
[OMPT] Fix thread_num for implicit_task_end callbacks in nested parallel regions
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.
Differential Revision: https://reviews.llvm.org/D46260
llvm-svn: 331632
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions