Test reduce_by_key with thrust::seq in __device__ code.