Skip to content

Update all dpnp tests to run on IRIS Xe #1293

Closed
@vlad-perevezentsev

Description

@vlad-perevezentsev

Most tests fail when running them on gpu device without double type support (Iris XE).
Need to update all dpnp tests to consider the specifics of this device.

test_absolute.py output example from WSL:

=short test summary info =
FAILED tests/test_absolute.py::test_absolute_float[float64] - AssertionError: 
FAILED tests/test_absolute.py::test_absolute_float_3[float64] - AssertionError: 
=2 failed, 2 passed in 0.38s =

E   AssertionError: 
E   Arrays are not equal
E   
E   Mismatched elements: 1 / 9 (11.1%)
E   Max absolute difference: 3.81469727e-07
E   Max relative difference: 4.19197485e-08
E    x: array([[2. , 3. , 9.1],
E          [2. , 5. , 2. ],
E          [1. , 2. , 5. ]])
E    y: array([[2. , 3. , 9.1],
E          [2. , 5. , 2. ],
E          [1. , 2. , 5. ]], dtype=float32)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions