ggml/include
Reese Levine b58b95d287 ggml: Add initial WebGPU backend (llama/14521)
* Minimal setup of webgpu backend with dawn. Just prints out the adapter and segfaults

* Initialize webgpu device

* Making progress on setting up the backend

* Finish more boilerplate/utility functions

* Organize file and work on alloc buffer

* Add webgpu_context to prepare for actually running some shaders

* Work on memset and add shader loading

* Work on memset polyfill

* Implement set_tensor as webgpu WriteBuffer, remove host_buffer stubs since webgpu doesn't support it

* Implement get_tensor and buffer_clear

* Finish rest of setup

* Start work on compute graph

* Basic mat mul working

* Work on emscripten build

* Basic WebGPU backend instructions

* Use EMSCRIPTEN flag

* Work on passing ci, implement 4d tensor multiplication

* Pass thread safety test

* Implement permuting for mul_mat and cpy

* minor cleanups

* Address feedback

* Remove division by type size in cpy op

* Fix formatting and add github action workflows for vulkan and metal (m-series) webgpu backends

* Fix name

* Fix macos dawn prefix path
2025-07-19 17:47:23 +03:00
..
ggml-alloc.h ggml : upgrade init_tensor API to return a ggml_status (llama/11854) 2025-03-04 21:24:42 +02:00
ggml-backend.h vulkan: Add fusion support for RMS_NORM+MUL (llama/14366) 2025-07-01 11:52:14 +03:00
ggml-blas.h ggml : build backends as libraries (llama/10256) 2024-11-15 22:51:53 +02:00
ggml-cann.h ggml : build backends as libraries (llama/10256) 2024-11-15 22:51:53 +02:00
ggml-cpp.h ggml : fix ggml_gallocr_ptr type (#1205) 2025-04-30 15:20:40 +02:00
ggml-cpu.h ggml : add ggml_set_rows (llama/14274) 2025-07-01 11:52:14 +03:00
ggml-cuda.h ggml : build backends as libraries (llama/10256) 2024-11-15 22:51:53 +02:00
ggml-metal.h repo : update links to new url (llama/11886) 2025-02-25 13:33:09 +02:00
ggml-opencl.h Introducing experimental OpenCL backend with support for Qualcomm Adreno GPUs (llama/10693) 2024-12-17 19:23:40 +02:00
ggml-opt.h mnist: fix segmentation fault (#1227) 2025-05-19 09:33:35 +02:00
ggml-rpc.h rpc : do not wait for response when sending RPC_CMD_SET_TENSOR (llama/12943) 2025-05-01 10:39:34 +03:00
ggml-sycl.h ggml : build backends as libraries (llama/10256) 2024-11-15 22:51:53 +02:00
ggml-vulkan.h vulkan: Make Vulkan optional at runtime (#11493). (llama/11494) 2025-02-12 22:00:20 +02:00
ggml-webgpu.h ggml: Add initial WebGPU backend (llama/14521) 2025-07-19 17:47:23 +03:00
ggml.h sync : resolve conflicts (#0) 2025-07-12 16:05:00 +03:00
gguf.h GGUF: C++ refactor, backend support, misc fixes (skip) (llama/11030) 2025-01-14 09:36:36 +02:00