Python 3.10 (venv)
Ubuntu 22.04.3 LTS
dpctl installed via pip (0.15.0)
Here is the example which seg faults:
>>> import dpctl
>>> import dpctl.tensor as dpt
>>> import numpy as np
>>> j = dpt.asarray(np.zeros((100,)))
>>> import dpctl
>>> dpctl.__version__
'0.15.0+42.g2a2c98f1f'
>>> type(j).__array_namespace__()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __array_namespace__() needs an argument
>>> type(j).__array_namespace__(type(j))
Segmentation fault (core dumped)
Its a dumb thing to query, but the fact it seg faults is not good. This likely needs to be guarded against.
Python 3.10 (venv)
Ubuntu 22.04.3 LTS
dpctl installed via pip (0.15.0)
Here is the example which seg faults:
Its a dumb thing to query, but the fact it seg faults is not good. This likely needs to be guarded against.