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

@ -32,12 +32,14 @@
#endif
#define ASYNCIO_CONCURRENCY 64
#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
std::mutex lock;
std::vector<std::pair<std::string, std::string>> shader_fnames;