The fix is to make b_arrived flag 64 bit in both structures - kmp_balign_team_t and kmp_balign_t. Otherwise when flag in kmp_balign_team_t wrapped over UINT_MAX the library hangs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D12563
Fix hanging barriers if number of parallel regions exceeds UINT_MAX ClosedPublic Authored by jlpeyton on Sep 2 2015, 10:52 AM.
Details Summary The fix is to make b_arrived flag 64 bit in both structures - kmp_balign_team_t and kmp_balign_t. Otherwise when flag in kmp_balign_team_t wrapped over UINT_MAX the library hangs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 8 2015, 9:12 AM Closed by commit rL247320: Fix hanging barriers if number of parallel regions exceeds UINT_MAX (authored by jlpeyton). · Explain WhySep 10 2015, 11:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 34472 openmp/trunk/runtime/src/kmp.h
openmp/trunk/runtime/src/kmp_barrier.cpp
openmp/trunk/runtime/src/kmp_itt.inl
openmp/trunk/runtime/src/kmp_runtime.c
|