forked from OSchip/llvm-project
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:
parent
46e9558ac6
commit
2211cfe0a3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue