diff options
author | Artem Kroviakov <71938912+akroviakov@users.noreply.github.com> | 2025-01-30 18:22:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 18:22:25 +0100 |
commit | e436bf64b50ac7f18218b8168da13176457fa3aa (patch) | |
tree | ffe9800e5ea491d7702857ab0023b0a39813b710 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4985804c0608a83f6ab017137c3d3d4f02827774 (diff) | |
download | llvm-e436bf64b50ac7f18218b8168da13176457fa3aa.zip llvm-e436bf64b50ac7f18218b8168da13176457fa3aa.tar.gz llvm-e436bf64b50ac7f18218b8168da13176457fa3aa.tar.bz2 |
[MLIR][XeGPU] Add sg_map for scatter verification (#124300)
This PR adds sg_map to the verification of scatter ops in XeGPU.
The documentation says `chunk_size: indicates the number of continuous
elements accessed for each offset`, it also mentions the fact that
scatter ops are SG-level.
Hence, if an operation is distributed to work-items, a 1-d load means a
work-item reads one element, a 2-d load means a work-item loads
`chunk-size` or second dimension of tdesc elements. The changes in this
PR reflect the documentation with the presence of sg_map attribute
(i.e., distributed case).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions