summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-12 20:59:48 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-12 20:59:48 +0000
commit2211cfe0a339b7d2eb6424e18e4d1b0b4932affd (patch)
treebd5cdfe923593d284c605af0fea18b5186da8b0e /openmp/runtime/src
parent46e9558ac6cdf97ccaca60d01fa7fc5b66df6727 (diff)
downloadbcm5719-llvm-2211cfe0a339b7d2eb6424e18e4d1b0b4932affd.tar.gz
bcm5719-llvm-2211cfe0a339b7d2eb6424e18e4d1b0b4932affd.zip
One line fix for hierarchical barrier
There was a missing implicit task init for the ICV PUSH case in hierarchical barrier. llvm-svn: 244807
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_barrier.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_barrier.cpp b/openmp/runtime/src/kmp_barrier.cpp
index 0d9c7668b01..80cddd8c615 100644
--- a/openmp/runtime/src/kmp_barrier.cpp
+++ b/openmp/runtime/src/kmp_barrier.cpp
@@ -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);
}
OpenPOWER on IntegriCloud