On 29/07/2026 09:52, Richard Biener wrote:
On Wed, Jul 29, 2026 at 10:38 AM Robin Dapp <[email protected]> wrote:

Also, since scatter operations use fixed strides the question of
in-order, or not, is actually a non-issue even on GCN so we could set
the flag safely.

Consider stride 0 and stride < element size, though.  I'm currently
thinking of how/where to add the proper versioning decision for that.

Ah, that might only be an issue for riscv where we allow byte strides.
For a regular scatter with at least element stride, this would be ok I
guess.

scatter is not fixed stride but base address + vector of offsets where
offsets need not be distinct.

Sorry, I always forget that it's used primarily for fixed stride accesses, but not actually limited to that.

Andrew

Reply via email to