File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,14 @@ def is_lts_driver(device=None):
456
456
return dev .has_aspect_gpu and "1.3" in dev .driver_version
457
457
458
458
459
+ def is_ptl (device = None ):
460
+ """
461
+ Return True if a test is running on Panther Lake with Iris Xe3 GPU device,
462
+ False otherwise.
463
+ """
464
+ return _get_dev_mask (device ) == 0xB000
465
+
466
+
459
467
def is_win_platform ():
460
468
"""
461
469
Return True if a test is running on Windows OS, False otherwise.
Original file line number Diff line number Diff line change 12
12
assert_dtype_allclose ,
13
13
generate_random_numpy_array ,
14
14
get_all_dtypes ,
15
+ is_ptl ,
15
16
numpy_version ,
16
17
)
17
18
from .third_party .cupy import testing
@@ -1161,6 +1162,7 @@ def test_large_values(self, dtype):
1161
1162
expected = numpy .matmul (a , b )
1162
1163
assert_dtype_allclose (result , expected )
1163
1164
1165
+ @pytest .mark .skipif (is_ptl (), reason = "MKLD-18712" )
1164
1166
@pytest .mark .parametrize ("dt_out" , [numpy .int32 , numpy .float32 ])
1165
1167
@pytest .mark .parametrize (
1166
1168
"shape1, shape2" ,
You can’t perform that action at this time.
0 commit comments