<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:protze@itc.rwth-aachen.de" title="Joachim Protze <protze@itc.rwth-aachen.de>"> <span class="fn">Joachim Protze</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - OpenMP schedule(dynamic): Assertion failure at kmp_dispatch.cpp(375)"
   href="https://bugs.llvm.org/show_bug.cgi?id=49583">bug 49583</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>protze@itc.rwth-aachen.de
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - OpenMP schedule(dynamic): Assertion failure at kmp_dispatch.cpp(375)"
   href="https://bugs.llvm.org/show_bug.cgi?id=49583#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - OpenMP schedule(dynamic): Assertion failure at kmp_dispatch.cpp(375)"
   href="https://bugs.llvm.org/show_bug.cgi?id=49583">bug 49583</a>
              from <span class="vcard"><a class="email" href="mailto:protze@itc.rwth-aachen.de" title="Joachim Protze <protze@itc.rwth-aachen.de>"> <span class="fn">Joachim Protze</span></a>
</span></b>
        <pre>The attached program is not a valid OpenMP program for two reasons:

- All threads in the team need to provide consistent loop boundaries. 
<span class="quote">> 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.</span >


- All threads in the team need to enter the worksharing-loop (the same number
of times).
<span class="quote">> 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.</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>