]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml webgpu: minor set rows optimization (#16810)
authorReese Levine <redacted>
Wed, 5 Nov 2025 09:27:42 +0000 (01:27 -0800)
committerGitHub <redacted>
Wed, 5 Nov 2025 09:27:42 +0000 (10:27 +0100)
commit03ea04175da3cdd7fd8cc1835f33490e3483928a
tree0ae3ee0389b4ec99c9838cd1ac9e567cb73f473e
parentcdabeb2c27232b5abd84210d57ac3bf33e7ebf5c
ggml webgpu: minor set rows optimization (#16810)

* Add buffer label and enable dawn-specific toggles to turn off some checks

* Minor set_rows optimization (#4)

* updated optimization, fixed errors

* non vectorized version now dispatches one thread per element

* Simplify

* Change logic for set_rows pipelines

---------

Co-authored-by: Neha Abbas <redacted>
Co-authored-by: Neha Abbas <redacted>
Co-authored-by: Reese Levine <redacted>
* Comment on dawn toggles

* Remove some comments

* Implement overlap binary operators

* Revert "Implement overlap binary operators"

This reverts commit ed710b36f51ab3f53fa13db15c1685dc8678a32a.

* Disable support for non-contiguous binary_op tensors and leave note for future support

---------

Co-authored-by: neha-ha <redacted>
Co-authored-by: Neha Abbas <redacted>
Co-authored-by: Neha Abbas <redacted>
ggml/src/ggml-webgpu/ggml-webgpu.cpp
ggml/src/ggml-webgpu/wgsl-shaders/set_rows.tmpl.wgsl [new file with mode: 0644]
ggml/src/ggml-webgpu/wgsl-shaders/set_rows.wgsl [deleted file]