[LinalgExt] Rename map_gather/map_scatter -> map_load/map_store#23481
Merged
Groverkss merged 2 commits intoiree-org:mainfrom Feb 24, 2026
Merged
[LinalgExt] Rename map_gather/map_scatter -> map_load/map_store#23481Groverkss merged 2 commits intoiree-org:mainfrom
Groverkss merged 2 commits intoiree-org:mainfrom
Conversation
Contributor
|
I'm happy to approve if you can point me to the discussion and the conclusion. (I'm back from vacation and slowly catching up the things.) |
Contributor
Author
Discussion: https://discord.com/channels/689900678990135345/1254843174111678555/1471278955800825959 |
kuhar
approved these changes
Feb 23, 2026
Max191
approved these changes
Feb 23, 2026
compiler/src/iree/compiler/Codegen/Dialect/GPU/IR/DerivedConfigUtils.cpp
Outdated
Show resolved
Hide resolved
hanhanW
approved these changes
Feb 24, 2026
Contributor
hanhanW
left a comment
There was a problem hiding this comment.
LGTM, thanks!
cc @Abhishek-Varma who works on map_load ops.
keshavvinayak01
approved these changes
Feb 24, 2026
6fcd0e0 to
952f416
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"gather" "scatter" are wrong names for these ops. These are just mapped load/stores.
Map Gather / Scatter do something like:
Where
funis a mapping from the iteration space to the memory domain. This is not a gather.A gather / scatter is:
The main difference is that map_gather/map_scatter define a static mapping from the iteration space to the memory domain. gather/scatter actually represent a dynamic mapping (passed as input).
The naming change is done so we can eventually have proper mapped gather / mapped scatter loads:
Allowing us to do partially statically mapped and partially dynamically mapped loads.
Co-Authored-By: Claude Opus 4.6 [email protected]