[all-commits] [llvm/llvm-project] ba0258: [OpenMP][OMPT][GOMP] task frame support in KMP_API...

Vladimir Inđić via All-commits all-commits at lists.llvm.org
Fri Oct 22 09:02:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba02586fbe188c4d66dcce72bc0c39e852228cb0
      https://github.com/llvm/llvm-project/commit/ba02586fbe188c4d66dcce72bc0c39e852228cb0
  Author: Vladimir Inđić <vladaindjic at uns.ac.rs>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M openmp/runtime/src/kmp_gsupport.cpp
    A openmp/runtime/test/ompt/worksharing/taskinfo/sections_serialized.c

  Log Message:
  -----------
  [OpenMP][OMPT][GOMP] task frame support in KMP_API_NAME_GOMP_PARALLEL_SECTIONS

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.

Differential Revision: https://reviews.llvm.org/D112205




More information about the All-commits mailing list