Exercises from the Cuda by Example book