Open
Description
I've caught strange behavior that does not raise error, but produce wired results. Looks like initialization writes out of buffer.
import dpnp
size = 1000_000_000
a = dpnp.ones(size)
b = dpnp.ones(size)
c = dpnp.zeros(size) # this overwrites first 480 elements of b to zeros
print(b) # [0. 0. 0. ... 1. 1. 1.]
# expected [1. 1. 1. ... 1. 1. 1.]
# if we remove c allocation - everything works as expected
# if we remove a allocation - segmentation fault or IOT instruction
Issue is reproducible on ubuntu gen9(cpu+gpu if *2), ubuntu gen11(cpu), wsl ubuntu gen12(cpu)
On windows it hangs up.
Metadata
Metadata
Assignees
Labels
No labels