title: openMP nested parallel for loops vs inner parallel for
body: <p>If I use nested parallel for loops like this:</p>
  
  <pre><code>#pragma omp parallel for schedule(dynamic,1)
  for (int x = 0; x &lt; x_max; ++x) {
      #pragma omp parallel for schedule(dynamic,1)
      for (int y = 0; y &lt; y_max; ++y) { 
      //parallelize this code here
     }
  //IMPORTANT: no code in here
  }
  </code></pre>
  
  <p>is this equivalent to:</p>
  
  <pre><code>for (int x = 0; x &lt; x_max; ++x) {
      #pragma omp parallel for schedule(dynamic,1)
      for (int y = 0; y &lt; y_max; ++y) { 
      //parallelize this code here
     }
  //IMPORTANT: no code in here
  }
  </code></pre>
  
  <p>Is the outer parallel for doing anything other than creating a new task?</p>