Test is_partitioned with thrust::seq in __device__ code.