Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dpnp/tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,14 @@ def is_lts_driver(device=None):
return dev.has_aspect_gpu and "1.3" in dev.driver_version


def is_ptl(device=None):
"""
Return True if a test is running on Panther Lake with Iris Xe3 GPU device,
False otherwise.
"""
return _get_dev_mask(device) == 0xB000


def is_win_platform():
"""
Return True if a test is running on Windows OS, False otherwise.
Expand Down
2 changes: 2 additions & 0 deletions dpnp/tests/test_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
assert_dtype_allclose,
generate_random_numpy_array,
get_all_dtypes,
is_ptl,
numpy_version,
)
from .third_party.cupy import testing
Expand Down Expand Up @@ -1161,6 +1162,7 @@ def test_large_values(self, dtype):
expected = numpy.matmul(a, b)
assert_dtype_allclose(result, expected)

@pytest.mark.skipif(is_ptl(), reason="MKLD-18712")
@pytest.mark.parametrize("dt_out", [numpy.int32, numpy.float32])
@pytest.mark.parametrize(
"shape1, shape2",
Expand Down
Loading