Test min_element with thrust::seq in __device__ code.