-
Notifications
You must be signed in to change notification settings - Fork 20.7k
[ggml-webgpu] Implement 2D workgroups for scale, binary, and unary ops #24044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
reeselevine
merged 22 commits into
ggml-org:master
from
nikhilJain17:nikhilJain17/2d-subgroups-for-ops
Jun 8, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
df60497
Merge
nikhilJain17 5ae7583
Merge
nikhilJain17 70238e0
merge
nikhilJain17 9f9d064
Merge with master
nikhilJain17 e93b40d
Merge
nikhilJain17 52b381b
Merge
nikhilJain17 5904ae4
merge with master
nikhilJain17 ae076c0
merge with master
nikhilJain17 de413da
Merge
nikhilJain17 2c32cdc
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 19438c1
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 cf82d32
Only run webgpu CI on my fork
nikhilJain17 76662da
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 e92f013
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 931d5d1
Add webgpu only workflow
nikhilJain17 69bdd8d
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 bb6ed31
Merge branch 'master' of https://github.com/nikhilJain17/llama.cpp
nikhilJain17 33763d7
fix
nikhilJain17 d4b5e5b
Implement 2d workgroups for more operations
nikhilJain17 8c263fd
fix
nikhilJain17 3610e6b
Fix type
nikhilJain17 771a0e3
Move back to global_invocation_id
nikhilJain17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still conflicting versions of
clang-format?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, my environment (clangd 22.1.6) produces the same format changes as this PR, plus some additional format changes in this file.
@nikhilJain17 , what version of clang-format or clangd are you using? (see #23760 (comment))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on 21.1.8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! For reference, since the formatting output seems to differ slightly between versions 21 and 22, it might be good to use version 22 or later for future PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, will do