code: def test_is_sorted_until(self, order):
      @jit.rawkernel()
      def is_sorted_until(x, out):
          i = jit.threadIdx.x
          it = jit.thrust.is_sorted_until(
              jit.thrust.device, x[i].begin(), x[i].end()
          )
          out[i] = it - x[i].begin()
  
      x = cupy.array(
          [
              [1, 2, 3, 4, 1, 2, 3, 4],
              [1, 2, 4, 1, 2, 3, 5, 5],
          ],
          order=order,
      )
      out = cupy.zeros((2,), dtype=numpy.int64)
      is_sorted_until[1, 2](x, out)
  
      expected = cupy.array([4, 3])
      testing.assert_array_equal(out, expected)
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  from cupy_backends.cuda.api import runtime
  from cupyx import jit
label_desc: Use image node_id 19 for calling the TestThrust obj's underlying member method code with example usage: obj.test_is_sorted_until(order) without return types