mn416 / QPULib

Language and compiler for the Raspberry Pi GPU
Other
429 stars 64 forks source link

read after write by gather/receive doesn't work #78

Open lyogavin opened 4 years ago

lyogavin commented 4 years ago

I found if I do gather/receive some ptr after just stored it, the reading would fail. Even if I call twice of store or use assign, or use flush to make sure the store is sync'ed.

If I do result = *(Ptr) it would work.

Is it intentionallly not supported or is it bug?

I tried the same code in emulate mode, it works correctly.