[Openmp-commits] [PATCH] D46533: [OMPT] Provide the right thread_num for ancestor levels

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 7 09:42:01 PDT 2018


protze.joachim created this revision.
protze.joachim added reviewers: Hahnfeld, omalyshe, hbae.

The current implementation always provides the thread-num for the current parallel region. This patch fixes the behavior for ancestor levels >0.


https://reviews.llvm.org/D46533

Files:
  runtime/src/ompt-specific.cpp
  runtime/test/ompt/parallel/nested_thread_num.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46533.145485.patch
Type: text/x-patch
Size: 16263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180507/85bd2e1b/attachment.bin>


More information about the Openmp-commits mailing list