Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIR] Add schedule primitive TransformBlockLayout #11485

Merged
merged 2 commits into from
May 29, 2022

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented May 27, 2022

This PR added a schedule primitive transform_block_layout to transform the block items and the outer loops. It can be used to perform im2col-like transformations.

cc @spectrometerHBH @junrushao1994

@vinx13 vinx13 force-pushed the feat/transform_block_layout branch from d943104 to 936b864 Compare May 27, 2022 01:49
@wrongtest-intellif
Copy link
Contributor

Could this be used to perform implicit GEMM implementation for convolution like cutlass?

@vinx13
Copy link
Member Author

vinx13 commented May 27, 2022

Yes. We are planning to integrate this with meta schedule to perform automatic transformation to implicit gemm.

include/tvm/tir/schedule/schedule.h Outdated Show resolved Hide resolved
python/tvm/tir/schedule/schedule.py Outdated Show resolved Hide resolved
src/tir/schedule/primitive.h Show resolved Hide resolved
@vinx13 vinx13 force-pushed the feat/transform_block_layout branch from 0b987da to a82836d Compare May 27, 2022 18:36
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