Closed samir-nasibli closed 1 year ago
This issue was solved by #1571
It was due to #1526 which added a new condition in def asarray
to return the input argument if dpctl returns zero copying but did not check the case when the input array is usm_ndarray
.
Thanks for creating the issue .
Description
dpnp.array returns the same object, it is expected that it will return wrapped
dpnp.ndarray
with the same __sycl_usm_arrray_interface__.Env
Python 3.10.13