This site has many PDFs on GPU programming and also has a repository of some source code.Updated daily.
In particular the The CUDA Handbook: A Comprehensive Guide to GPU Programming is there now with a link to the source code.
[url]The CUDA Handbook: A Comprehensive Guide to GPU Programming | hgpu.org
Pretty much all papers on GPGPU show up here so a good resource for both beginners and pros.