diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-08-12 20:59:48 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-08-12 20:59:48 +0000 |
commit | 2211cfe0a339b7d2eb6424e18e4d1b0b4932affd (patch) | |
tree | bd5cdfe923593d284c605af0fea18b5186da8b0e /openmp/runtime/src | |
parent | 46e9558ac6cdf97ccaca60d01fa7fc5b66df6727 (diff) | |
download | bcm5719-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.cpp | 1 |
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); } |