Skip to content

Commit aeb4a50

Browse files
Add synchronization points to triage non-reproducible test failure in CI
1 parent 23fd986 commit aeb4a50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpctl/tests/test_usm_ndarray_manipulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,9 @@ def test_roll_out_bounds_shifts():
672672

673673
x_2d = dpt.reshape(x, (2, 2))
674674
y = dpt.roll(x_2d, np.uint64(2**63 + 1), axis=1)
675+
y.sycl_queue.wait()
675676
expected = dpt.roll(x_2d, 1, axis=1)
677+
expected.sycl_queue.wait()
676678
assert dpt.all(y == expected)
677679

678680
x_2d_empty = x_2d[:, 1:1]

0 commit comments

Comments
 (0)