One line fix for hierarchical barrier
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 12 Aug 2015 20:59:48 +0000 (20:59 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 12 Aug 2015 20:59:48 +0000 (20:59 +0000)
There was a missing implicit task init for the ICV PUSH case in hierarchical barrier.

llvm-svn: 244807

openmp/runtime/src/kmp_barrier.cpp

index 0d9c766..80cddd8 100644 (file)
@@ -927,6 +927,7 @@ __kmp_hierarchical_barrier_release(enum barrier_type bt, kmp_info_t *this_thr, i
 
 #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);
         }