[Openmp-commits] [PATCH] D50001: [OpenMP] Fix new task creation

Phabricator via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 30 12:52:15 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL338295: [OpenMP] Fix new task creation (authored by gbercea, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D50001?vs=158042&id=158050#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50001

Files:
  openmp/trunk/runtime/src/kmp_tasking.cpp


Index: openmp/trunk/runtime/src/kmp_tasking.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_tasking.cpp
+++ openmp/trunk/runtime/src/kmp_tasking.cpp
@@ -4015,7 +4015,7 @@
   // schedule new task with correct return address for OMPT events
   __kmp_omp_taskloop_task(NULL, gtid, new_task, codeptr_ra);
 #else
-  __kmp_omp_task(NULL, gtid, new_task); // schedule new task
+  __kmp_omp_task(gtid, new_task, true); // schedule new task
 #endif
 
   // execute the 1st half of current subrange


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50001.158050.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180730/77f3fa71/attachment.bin>


More information about the Openmp-commits mailing list