From a5c39143a1038f453b521c52c154ec382ffbcdfa Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 17 Apr 2025 00:21:03 +0800 Subject: [PATCH] enabled coopmat2 for the price of 7mb --- ggml/src/ggml-vulkan/ggml-vulkan.cpp | 3 +++ ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ggml/src/ggml-vulkan/ggml-vulkan.cpp b/ggml/src/ggml-vulkan/ggml-vulkan.cpp index 975e7edf5..f78424cc8 100644 --- a/ggml/src/ggml-vulkan/ggml-vulkan.cpp +++ b/ggml/src/ggml-vulkan/ggml-vulkan.cpp @@ -2,6 +2,9 @@ #ifndef GGML_VULKAN_COOPMAT_GLSLC_SUPPORT #define GGML_VULKAN_COOPMAT_GLSLC_SUPPORT #endif +#ifndef GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT +#define GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT +#endif #ifndef GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT #define GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT #endif diff --git a/ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp b/ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp index ae8810205..4be8f29ee 100644 --- a/ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp +++ b/ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp @@ -36,6 +36,9 @@ #ifndef GGML_VULKAN_COOPMAT_GLSLC_SUPPORT #define GGML_VULKAN_COOPMAT_GLSLC_SUPPORT #endif +#ifndef GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT +#define GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT +#endif #ifndef GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT #define GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT #endif