Skip to content

[spirv] Delete linalg_tile_and_fuse.mlir - #5590

Merged
antiagainst merged 1 commit into
iree-org:mainfrom
antiagainst:update-1wg-tests
Apr 23, 2021
Merged

antiagainst merged 1 commit into
iree-org:mainfrom
antiagainst:update-1wg-tests

Conversation

@antiagainst

Copy link
Copy Markdown
Member

Tests in this file are covered by other tests:

  • conv_no_padding, conv_no_padding_fusion: tile_and_vectorize_conv.mlir
  • matmul, matmul_fusion: tile_and_vectorize_matmul.mlir
  • pooling_nhwc_max, three_op_fusion: this is actually testing tiling
    among workgroups, and thus the LinalgTileAndDistributePass, which
    is to be removed. Tiling and fusion at workgroup level is done
    during dispatch region formation.

Tests in this file are covered by other tests:

- conv_no_padding, conv_no_padding_fusion: tile_and_vectorize_conv.mlir
- matmul, matmul_fusion: tile_and_vectorize_matmul.mlir
- pooling_nhwc_max, three_op_fusion: this is actually testing tiling
  among workgroups, and thus the LinalgTileAndDistributePass, which
  is to be removed. Tiling and fusion at workgroup level is done
  during dispatch region formation.

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice cleanup!

@antiagainst
antiagainst merged commit de47078 into iree-org:main Apr 23, 2021
@antiagainst
antiagainst deleted the update-1wg-tests branch April 23, 2021 17:59
@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

I wish this wasnt done. There is a TODO in that file to keep the test and make them dynamic shaped. Is there another test that subsumes this?

@antiagainst

Copy link
Copy Markdown
Member Author

I wish this wasnt done. There is a TODO in that file to keep the test and make them dynamic shaped. Is there another test that subsumes this?

My understanding is that we have quite a few dynamic shaped tests at dispatch region formation time and that covers tiling at the workgroup level. Tiling at the invocation level and vectorization is basically only enabled for ARM where we need static shapes there to have the configurations kick in. Those are checked by the tests listed in the commit message.

But given you wrote those TODOs initially, there are probably things I miss. :) I can certainly transfer those TODOs to some other tests or revert this.

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Its ok. Dont worry about it. We might be OK with usptream coverage here.

@antiagainst antiagainst linked an issue Apr 26, 2021 that may be closed by this pull request
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.

Some lit tests should be fixed when migrating to Linalg on tensors

3 participants