Fix CUDA build for logistic map example.

7 jobs for fix_cuda_build