Skip to content

Restructure e2e/tests and add tests. - #3902

Merged
hanhanW merged 3 commits into
iree-org:mainfrom
hanhanW:test-cleanup
Nov 19, 2020
Merged

hanhanW merged 3 commits into
iree-org:mainfrom
hanhanW:test-cleanup

Conversation

@hanhanW

@hanhanW hanhanW commented Nov 18, 2020

Copy link
Copy Markdown
Contributor
  • Make xla_ops only tests individual ops in the XLA HLO dialect.
  • Move slice_add.mlir to structural because we intend to test the fusion
    functionality.
  • Add more tests to slice_add.mlir

- Make xla_ops only tests individual ops in the XLA HLO dialect.
- Move slice_add.mlir to structural because we intend to test the fusion
  functionality.
- Add more tests to slice_add.mlir

@MaheshRavishankar MaheshRavishankar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks fine to me, but I dont have enough context on these. APproving without knowing much

@hanhanW

hanhanW commented Nov 18, 2020

Copy link
Copy Markdown
Contributor Author

Looks fine to me, but I dont have enough context on these. APproving without knowing much

I was thinking to let you and @antiagainst take a look at the added tests and a way to test a manual fuse op (using flow.dispatch.region). And let @GMNGeoffrey take a look at if this directory structure is reasonable while we worked together on moving e2e/xla_ops to the check framework.

@GMNGeoffrey GMNGeoffrey 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.

LGTM for the structure. I believe the documentation indicates that xla_ops tests should only be tests of individual XLA Ops.

@hanhanW
hanhanW merged commit 4c28662 into iree-org:main Nov 19, 2020
@hanhanW
hanhanW deleted the test-cleanup branch November 19, 2020 07:47
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