(T_A, T_B)
| 54 | @pytest.mark.parametrize("T_A, T_B", test_data) |
| 55 | @patch("stumpy.config.STUMPY_THREADS_PER_BLOCK", TEST_THREADS_PER_BLOCK) |
| 56 | def test_gpu_stump_self_join(T_A, T_B): |
| 57 | m = 3 |
| 58 | zone = int(np.ceil(m / 4)) |
| 59 | ref_mp = naive.stump(T_B, m, exclusion_zone=zone, row_wise=True) |
| 60 | comp_mp = gpu_stump(T_B, m, ignore_trivial=True) |
| 61 | naive.replace_inf(ref_mp) |
| 62 | naive.replace_inf(comp_mp) |
| 63 | npt.assert_almost_equal(ref_mp, comp_mp) |
| 64 | |
| 65 | comp_mp = gpu_stump(pd.Series(T_B), m, ignore_trivial=True) |
| 66 | naive.replace_inf(comp_mp) |
| 67 | npt.assert_almost_equal(ref_mp, comp_mp) |
| 68 | |
| 69 | |
| 70 | @pytest.mark.filterwarnings("ignore", category=NumbaPerformanceWarning) |
nothing calls this directly
no test coverage detected