Skip to content

[CPU] Teach SplitReduction about IREE::CPU::LoweringConfigAttr. - #21391

Merged
hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:split-reduction
Jul 16, 2025
Merged

hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:split-reduction

Conversation

@hanhanW

@hanhanW hanhanW commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

The revision gets the lowering config interface and relies on the TilingConfig to get the vector reduction tile sizes.

The revision gets the lowering config interface and relies on the
`TilingConfig` to get the vector reduction tile sizes.

Signed-off-by: hanhanW <[email protected]>

@jtuyls jtuyls left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


auto maybeLoweringConfig =
getLoweringConfig<IREE::Codegen::LoweringConfigAttr>(genericOp);
auto maybeLoweringConfig = getLoweringConfig(genericOp);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use the explicit type?

Signed-off-by: hanhanW <[email protected]>
@hanhanW
hanhanW enabled auto-merge (squash) July 16, 2025 20:42
@hanhanW
hanhanW merged commit 3880ab1 into iree-org:main Jul 16, 2025
@hanhanW
hanhanW deleted the split-reduction branch July 16, 2025 21:14
IanWood1 pushed a commit to IanWood1/iree that referenced this pull request Jul 18, 2025
…-org#21391)

The revision gets the lowering config interface and relies on the
`TilingConfig` to get the vector reduction tile sizes.

---------

Signed-off-by: hanhanW <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
The revision gets the lowering config interface and relies on the
`TilingConfig` to get the vector reduction tile sizes.

---------

Signed-off-by: hanhanW <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants