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

[transform] e2e UT for packed gemm #892

Merged
merged 1 commit into from
Dec 22, 2022
Merged

Conversation

wyzero
Copy link
Collaborator

@wyzero wyzero commented Dec 21, 2022

to #787

%foreach_op = transform.structured.match ops{["scf.foreach_thread"]} in %arg1
%loop_for_outter_most_n = transform.loop.get_parent_for %4 { num_loops = 4} : (!pdl.operation) -> !pdl.operation
transform.disc.cache_read {padded} %pad_for_input at %loop_for_outter_most_n with tile_levels = [1, 1] tile_sizes = [6, 1] permutation = [0, 2, 3, 1]
transform.disc.cache_read {padded} %pad_for_weight at %foreach_op with tile_levels = [1, 1] tile_sizes = [1, 16] permutation = [2, 0, 1, 3]
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks pretty readable except for things like %2#0, one has to memorize meaning of each output.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll try to give more meaningful names to these return results in the later schedule.

Copy link
Collaborator

@qiuxiafei qiuxiafei left a comment

Choose a reason for hiding this comment

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

LGTM.

@wyzero wyzero merged commit 9b6419a into alibaba:main Dec 22, 2022
@wyzero wyzero deleted the features/wenyi_fix branch December 22, 2022 02:12
zzpmiracle pushed a commit that referenced this pull request Dec 23, 2022
zzpmiracle pushed a commit that referenced this pull request Dec 23, 2022
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