[Openmp-commits] [PATCH] D81497: [OpenMP] support alloc of serialized tasks

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 12 03:45:19 PDT 2020


protze.joachim updated this revision to Diff 270350.
protze.joachim added a comment.

Using merged_if0 as suggested by Andrey.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81497/new/

https://reviews.llvm.org/D81497

Files:
  openmp/runtime/src/kmp_tasking.cpp


Index: openmp/runtime/src/kmp_tasking.cpp
===================================================================
--- openmp/runtime/src/kmp_tasking.cpp
+++ openmp/runtime/src/kmp_tasking.cpp
@@ -1328,7 +1328,7 @@
 
   taskdata->td_flags.task_serial =
       (parent_task->td_flags.final || taskdata->td_flags.team_serial ||
-       taskdata->td_flags.tasking_ser);
+       taskdata->td_flags.tasking_ser || flags->merged_if0);
 
   taskdata->td_flags.started = 0;
   taskdata->td_flags.executing = 0;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81497.270350.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200612/3ab32a96/attachment.bin>


More information about the Openmp-commits mailing list