We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82b6dae + 1ad55f1 commit f6fd9bcCopy full SHA for f6fd9bc
tests/test_linalg.py
@@ -429,7 +429,7 @@ def test_eigh_arange(type, size):
429
430
@pytest.mark.parametrize("type", get_all_dtypes(no_bool=True, no_complex=True))
431
def test_eigvals(type):
432
- if dpctl.get_current_device_type() != dpctl.device_type.gpu:
+ if dpctl.SyclDevice().device_type != dpctl.device_type.gpu:
433
pytest.skip(
434
"eigvals function doesn't work on CPU: https://github.com/IntelPython/dpnp/issues/1005"
435
)
0 commit comments