[Openmp-commits] [PATCH] D105308: [OpenMP] Fix a few issues with hidden helper task

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 1 12:25:41 PDT 2021


hbae created this revision.
hbae added reviewers: tianshilei1992, AndreyChurbanov, tlwilmar, jlpeyton, Nawrin.
hbae added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
hbae requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

This patch includes the following changes to address a few issues when using hidden helper task.

- Assertion is triggered when there are inadvertent calls to hidden helper functions on non-Linux OS
- Added deinit code in __kmp_internal_end_library function to fix random shutdown crashes
- Moved task data access into the lock-guarded region in __kmp_push_task


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105308

Files:
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_tasking.cpp
  openmp/runtime/src/z_Linux_util.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105308.355974.patch
Type: text/x-patch
Size: 4331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210701/1830bed3/attachment.bin>


More information about the Openmp-commits mailing list