|
11 | 11 | import dpnp |
12 | 12 |
|
13 | 13 | from .helper import ( |
| 14 | + LTS_VERSION, |
14 | 15 | assert_dtype_allclose, |
15 | 16 | generate_random_numpy_array, |
16 | 17 | get_abs_array, |
|
21 | 22 | get_integer_dtypes, |
22 | 23 | get_integer_float_dtypes, |
23 | 24 | has_support_aspect64, |
| 25 | + is_bmg, |
| 26 | + is_lnl, |
| 27 | + is_lts_driver, |
| 28 | + is_win_platform, |
24 | 29 | numpy_version, |
25 | 30 | ) |
26 | 31 | from .third_party.cupy import testing |
@@ -487,6 +492,12 @@ def test_weights_another_sycl_queue(self): |
487 | 492 | with assert_raises(ValueError): |
488 | 493 | dpnp.histogram(v, weights=w) |
489 | 494 |
|
| 495 | + @pytest.mark.skipif( |
| 496 | + not is_win_platform() |
| 497 | + and not is_lts_driver(version=LTS_VERSION.V1_6) |
| 498 | + and (is_lnl() or is_bmg()), |
| 499 | + reason="SAT-8135", |
| 500 | + ) |
490 | 501 | @pytest.mark.parametrize( |
491 | 502 | "bins_count", |
492 | 503 | [10, 10**2, 10**3, 10**4, 10**5, 10**6], |
@@ -585,6 +596,12 @@ def test_weights_unsupported_dtype(self, xp, dt): |
585 | 596 | w = xp.arange(5, dtype=dt) |
586 | 597 | assert_raises((TypeError, ValueError), xp.bincount, v, weights=w) |
587 | 598 |
|
| 599 | + @pytest.mark.skipif( |
| 600 | + not is_win_platform() |
| 601 | + and not is_lts_driver(version=LTS_VERSION.V1_6) |
| 602 | + and (is_lnl() or is_bmg()), |
| 603 | + reason="SAT-8135", |
| 604 | + ) |
588 | 605 | @pytest.mark.parametrize( |
589 | 606 | "bins_count", |
590 | 607 | [10, 10**2, 10**3, 10**4, 10**5, 10**6], |
@@ -851,6 +868,12 @@ def test_weights_another_sycl_queue(self): |
851 | 868 | with assert_raises(ValueError): |
852 | 869 | dpnp.histogramdd(v, weights=w) |
853 | 870 |
|
| 871 | + @pytest.mark.skipif( |
| 872 | + not is_win_platform() |
| 873 | + and not is_lts_driver(version=LTS_VERSION.V1_6) |
| 874 | + and (is_lnl() or is_bmg()), |
| 875 | + reason="SAT-8135", |
| 876 | + ) |
854 | 877 | @pytest.mark.parametrize( |
855 | 878 | "bins_count", |
856 | 879 | [10, 10**2, 10**3, 10**4, 10**5, 10**6], |
@@ -1092,6 +1115,12 @@ def test_size_mismatch(self, xp): |
1092 | 1115 | y = xp.linspace(0.0, 1.0, num=20) |
1093 | 1116 | assert_raises(ValueError, xp.histogram2d, x, y) |
1094 | 1117 |
|
| 1118 | + @pytest.mark.skipif( |
| 1119 | + not is_win_platform() |
| 1120 | + and not is_lts_driver(version=LTS_VERSION.V1_6) |
| 1121 | + and (is_lnl() or is_bmg()), |
| 1122 | + reason="SAT-8135", |
| 1123 | + ) |
1095 | 1124 | @pytest.mark.parametrize( |
1096 | 1125 | "bins_count", |
1097 | 1126 | [10, 10**2, 10**3], |
|
0 commit comments