[all-commits] [llvm/llvm-project] 41f148: Fix an issue with th_task_state_memo_stack and pro...

Alex via All-commits all-commits at lists.llvm.org
Fri Apr 21 11:01:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41f148e61d0b5a13f2406c4acf6e36ab24172a9d
      https://github.com/llvm/llvm-project/commit/41f148e61d0b5a13f2406c4acf6e36ab24172a9d
  Author: Alex Duran <alejandro.duran at intel.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

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

  Log Message:
  -----------
  Fix an issue with th_task_state_memo_stack and proxy/helper tasks

When proxy or helper tasks were used in inactive parallel regions, no
memo of the th_task_state was stored in the stack, so th_task_state
became invalid. This change inserts an item in the memo stack to track
these th_task_states.

Patch by Alex Duran.

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




More information about the All-commits mailing list