Famous reduction example to showcase how to program a GPU. Based on:
- Professional CUDA C Programming
- http://developer.download.nvidia.com/compute/cuda/1.1-Beta/x86_website/projects/reduction/doc/reduction.pdf
Run make benchmark to get important performance characteristics for this example.
ATTENTION: Does not take into account Independent Thread Scheduling!