[Openmp-commits] [openmp] r244807 - One line fix for hierarchical barrier

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 12 13:59:49 PDT 2015


Author: jlpeyton
Date: Wed Aug 12 15:59:48 2015
New Revision: 244807

URL: http://llvm.org/viewvc/llvm-project?rev=244807&view=rev
Log:
One line fix for hierarchical barrier

There was a missing implicit task init for the ICV PUSH case in hierarchical barrier.

Modified:
    openmp/trunk/runtime/src/kmp_barrier.cpp

Modified: openmp/trunk/runtime/src/kmp_barrier.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_barrier.cpp?rev=244807&r1=244806&r2=244807&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_barrier.cpp (original)
+++ openmp/trunk/runtime/src/kmp_barrier.cpp Wed Aug 12 15:59:48 2015
@@ -927,6 +927,7 @@ __kmp_hierarchical_barrier_release(enum
 
 #if KMP_BARRIER_ICV_PUSH
     if (propagate_icvs) {
+        __kmp_init_implicit_task(team->t.t_ident, team->t.t_threads[tid], team, tid, FALSE);
         if (KMP_MASTER_TID(tid)) { // master already has copy in final destination; copy
             copy_icvs(&thr_bar->th_fixed_icvs, &team->t.t_implicit_task_taskdata[tid].td_icvs);
         }




More information about the Openmp-commits mailing list