[Openmp-commits] [PATCH] D110441: [OpenMP][GNU] Usage of TASK_TIED constant inside kmp_gsupport.cpp

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 27 09:46:21 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5357a98c823a: [OpenMP] libomp: Usage of TASK_TIED constant inside kmp_gsupport.cpp (authored by vladaindjic, committed by AndreyChurbanov).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110441

Files:
  openmp/runtime/src/kmp_gsupport.cpp


Index: openmp/runtime/src/kmp_gsupport.cpp
===================================================================
--- openmp/runtime/src/kmp_gsupport.cpp
+++ openmp/runtime/src/kmp_gsupport.cpp
@@ -1234,7 +1234,7 @@
 
   // The low-order bit is the "untied" flag
   if (!(gomp_flags & KMP_GOMP_TASK_UNTIED_FLAG)) {
-    input_flags->tiedness = 1;
+    input_flags->tiedness = TASK_TIED;
   }
   // The second low-order bit is the "final" flag
   if (gomp_flags & KMP_GOMP_TASK_FINAL_FLAG) {
@@ -1766,7 +1766,7 @@
   KMP_ASSERT(arg_align > 0);
   // The low-order bit is the "untied" flag
   if (!(gomp_flags & 1)) {
-    input_flags->tiedness = 1;
+    input_flags->tiedness = TASK_TIED;
   }
   // The second low-order bit is the "final" flag
   if (gomp_flags & 2) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110441.375311.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210927/e22e0c98/attachment.bin>


More information about the Openmp-commits mailing list