[all-commits] [llvm/llvm-project] f1b9ce: [OpenMP] Fix a few issues with hidden helper task

Hansang Bae via All-commits all-commits at lists.llvm.org
Thu Jul 1 15:10:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1b9ce2736d826df2ff4cbd67116864f0856334f
      https://github.com/llvm/llvm-project/commit/f1b9ce2736d826df2ff4cbd67116864f0856334f
  Author: Hansang Bae <hansang.bae at intel.com>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_tasking.cpp
    M openmp/runtime/src/z_Linux_util.cpp

  Log Message:
  -----------
  [OpenMP] Fix a few issues with hidden helper task

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

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




More information about the All-commits mailing list