code: def test_gpu_stump_constant_subsequence_self_join():
      T_A = np.concatenate(
          (np.zeros(20, dtype=np.float64), np.ones(5, dtype=np.float64))
      )
      m = 3
      zone = int(np.ceil(m / 4))
      ref_mp = naive.stump(T_A, m, exclusion_zone=zone, row_wise=True)
      comp_mp = gpu_stump(T_A, m, ignore_trivial=True)
      naive.replace_inf(ref_mp)
      naive.replace_inf(comp_mp)
      npt.assert_almost_equal(ref_mp[:, 0], comp_mp[:, 0])
  
imports: import functools
  from unittest.mock import patch
  import numpy
  import numpy.testing
  import pandas
  from numba import cuda
  from stumpy import config, gpu_stump
  import naive
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_gpu_stump_constant_subsequence_self_join() without return types