[Openmp-commits] [PATCH] D12563: Fix hanging barriers if number of parallel regions exceeds UINT_MAX

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 2 10:52:49 PDT 2015


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, hfinkel.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.

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.


Repository:
  rL LLVM

http://reviews.llvm.org/D12563

Files:
  runtime/src/kmp.h
  runtime/src/kmp_barrier.cpp
  runtime/src/kmp_itt.inl
  runtime/src/kmp_runtime.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12563.33827.patch
Type: text/x-patch
Size: 13641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150902/bd995881/attachment-0001.bin>


More information about the Openmp-commits mailing list