The best way to learn GPU based parallel programming is to actually code examples. Here I collect GPU based examples.
Books I found useful
- Gaster, Howes and Kaeli, 2012, Heterogeneous Computing with OpenCL
- Munshi, Gaster, Mattson, Fung and Ginsburg, 2011, OpenCL Programming Guide
- Sanders and Kandrot, 2010, CUDA by Example: An Introduction to General-Purpose GPU Programming
- Kirk and Hwu, 2012, Programming Massively Parallel Processors: A Hands-On Approach
Examples
I started adding the examples to a repository in GitHub. For each example I clearly indicated where the original source came from and what license it is distributed under.