Skip to content

Commit b217cc5

Browse files
Handle TestSpacing to run on CUDA
1 parent 6f688fe commit b217cc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
get_integer_dtypes,
3131
has_support_aspect16,
3232
has_support_aspect64,
33+
is_cuda_device,
3334
)
3435
from .test_umath import (
3536
_get_numpy_arrays_1in_1out,
@@ -2129,6 +2130,9 @@ def test_basic(self, sign, dt):
21292130

21302131
@pytest.mark.parametrize("dt", get_float_dtypes())
21312132
def test_zeros(self, dt):
2133+
if is_cuda_device():
2134+
if dt is dpnp.float32:
2135+
pytest.skip("SAT-7588")
21322136
a = numpy.array([0.0, -0.0], dtype=dt)
21332137
ia = dpnp.array(a)
21342138

0 commit comments

Comments
 (0)