added NO_VULKAN_EXTENSIONS flag to disable dp4a and coopmat if needed

This commit is contained in:
Concedo 2025-04-03 20:51:17 +08:00
parent 07a96d63fa
commit 8c74520586
3 changed files with 11 additions and 2 deletions

View file

@ -1,9 +1,11 @@
#ifndef NO_VULKAN_EXTENSIONS
#ifndef GGML_VULKAN_COOPMAT_GLSLC_SUPPORT
#define GGML_VULKAN_COOPMAT_GLSLC_SUPPORT
#endif
#ifndef GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT
#define GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT
#endif
#endif
#include "ggml-vulkan.h"
#include <vulkan/vulkan_core.h>