Skip to content

[Metaschedule, Refactor] Move MultiLevelTilingNode decl to a header#11020

Merged
masahi merged 5 commits into
apache:mainfrom
masahi:multi-level-tiling-refactor
Apr 15, 2022
Merged

[Metaschedule, Refactor] Move MultiLevelTilingNode decl to a header#11020
masahi merged 5 commits into
apache:mainfrom
masahi:multi-level-tiling-refactor

Conversation

@masahi

@masahi masahi commented Apr 15, 2022

Copy link
Copy Markdown
Member

Introduce schedule_rule/multi_level_tiling.h header and move the declaration of MultiLevelTilingNode. The purpose is to be able to extend this class so that different tiling subrules can be easily added in a derived class (e.g. for auto-tensorization).

I have an example of the derived class in https://github.com/masahi/tvm/blob/0602f4a3157d4cb5a3f280a3a3c514bb6535aac8/src/meta_schedule/schedule_rule/multi_level_tiling_with_intrin.cc#L27. It is used for VNNI, ARM and DP4A tensorization.

@jinhongyii @vinx13 @junrushao1994 @spectrometerHBH @Hzfengsy

Comment thread src/meta_schedule/schedule_rule/multi_level_tiling.cc Outdated
Comment thread src/meta_schedule/schedule_rule/multi_level_tiling.cc Outdated

@junrushao junrushao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Otherwise LGTM! Thanks for moving this around

masahi and others added 3 commits April 15, 2022 16:49
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
@masahi masahi merged commit b99a096 into apache:main Apr 15, 2022
altanh pushed a commit to altanh/tvm that referenced this pull request Apr 28, 2022
…pache#11020)

* [Metaschedule, Refactor] Move MultiLevelTilingNode decl to a header

* cpplint

* Update src/meta_schedule/schedule_rule/multi_level_tiling.cc

Co-authored-by: Junru Shao <junrushao1994@gmail.com>

* Update src/meta_schedule/schedule_rule/multi_level_tiling.cc

Co-authored-by: Junru Shao <junrushao1994@gmail.com>

* cpplint

Co-authored-by: Junru Shao <junrushao1994@gmail.com>
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