fixed two typos in the CUDA code