webgpu : add CONV_2D_DW (depthwise conv2d) kernel#25847
Open
m1el wants to merge 3 commits into
Open
Conversation
Implement GGML_OP_CONV_2D_DW for the WebGPU backend, ported from the Vulkan backend's conv2d_dw.comp. Assisted-by: Claude Opus-4.8
yomaytk
reviewed
Jul 19, 2026
Member
|
Thanks! but we should update |
reeselevine
reviewed
Jul 20, 2026
Author
|
I did attempt updating the |
Author
|
Regenerated |
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.
Implement
GGML_OP_CONV_2D_DWfor the WebGPU backend, ported from the Vulkan backend'sconv2d_dw.comp.Assisted-by: Claude Opus-4.8
Overview
Addresses #14909
This PR implements
GGML_OP_CONV_2D_DWfor the WebGPU backend.One of my projects based on ggml requires depthwise conv2d.
It's possible to work around this by implementing this function using other primitives. Having feature parity between the backends is a better solution.
Additional information
Requirements
Claude-4.8 was used to port the shader from vulkan to wgsl.
The work performed is mostly mechanical translation from one language to another.
I have read the code and understood it. I am ready to talk about the code if need to show my understanding.