code: def test_find(self, order):
      @jit.rawkernel()
      def find(x, y):
          i, j, k = jit.threadIdx.x, jit.threadIdx.y, jit.threadIdx.z
          array = x[i, j]
          iterator = jit.thrust.find(
              jit.thrust.device, array.begin(), array.end(), k
          )
          y[i, j, k] = iterator - array.begin()
  
      h, w, c = (16, 16, 128)
      x = testing.shaped_random(
          (h, w, c), dtype=numpy.int32, scale=4, order=order
      )
      y = cupy.zeros(h * w * 4, dtype=cupy.int32).reshape(h, w, 4)
      find[1, (16, 16, 4)](x, y)
  
      expected = numpy.full((h, w, 4), c, y.dtype)
      x_numpy = cupy.asnumpy(x)
      for i in range(h):
          for j in range(w):
              for k in range(c):
                  elem = x_numpy[i, j, k]
                  expected[i, j, elem] = min(expected[i, j, elem], k)
      testing.assert_array_equal(y, 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 13 for calling the TestThrust obj's underlying member method code with example usage: obj.test_find(order) without return types