We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfc6930 commit 69965a8Copy full SHA for 69965a8
ggml/src/ggml-webgpu/ggml-webgpu.cpp
@@ -26,7 +26,7 @@
26
27
/* Constants */
28
29
-#define WEBGPU_COMMAND_SUBMIT_BATCH_SIZE 16
+#define WEBGPU_COMMAND_SUBMIT_BATCH_SIZE 1
30
#define WEBGPU_MUL_MAT_WG_SIZE 64
31
#define WEBGPU_NUM_PARAM_BUFS 100
32
#define WEBGPU_PARAMS_BUF_SIZE_BYTES 256
@@ -329,6 +329,7 @@ static void ggml_backend_webgpu_build_and_enqueue(webgpu_context &
329
ggml_backend_webgpu_submit_queue(ctx);
330
}
331
332
+ ggml_backend_webgpu_wait_on_submission(ctx);
333
334
335
static void ggml_backend_webgpu_buffer_memset(webgpu_context & ctx,
0 commit comments