Skip to content

Commit 9fc84dc

Browse files
authored
Remove temporary workaround in tests where "in_order" SYCL queue was used (#2528)
The PR removes temporary w/a implemented due to crash on Windows in `test_random` and `test_random_state`.
1 parent 876e940 commit 9fc84dc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

dpnp/tests/test_sycl_queue.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,7 @@ def test_random(func, args, kwargs, device, usm_type):
772772
assert device == res_array.sycl_device
773773
assert usm_type == res_array.usm_type
774774

775-
# SAT-7414: w/a to avoid crash on Windows (observing on LNL and ARL)
776-
# sycl_queue = dpctl.SyclQueue(device, property="in_order")
777-
# TODO: remove the w/a once resolved
778-
sycl_queue = dpctl.SyclQueue(device, property="enable_profiling")
775+
sycl_queue = dpctl.SyclQueue(device, property="in_order")
779776
kwargs["device"] = None
780777
kwargs["sycl_queue"] = sycl_queue
781778

@@ -814,10 +811,7 @@ def test_random_state(func, args, kwargs, device, usm_type):
814811
assert device == res_array.sycl_device
815812
assert usm_type == res_array.usm_type
816813

817-
# SAT-7414: w/a to avoid crash on Windows (observing on LNL and ARL)
818-
# sycl_queue = dpctl.SyclQueue(device, property="in_order")
819-
# TODO: remove the w/a once resolved
820-
sycl_queue = dpctl.SyclQueue(device, property="enable_profiling")
814+
sycl_queue = dpctl.SyclQueue(device, property="in_order")
821815

822816
# test with in-order SYCL queue per a device and passed as argument
823817
seed = (147, 56, 896) if device.is_cpu else 987654

0 commit comments

Comments
 (0)