Test merge_by_key with thrust::seq in __device__ code.