2323 get_float_complex_dtypes ,
2424 get_integer_float_dtypes ,
2525 has_support_aspect64 ,
26- is_cpu_device ,
26+ is_arl_or_mtl ,
27+ is_win_platform ,
2728 numpy_version ,
2829)
2930from .third_party .cupy import testing
@@ -109,6 +110,8 @@ def test_usm_ndarray_linalg_batch(func, gen_kwargs, func_kwargs):
109110 )
110111 for _ in range (2 )
111112 ]
113+ elif func == "cholesky" and is_win_platform () and is_arl_or_mtl ():
114+ pytest .skip ("SAT-8206" )
112115 else :
113116 dpt_args = [
114117 dpt .asarray (generate_random_numpy_array (shape , ** gen_kwargs ))
@@ -158,6 +161,8 @@ class TestCholesky:
158161 def test_cholesky (self , array , dtype ):
159162 a = numpy .array (array , dtype = dtype )
160163 ia = dpnp .array (a )
164+ if ia .ndim > 2 and is_win_platform () and is_arl_or_mtl ():
165+ pytest .skip ("SAT-8206" )
161166 result = dpnp .linalg .cholesky (ia )
162167 expected = numpy .linalg .cholesky (a )
163168 assert_dtype_allclose (result , expected )
@@ -177,6 +182,8 @@ def test_cholesky(self, array, dtype):
177182 @pytest .mark .parametrize ("dtype" , get_all_dtypes (no_bool = True ))
178183 def test_cholesky_upper (self , array , dtype ):
179184 ia = dpnp .array (array , dtype = dtype )
185+ if ia .ndim > 2 and is_win_platform () and is_arl_or_mtl ():
186+ pytest .skip ("SAT-8206" )
180187 result = dpnp .linalg .cholesky (ia , upper = True )
181188
182189 if ia .ndim > 2 :
@@ -219,6 +226,8 @@ def test_cholesky_upper(self, array, dtype):
219226 def test_cholesky_upper_numpy (self , array , dtype ):
220227 a = numpy .array (array , dtype = dtype )
221228 ia = dpnp .array (a )
229+ if ia .ndim > 2 and is_win_platform () and is_arl_or_mtl ():
230+ pytest .skip ("SAT-8206" )
222231 result = dpnp .linalg .cholesky (ia , upper = True )
223232 expected = numpy .linalg .cholesky (a , upper = True )
224233 assert_dtype_allclose (result , expected )
0 commit comments