CUDA parallel example