title: Starting a thread for each inner loop in OpenMP
body: <p>I'm fairly new to OpenMP and I'm trying to start an individual thread to process each item in a 2D array.</p>
  
  <p>So essentially, this:</p>
  
  <pre><code>for (i = 0; i &lt; dimension; i++) {
      for (int j = 0; j &lt; dimension; j++) {
          a[i][j] = b[i][j] + c[i][j];
  </code></pre>
  
  <p>What I'm doing is this:</p>
  
  <pre><code>#pragma omp parallel for shared(a,b,c) private(i,j) reduction(+:diff) schedule(dynamic)
      for (i = 0; i &lt; dimension; i++) {
          for (int j = 0; j &lt; dimension; j++) {
              a[i][j] = b[i][j] + c[i][j];
  </code></pre>
  
  <p>Does this in fact start a thread for each 2D item or no?  How would I test that?  If it is wrong, what is the correct way to do it? Thanks!</p>
  
  <p>Note: The code has been greatly simplified</p>