You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've caught strange behavior that does not raise error, but produce wired results. Looks like initialization writes out of buffer.
importdpnpsize=1000_000_000a=dpnp.ones(size)
b=dpnp.ones(size)
c=dpnp.zeros(size) # this overwrites first 480 elements of b to zerosprint(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.
The text was updated successfully, but these errors were encountered:
ZzEeKkAa
changed the title
Buffer overwrite on allocation
Buffer overwrite on allocation on CPU gen11
Nov 15, 2023
ZzEeKkAa
changed the title
Buffer overwrite on allocation on CPU gen11
Buffer overwrite on allocation on CPU gen12
Nov 15, 2023
I've caught strange behavior that does not raise error, but produce wired results. Looks like initialization writes out of buffer.
Issue is reproducible on ubuntu gen9(cpu+gpu if *2), ubuntu gen11(cpu), wsl ubuntu gen12(cpu)
On windows it hangs up.
The text was updated successfully, but these errors were encountered: