From e2b721db654129f6d1a4c55dbd51bb503406104b Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 28 Jun 2023 10:19:18 +0200 Subject: [PATCH] Allow vk add row --- ggml-vulkan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-vulkan.cpp b/ggml-vulkan.cpp index 15433d544..3c7beedde 100644 --- a/ggml-vulkan.cpp +++ b/ggml-vulkan.cpp @@ -366,9 +366,9 @@ void ggml_vk_abmath(kp::Sequence& seq, seq.record(mgr.algorithm({inA, inB, out}, spirv, {size}, {}, {pushConsts})); } -template +template void ggml_vk_add(Args&&... args) { - return ggml_vk_abmath<'+'>(std::forward(args)...); + return ggml_vk_abmath<'+', with_row>(std::forward(args)...); } template