Working through "CUDA By Example"