Skip to content

unexpected order of array created with reshape #693

@densmirn

Description

@densmirn

Reproducer:

>>> import dpctl.tensor as dpt
>>> a = dpt.usm_ndarray((1,))
>>> a[0] = 7
>>> b = dpt.usm_ndarray((1,))
>>> b[0] = a[0]
>>> c = dpt.reshape(b, (1,))
>>> a.flags&1
1
>>> b.flags&1
1
>>> c.flags&1
0

dpctl version:

>>> import dpctl
>>> dpctl.__version__
'0.11.0+25.g29c2cbc3'

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions