CUDA Practice example