You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(dppy_stack) opavlyk@opavlyk-mobl:~/repos/test_cfd_poc$ ipython
Python 3.9.10 (main, Mar 2 2022, 12:02:00)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import dpnp
In [2]: X = dpnp.ones(100, dtype='f4')
In [3]: Y = dpnp.ones(100, dtype='f4')
In [4]: X.sycl_queue, Y.sycl_queue
Out[4]: (<dpctl.SyclQueue at 0x7f8ba7d88600>, <dpctl.SyclQueue at 0x7f8ba7d88600>)
In [5]: X.sycl_device, Y.sycl_device
Out[5]:
(<dpctl.SyclDevice [backend_type.level_zero, device_type.gpu, Intel(R) Graphics [0x9a49]] at 0x7f8bf5d181b0>,
<dpctl.SyclDevice [backend_type.level_zero, device_type.gpu, Intel(R) Graphics [0x9a49]] at 0x7f8bf5d181b0>)
In [6]: dpnp.allclose(X, Y)
Aborted
(dppy_stack) opavlyk@opavlyk-mobl:~/repos/test_cfd_poc$
Using
(dppy_stack) opavlyk@opavlyk-mobl:~/repos/test_cfd_poc$ conda list dpnp
# packages in environment at /home/opavlyk/miniconda3/envs/dppy_stack:
#
# Name Version Build Channel
dpnp 0.10.2 py39h2bc3f7f_7 dppy/label/dev
The text was updated successfully, but these errors were encountered:
Using
The text was updated successfully, but these errors were encountered: