116
edits
Changes
TeamDS
,→GPU Optimization Phase 1
</syntaxhighlight>
=== GPU Optimization Phase 2 ===
For every n, we are calculating the XYCoords n^2 number of times which is a lot. Since the XYCoord of pixels are fixed for every pixel, we can pre generate XYCoord arrays to a single array. However, this will increase the GPU's access to global memory. We will need to benchmark and see if this will give better times or not.