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