datastart must be non-const in CUDA.
Merge pull request #3089 from Adil-Ibragimov:fix_cuda_constness