Skip to content

Wrong element copy for 2D array #1503

Description

@npolina4
importdpctl.tensorasdptx=dpt.asarray([[1, 2, 3], [6, 7, 8]])
y=dpt.asarray([4, 5])
y[1]
#out: usm_ndarray(5, dtype=int32)x[0] =y[1]
x#out: usm_ndarray([[4, 4, 4], [6, 7, 8]], dtype=int32)#expected: usm_ndarray([[5, 5, 5], [6, 7, 8]], dtype=int32)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions