-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add knobs control inner dim unroll and outer dim unroll in pointwise …
…scheduler (#3275) **What's in this PR?** (1) Added two knobs to control unroll in inner dim and outer dim for pointwise scheduler (2) The original untoll knob which applies to outer dim is removed. (3) Extended test `UnrollOnTopOfVectorize` to test 8 different combinations of `vectorization`, `inner unroll`, and `outer unroll`. (4) Neither `inner unroll` nor `outer unroll` is used in the heuristics. They are always `1` unless `vectorization == 1`, in that case, `inner unroll` may be used after all SMs are used. (5) If `inner or outer unroll factor == 1`, we won't split out an additional domain with size of `1`. **Why?** These two knobs allows more performance optimizations, e.g. unroll in different dims based on broadcast dims.
- Loading branch information
Showing
5 changed files
with
117 additions
and
42 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
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