One line fix for hierarchical barrier

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

llvm-svn: 244807
This commit is contained in:
Jonathan Peyton 2015-08-12 20:59:48 +00:00
parent 46e9558ac6
commit 2211cfe0a3
1 changed files with 1 additions and 0 deletions

View 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);
}