Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpnp.allclose seg-faults #1215

Closed
oleksandr-pavlyk opened this issue Oct 27, 2022 · 1 comment
Closed

dpnp.allclose seg-faults #1215

oleksandr-pavlyk opened this issue Oct 27, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@oleksandr-pavlyk
Copy link
Contributor

(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
@antonwolfy
Copy link
Contributor

The issue was fixed by #1536

@antonwolfy antonwolfy self-assigned this Aug 30, 2023
@antonwolfy antonwolfy added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants