[Openmp-commits] [PATCH] D40753: Fix PR30890: Reduction across teams hangs

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 1 13:48:19 PST 2017


Hahnfeld created this revision.

`__kmpc_reduce_nowait()` correctly swapped the teams for reductions
in a teams construct. Apply the same logic to `__kmpc_reduce()` and
`__kmpc_reduce_end()`.


https://reviews.llvm.org/D40753

Files:
  runtime/src/kmp_csupport.cpp
  runtime/test/misc_bugs/teams-reduction.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40753.125218.patch
Type: text/x-patch
Size: 7301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171201/efaf5784/attachment.bin>


More information about the Openmp-commits mailing list