-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GPU] Take element type bitwidth into account with vector size. (#19987)
This is for TileAndFuse workgroup and thread distribution logic. Before this PR we only tried to vectorize to size 4 but now we vectorize to a bitWidth of 128. This can however result in no vectorization for small dimensions so the PR also introduces a fallback for smaller shapes to vector size of 4. Co-authored-by: MaheshRavishankar <[email protected]> Signed-off-by: MaheshRavishankar <[email protected]> Signed-off-by: Nirvedh <[email protected]> --------- Signed-off-by: MaheshRavishankar <[email protected]> Signed-off-by: Nirvedh <[email protected]> Co-authored-by: MaheshRavishankar <[email protected]>
- Loading branch information
1 parent
e2f3565
commit cdba184
Showing
3 changed files
with
87 additions
and
12 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