[llvm-bugs] [Bug 49583] OpenMP schedule(dynamic): Assertion failure at kmp_dispatch.cpp(375)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 23 05:07:24 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49583

Joachim Protze <protze at itc.rwth-aachen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |protze at itc.rwth-aachen.de
         Resolution|---                         |INVALID

--- Comment #1 from Joachim Protze <protze at itc.rwth-aachen.de> ---
The attached program is not a valid OpenMP program for two reasons:

- All threads in the team need to provide consistent loop boundaries. 
> OpenMP 5.0, p107, l10-11: The values of the loop control expressions of the loops associated with the worksharing-loop construct must be the same for all threads in the team.


- All threads in the team need to enter the worksharing-loop (the same number
of times).
> OpenMP 5.0, p86, l16-17: Each worksharing region must be encountered by all threads in a team or by none at all, unless cancellation has been requested for the innermost enclosing parallel region.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210423/5338dae1/attachment-0001.html>


More information about the llvm-bugs mailing list