llama.cpp/ggml/src/ggml-webgpu
Daniel Bevenius 3b15924d71
ggml WebGPU: remove userdata from request adapter callback (#15527)
* ggml WebGPU: remove userdata from request adapter callback

This commit removes the `userdata` parameter from the WebGPU request
adapter callback in `ggml-webgpu.cpp`. Instead, the lambda function
captures the `webgpu_context` directly.

The motivation for this change is to simplify the code and improve
readability.

* inline the callback lambda into the RequestAdapter call

This commit removes the callback lambda variable and inlines it directly
into the RequestAdapter call.
2025-09-07 11:19:45 +03:00
..
wgsl-shaders ggml WebGPU: add support for quantization types (#15440) 2025-08-22 11:28:03 -07:00
CMakeLists.txt ggml WebGPU: add support for quantization types (#15440) 2025-08-22 11:28:03 -07:00
ggml-webgpu.cpp ggml WebGPU: remove userdata from request adapter callback (#15527) 2025-09-07 11:19:45 +03:00