Skip to content

Conversation

@Lunderberg
Copy link
Contributor

This is a follow-up from #11330. I really like the functionality that it adds (simplification of transformed indices based on BlockNode iteration variables), and would like to expose the functionality for use elsewhere as well.

Simplifications done when applying a transformation may require
iteration bounds from the caller scope.  This is a C++ only feature,
because `arith::Analyzer` doesn't inherit from `ObjectRef`, and cannot
be passed through the FFI.
Avoid needing to simplify twice, now that IndexMap can accept the
analyzer from the calling scope.
@Lunderberg Lunderberg requested review from masahi and vinx13 May 17, 2022 16:07
@masahi masahi self-assigned this May 17, 2022
@Lunderberg Lunderberg force-pushed the layout_transform_extract_functionality branch from 960415e to 0466426 Compare May 17, 2022 20:12
@masahi
Copy link
Member

masahi commented May 17, 2022

@Lunderberg The same error happening twice, maybe it is real? Not the same, but failed for a similar reason apparently.

@Lunderberg
Copy link
Contributor Author

Looks like it's a timeout, with both instances being terminated after around 2h08m. Looks like there's some bumps to the timeout during investigation.

Iteration variables defined in `BlockNode::iter_vars` may be useful
for simplifications.  This functionality was extracted from
`TransformLayoutRewriter`.
@Lunderberg Lunderberg force-pushed the layout_transform_extract_functionality branch from 0466426 to 6620f03 Compare May 18, 2022 13:40
@Lunderberg
Copy link
Contributor Author

Bumped CI to restart, after #11350 merged.

@csullivan csullivan merged commit fe1090e into apache:main May 18, 2022
@csullivan
Copy link
Contributor

Thanks @Lunderberg @masahi, this is merged.

@Lunderberg Lunderberg deleted the layout_transform_extract_functionality branch May 18, 2022 16:48
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.

3 participants