Enable CUDA's inclusive_scan & exclusive_scan in __device__ code.
Test inclusive_scan & exclusive_scan with thrust::device in __device__ code.