Skip to content

Commit 377179a

Browse files
authored
Add workaround to prevent crash on Windows in internal CI/CD (#2062) (#2065)
* Add workaround to prevent crash on Windows in internal CI/CD * Updated changellog * Aplied the w/a to test_random
1 parent 7add8ff commit 377179a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ In addition, this release completes implementation of `dpnp.fft` module and adds
112112
* Resolved a possible race condition in `dpnp.inv` [#1940](https://github.com/IntelPython/dpnp/pull/1940)
113113
* Resolved an issue with failing tests for `dpnp.append` when running on a device without fp64 support [#2034](https://github.com/IntelPython/dpnp/pull/2034)
114114
* Resolved an issue with input array of `usm_ndarray` passed into `dpnp.ix_` [#2047](https://github.com/IntelPython/dpnp/pull/2047)
115+
* Added a workaround to prevent crash in tests on Windows in internal CI/CD (when running on either Lunar Lake or Arrow Lake) [#2062](https://github.com/IntelPython/dpnp/pull/2062)
115116

116117

117118
## [0.15.0] - 05/25/2024

tests/test_sycl_queue.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,10 @@ def test_random(func, kwargs, device, usm_type):
10321032
assert device == res_array.sycl_device
10331033
assert usm_type == res_array.usm_type
10341034

1035-
sycl_queue = dpctl.SyclQueue(device, property="in_order")
1035+
# SAT-7414: w/a to avoid crash on Windows (observing on LNL and ARL)
1036+
# sycl_queue = dpctl.SyclQueue(device, property="in_order")
1037+
# TODO: remove the w/a once resolved
1038+
sycl_queue = dpctl.SyclQueue(device, property="enable_profiling")
10361039
kwargs["device"] = None
10371040
kwargs["sycl_queue"] = sycl_queue
10381041

@@ -1075,7 +1078,10 @@ def test_random_state(func, args, kwargs, device, usm_type):
10751078
assert device == res_array.sycl_device
10761079
assert usm_type == res_array.usm_type
10771080

1078-
sycl_queue = dpctl.SyclQueue(device, property="in_order")
1081+
# SAT-7414: w/a to avoid crash on Windows (observing on LNL and ARL)
1082+
# sycl_queue = dpctl.SyclQueue(device, property="in_order")
1083+
# TODO: remove the w/a once resolved
1084+
sycl_queue = dpctl.SyclQueue(device, property="enable_profiling")
10791085

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

0 commit comments

Comments
 (0)