Open MMukundi opened 2 years ago
Good catch, I think this is a bug.
Does 4*win(1,{0,0},{4,4})>> result.data();
evaluate correctly?
Oddly, 4*win(1,{0,0},{4,4})>> result.data();
correctly evaluates to 4
And what does win(1,{0,0},{4,4}) >> result.data()
return after 4*win(1,{0,0},{4,4})>> result.data();
? I'm trying to determine if temporaries are stored in the buffer underlying a window itself.
4*win(1,{0,0},{4,4}) = 4 win(1,{0,0},{4,4}) = 1 This is true whether or not there is a synchronization call between the two operations
In shared memory, data can be loaded on another process's memory without relying on synch, especially if data size is small. This is something we must poke into, as in assessing this issue.
Reproduction:
Expected behavior:
Observed behavior:
Temporary solution: