[Openmp-commits] [PATCH] Task Team Synchronization Fix

Jonathan Peyton jonathan.l.peyton at intel.com
Thu May 21 10:12:16 PDT 2015


Addressed Terry's comment.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9897

Files:
  runtime/src/kmp_runtime.c

Index: runtime/src/kmp_runtime.c
===================================================================
--- runtime/src/kmp_runtime.c
+++ runtime/src/kmp_runtime.c
@@ -5060,6 +5060,7 @@
                 for (f=0;  f < team->t.t_nproc; ++f) {
                     __kmp_initialize_info( team->t.t_threads[ f ], team, f, __kmp_gtid_from_tid( f, team ) );
                     team->t.t_threads[f]->th.th_task_state = old_state;
+                    team->t.t_threads[f]->th.th_task_team = team->t.t_task_team[old_state];
                 }
             }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9897.26251.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150521/591b162f/attachment.bin>


More information about the Openmp-commits mailing list