Test partition_point with thrust::device in __device__ code.