-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CUDA][Schedule] Better Layout Transform Schedules (#14167)
* initial basis * Generated all the tile sizes * is this all you need? * linting lint move schedule rule to own file lint p2 layout transform fixings * forgot to forward arg * fix tests * reduce search space * lint * schedule rule documentation * add a note * fix wording * handle implicit reshape case v1 * clean up comments * address comments * testing harness * more progress on testing harness * fix case where shape changes in mod * inline after schedule genreation to help analysis * proper autoinlining INTO layout transform block to maintain extants * clean up * reindex for introducing cache block * reorganize testing * more cleanup * remove forced false * use the proper dispatcher * update test, make default schedule rule None * linting * fix mypy errors * clean up * manual test cases * manual tests * add comment, fix improper implicit reshape handling * fix * remove extra comments * more lints * refactor * remove extraneous check * lint again :/ * remove uneeded newline * remove leading spaces
- Loading branch information
1 parent
3f56a95
commit e5ae434
Showing
10 changed files
with
1,116 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
583 changes: 583 additions & 0 deletions
583
python/tvm/meta_schedule/schedule/cuda/layout_transform.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.