Test scan algorithms with thrust::seq in __device__ code.