[Openmp-commits] [PATCH] D23305: [OMPT] Align implementation of reenter frame address to latest (frozen) version of OMPT spec

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


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

The latest OMPT spec changed the semantic of a tasks reenter frame to be the application frame, that will be entered, when the runtime frame drops.
Before it was the last frame in the runtime. This doesn't work for some gcc execution pathes or even clang generated code for :
#omp task if(0)
Since there is no runtime frame between the executed task and the encountering task.

The test case compares exit and reenter addresses against addresses captured in application code

https://reviews.llvm.org/D23305

Files:
  runtime/src/kmp_csupport.c
  runtime/src/kmp_gsupport.c
  runtime/src/kmp_tasking.c
  runtime/test/ompt/parallel/nested.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23305.67312.patch
Type: text/x-patch
Size: 10164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160809/750bc3dd/attachment.bin>


More information about the Openmp-commits mailing list