Skip to content

Commit 64ced5c

Browse files
committed
Adds test that real, imag use the same queue
1 parent 19ca014 commit 64ced5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpctl/tests/test_usm_ndarray_ctor.py

+1
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,7 @@ def test_real_imag_views():
14651465
X_scalar = dpt.usm_ndarray((), dtype="f4")
14661466
assert isinstance(X_scalar.imag, dpt.usm_ndarray)
14671467
assert not X_scalar.imag
1468+
assert X_scalar.real.sycl_queue == X_scalar.imag.sycl_queue
14681469

14691470

14701471
def test_real_imag_views_fp16():

0 commit comments

Comments
 (0)