From 8446b617c5b52005778a63f554c8743777f3879d Mon Sep 17 00:00:00 2001 From: Daniele <57776841+daniandtheweb@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:49:17 +0000 Subject: [PATCH] Fixed if formatting --- ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp b/ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp index 302e61cb3..569c75ad5 100644 --- a/ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp +++ b/ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp @@ -49,7 +49,9 @@ void main() { [[unroll]] for (uint idx = 0; idx < NUM_ITER; ++idx) { const uint i = gidx * NUM_ITER + idx; - if (i >= p.pelements) continue; + if (i >= p.pelements) { + continue; + } const uint kx = i / ksize; const uint ky = (i % ksize) / p.OW;