Repository navigation
[DT] Support partial load/store for identity encoding resolver. - #22360
Merged
Merged
Conversation
jtuyls
approved these changes
Oct 21, 2025
| // Only handle operations where the load covers the entire | ||
| // `!iree_tensor_ext.dispatch.tensor` type. | ||
| // TODO(ravishankarm): Relax this for partial loads. | ||
| if (!loadOp.isLoadOfWholeSource()) { |
Contributor
Contributor
Author
There was a problem hiding this comment.
Agree, and I plan to do that. Sorry that I forgot to mention it in a comment. :)
Contributor
Author
There was a problem hiding this comment.
TBD: point it to codebase instead of PR.
I think I can only point it to codebase after I land the padding PR. I'll be more explicit next time.
hanhanW
force-pushed
the
identity-resolver-partial-slices
branch
from
October 21, 2025 19:24
9aea095 to
f0d99de
Compare
hanhanW
requested review from
AWoloszyn,
Groverkss,
MaheshRavishankar,
antiagainst,
kuhar and
qedawkins
as code owners
October 21, 2025 19:24
hanhanW
changed the base branch from
users/hanhanW/diff-identity-resolver
to
main
October 21, 2025 19:24
hanhanW
removed request for
AWoloszyn,
Groverkss,
MaheshRavishankar,
antiagainst,
kuhar and
qedawkins
October 21, 2025 19:24
It removes the checks from MaterializeTensorExtDispatchTensorLoadOp and MaterializeTensorExtDispatchTensorStoreOp because they belong to encoding resolver implementation details. Signed-off-by: hanhanW <[email protected]>
hanhanW
force-pushed
the
identity-resolver-partial-slices
branch
from
October 21, 2025 19:25
f0d99de to
3225724
Compare
hanhanW
enabled auto-merge (squash)
October 21, 2025 19:25
hanhanW
disabled auto-merge
October 21, 2025 19:25
hanhanW
enabled auto-merge (squash)
October 21, 2025 19:26
pstarkcdpr
pushed a commit
to pstarkcdpr/iree
that referenced
this pull request
Nov 28, 2025
…-org#22360) The revision adds the support of partial load/store lowering for identity encoding resolver; it removes the checks from `MaterializeTensorExtDispatchTensorLoadOp` and `MaterializeTensorExtDispatchTensorStoreOp` because they belong to encoding resolver implementation details. The data-tiling encoding resolvers all have the check: https://github.com/iree-org/iree/blob/fcae3fcd1f5032a24ca00d913a6f026cb37edcf1/compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.h#L136-L141 The check for padding resolver: https://github.com/iree-org/iree/blob/4127b869cc72b230b56c331e53db7ca71de067b1/compiler/src/iree/compiler/Codegen/ExternalInterfaces/GPUEncodingExternalModels.cpp#L596-L603 Signed-off-by: hanhanW <[email protected]>
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.
The revision adds the support of partial load/store lowering for identity encoding resolver; it removes the checks from
MaterializeTensorExtDispatchTensorLoadOpandMaterializeTensorExtDispatchTensorStoreOpbecause they belong toencoding resolver implementation details.
The data-tiling encoding resolvers all have the check:
iree/compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.h
Lines 136 to 141 in fcae3fc
The check for padding resolver:
iree/compiler/src/iree/compiler/Codegen/ExternalInterfaces/GPUEncodingExternalModels.cpp
Lines 596 to 603 in 4127b86