From 3e145062910d65a1eabb80f3eba52a0325bc868a Mon Sep 17 00:00:00 2001 From: Nikhil Jain Date: Fri, 30 Jan 2026 14:46:24 -0800 Subject: [PATCH] Run clang-format --- ggml/src/ggml-webgpu/ggml-webgpu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ggml/src/ggml-webgpu/ggml-webgpu.cpp b/ggml/src/ggml-webgpu/ggml-webgpu.cpp index 4997f70674..4ef50e365e 100644 --- a/ggml/src/ggml-webgpu/ggml-webgpu.cpp +++ b/ggml/src/ggml-webgpu/ggml-webgpu.cpp @@ -151,7 +151,7 @@ struct webgpu_buf_pool { // since allocating a pool per ggml buffer would consume too much memory. // 2. For the per-thread buffer pools in webgpu_context, // buffers are allocated and freed in Dawn callbacks, - // which can run on a different thread than the calling thread. + // which can run on a different thread than the calling thread. std::mutex mutex; std::condition_variable cv; @@ -291,11 +291,11 @@ struct webgpu_global_context_struct { wgpu::Device device; wgpu::Queue queue; - webgpu_capabilities capabilities; + webgpu_capabilities capabilities; // Shared buffer to move data from device to host - wgpu::Buffer get_tensor_staging_buf; + wgpu::Buffer get_tensor_staging_buf; // Global mutex for pipeline and staging buffer, will be refactored to exclude pipeline caches. - std::recursive_mutex mutex; + std::recursive_mutex mutex; webgpu_buf_pool memset_buf_pool; std::map memset_pipelines; // variant or type index