[Openmp-commits] [PATCH] D112205: [OpenMP][OMPT][GOMP] task frame support in KMP_API_NAME_GOMP_PARALLEL_SECTIONS
Vladimir Inđić via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 21 02:13:40 PDT 2021
vladaindjic created this revision.
vladaindjic added reviewers: protze.joachim, hbae, AndreyChurbanov, jlpeyton.
Herald added subscribers: guansong, yaxunl.
vladaindjic requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
KMP_API_NAME_GOMP_PARALLEL_SECTIONS function was missing the task frame support.
This patch introduced a fix responsible to set properly the exit_frame of
the innermost implicit task that corresponds to the parallel section construct,
as well as the enter_frame of the task that encloses the mentioned implicit task.
This patch also introduced a simple test case sections_serialized.c that contains
serialized parallel section construct and validates whether the mentioned
task frames are set correctly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112205
Files:
openmp/runtime/src/kmp_gsupport.cpp
openmp/runtime/test/ompt/worksharing/taskinfo/sections_serialized.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112205.381180.patch
Type: text/x-patch
Size: 4432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211021/9ffbb4ca/attachment.bin>
More information about the Openmp-commits
mailing list