Skip to content

Transpose Integration Tests - #10759

Merged
KoolJBlack merged 1 commit into
iree-org:mainfrom
KoolJBlack:transpose-test
Oct 14, 2022
Merged

KoolJBlack merged 1 commit into
iree-org:mainfrom
KoolJBlack:transpose-test

Conversation

@KoolJBlack

Copy link
Copy Markdown
Contributor

IREE transpose correctness tests for the transpose shared mem pipeline.

There are 3 tests:

  • A transpose smaller than a single workgroup
  • A transpose big enough to fill 2 full workgroups
  • A transpose only enough to fill 1.5 workgroups (unaligned)

Test input/output are simple gradients generated with numpy and hardcoded as constants.

Part of #10005

@KoolJBlack
KoolJBlack enabled auto-merge (squash) October 12, 2022 16:15
@ThomasRaoux

Copy link
Copy Markdown
Contributor

Thanks Kojo, that looks great. Could you change mhlo ops into linalg instead? That would be better as we are not really trying to test the mhlo path here. It should be a fairly simple change to do, I can help otherwise.

@KoolJBlack

Copy link
Copy Markdown
Contributor Author

Thanks Kojo, that looks great. Could you change mhlo ops into linalg instead? That would be better as we are not really trying to test the mhlo path here. It should be a fairly simple change to do, I can help otherwise.

Updated the tests.

@KoolJBlack
KoolJBlack merged commit b416bf7 into iree-org:main Oct 14, 2022
@KoolJBlack
KoolJBlack deleted the transpose-test branch October 14, 2022 19:34
PhaneeshB pushed a commit to PhaneeshB/iree that referenced this pull request Oct 31, 2022
IREE transpose correctness tests for the transpose shared mem pipeline. 

There are 3 tests: 
- A transpose smaller than a single workgroup
- A transpose big enough to fill 2 full workgroups
- A transpose only enough to fill 1.5 workgroups (unaligned)

Test input/output are simple gradients generated with numpy and
hardcoded as constants.

Part of iree-org#10005
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