title: Are Java 8 Lambda expressions using GPU?
body: <p>I recently got in touch with Java 8 and I'm trying to learn Lambda expressions.
  I want to do some graphics calculations, my code so far:</p>
  
  <pre><code>    IntStream.range(0, (screenSize.width * screenSize.height)).parallel().forEach(id -&gt; { 
          int x = id % screenSize.width;
          int y = ((id-x) / screenSize.width);
          /*look up what color this pixel is.*/
      });
  </code></pre>
  
  <p>Now all this Code is for graphics, everything is basic Math (plus, minus, multiply, modulo), except for <code>bufferedImage.getRGB(x, y)</code> and operations with <code>java.awt.Color</code>, and it can be done for each pixel seperately. </p>
  
  <p>Now the question: Is it possible to run this on the GPU? Or is this even automatically GPU-based? (I remember reading this somewhere, but I'm not sure)</p>