Test the transform scan algorithms with thrust::device in __device__ code.