code: def test_random_gpu_ostinato(seed):
      m = 50
      np.random.seed(seed)
      Ts = [np.random.rand(n) for n in [64, 128, 256]]
  
      ref_radius, ref_Ts_idx, ref_subseq_idx = naive.ostinato(Ts, m)
      comp_radius, comp_Ts_idx, comp_subseq_idx = gpu_ostinato(Ts, m)
  
      npt.assert_almost_equal(ref_radius, comp_radius)
      npt.assert_almost_equal(ref_Ts_idx, comp_Ts_idx)
      npt.assert_almost_equal(ref_subseq_idx, comp_subseq_idx)
  
file_path: stumpy/tests/test_gpu_ostinato.py
imports: import functools
  import numpy
  import numpy.testing
  from numba import cuda
  from unittest.mock import patch
  import naive
  import pytest
  from stumpy import gpu_ostinato
label_desc: Use image node_id 1 for calling a global function with example usage: test_random_gpu_ostinato(seed) without return types