Repository navigation
[GPU] Take element type bitwidth into account with vector size. - #19987
Merged
nirvedhmeshram merged 4 commits intoFeb 14, 2025
Merged
Conversation
nirvedhmeshram
requested review from
Groverkss,
MaheshRavishankar,
antiagainst,
kuhar and
qedawkins
as code owners
February 13, 2025 23:47
nirvedhmeshram
force-pushed
the
elementwise_tile_size2
branch
3 times, most recently
from
February 13, 2025 23:51
97c9fcf to
b38a7bd
Compare
Collaborator
MaheshRavishankar
left a comment
Collaborator
There was a problem hiding this comment.
Actually I meant if you can add a config test. (Note that the config test can be written with just function and dropping all the HAL interface stuff). Sorry I wasn't clear
nirvedhmeshram
force-pushed
the
elementwise_tile_size2
branch
from
February 14, 2025 03:15
56e6f82 to
10ce5c6
Compare
Co-authored-by: MaheshRavishankar <[email protected]> Signed-off-by: MaheshRavishankar <[email protected]> Signed-off-by: Nirvedh <[email protected]>
Signed-off-by: Nirvedh <[email protected]>
nirvedhmeshram
force-pushed
the
elementwise_tile_size2
branch
from
February 14, 2025 03:18
10ce5c6 to
1f23d9f
Compare
Signed-off-by: Nirvedh <[email protected]>
nirvedhmeshram
force-pushed
the
elementwise_tile_size2
branch
from
February 14, 2025 03:19
1f23d9f to
6485474
Compare
Signed-off-by: Nirvedh <[email protected]>
nirvedhmeshram
force-pushed
the
elementwise_tile_size2
branch
from
February 14, 2025 17:10
331092b to
c26d3da
Compare
nirvedhmeshram
enabled auto-merge (squash)
February 14, 2025 18:02
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
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]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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]