My editor at Pearson, the inimitable Peter Gordon, agreed to allow me to “open source” the code that was to accompany The CUDA Handbook. I think we both figured that if the code was useful, it would be a good way to promote the book.
Sample source code is now available on github.
For now at least, the source code is offered under the 2-clause BSD license.
If you have any feedback on sample source code, please send me e-mail.