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
3 changes: 1 addition & 2 deletions dpnp/tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class LTS_VERSION(Enum):
V1_3 = "1.3"
V1_6 = "1.6"


Expand Down Expand Up @@ -489,7 +488,7 @@ def is_lnl(device=None):
return _get_dev_mask(device) == 0x6400


def is_lts_driver(version=LTS_VERSION.V1_3, device=None):
def is_lts_driver(version=LTS_VERSION.V1_6, device=None):
"""
Return True if a test is running on a GPU device with LTS driver version,
False otherwise.
Expand Down
15 changes: 14 additions & 1 deletion dpnp/tests/third_party/cupy/math_tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
import pytest

import dpnp as cupy
from dpnp.tests.helper import has_support_aspect64, numpy_version
from dpnp.tests.helper import (
has_support_aspect64,
is_lts_driver,
is_win_platform,
numpy_version,
)
from dpnp.tests.third_party.cupy import testing


Expand Down Expand Up @@ -113,6 +118,14 @@ def check_unary_inf_nan(self, name, xp, dtype):
@testing.for_dtypes(["e", "f", "d", "F", "D"])
@testing.numpy_cupy_array_equal()
def check_binary_nan(self, name, xp, dtype):
if (
not is_win_platform()
and not is_lts_driver()
and name == "minimum"
and dtype == numpy.float16
):
pytest.skip("GSD-12679")

a = xp.array(
[-3, numpy.nan, -1, numpy.nan, 0, numpy.nan, 2], dtype=dtype
)
Expand Down
Loading