Repository navigation
[Codegen] inner_tiled op: finish CPU support including scalable tiles. - #24218
Conversation
| StringRef kindNs = cast<Attribute>(getKind()).getDialect().getNamespace(); | ||
| StringRef semNs = cast<Attribute>(getSemantics()).getDialect().getNamespace(); | ||
| if (kindNs != semNs) { | ||
| return emitOpError( | ||
| llvm::formatv("kind attribute (dialect '{0}') and semantics attribute " | ||
| "(dialect '{1}') must use the same dialect namespace", | ||
| kindNs, semNs)); | ||
| } |
There was a problem hiding this comment.
I feel that we should update the doc because of the verification changes.
iree/compiler/src/iree/compiler/Codegen/Dialect/Codegen/IR/IREECodegenOps.td
Lines 357 to 384 in a5e84b5
There was a problem hiding this comment.
Completely rewritten and severely shrunk. The existing verbiage was vague, incomplete, imprecise, out of date.
| // - Otherwise, the shapes must match after dropping non-scalable unit extents | ||
| // from each side. |
There was a problem hiding this comment.
I don't follow this part. Why do we drop unit extents?
There was a problem hiding this comment.
This is just documenting the exiting behavior.
Before #22369, the verifier only matched element counts (so in particular, unit dims didn't matter, but also the rest of the shape didn't matter besides element count).
#22369 introduced a mode (non-opaque) where we actually compare the shapes. but due to complications which I don't remember, I had to back away from trying to compare exact shapes with unit dims. So, the compromise was to drop unit dims, then compare.
|
Oh, it is draft now. I'll take another look when it is ready. |
Very sorry. What happened is that my OSSCI pod disappeared under my feet as I was trying to fix this issue (a minor git rebasing issue in itself). |
d8687f0 to
74d7537
Compare
I saw the message, no worries. Take your time! |
Signed-off-by: Benoit Jacob <[email protected]> Made-with: Cursor
74d7537 to
531f8b9
Compare
@hanhanW , thanks for your patience and review comments already. This is ready for another round of review now. |
|
Thanks! I'll take a look on Monday as well 😄 |
egebeysel
left a comment
There was a problem hiding this comment.
Thanks for the patch 😄 LGTM in general! The new documentation is also a bit clearer IMO :)
hanhanW
left a comment
There was a problem hiding this comment.
Thanks a lot for refreshing the doc! LGTM.
#24218) This finishes generalizing the inner_tiled op to support CPU usage, including scalable dimensions. AI: Claude Opus 4.7 in Cursor. Signed-off-by: Benoit Jacob <[email protected]>
iree-org#24218) This finishes generalizing the inner_tiled op to support CPU usage, including scalable dimensions. AI: Claude Opus 4.7 in Cursor. Signed-off-by: Benoit Jacob <[email protected]>
This finishes generalizing the inner_tiled op to support CPU usage, including scalable dimensions.
AI: Claude Opus 4.7 in Cursor.