code: def test_adjacent_difference(self, order):
      @jit.rawkernel()
      def adjacent_difference(x, y):
          i = jit.threadIdx.x
          array = x[i]
          result = y[i]
          jit.thrust.adjacent_difference(
              jit.thrust.device,
              array.begin(),
              array.end(),
              result.begin(),
          )
  
      h, w = (128, 128)
      x = testing.shaped_random((h, w), dtype=numpy.int32, order=order)
      y = cupy.zeros(h * w, dtype=cupy.int32).reshape(h, w)
      adjacent_difference[1, 128](x, y)
      testing.assert_array_equal(y[:, 0], x[:, 0])
      testing.assert_array_equal(y[:, 1:], x[:, 1:] - x[:, :-1])
  
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 2 for calling the TestThrust obj's underlying member method code with example usage: obj.test_adjacent_difference(order) without return types