llama.mak: support building Vulkan backend#325
llama.mak: support building Vulkan backend#325Peter0x44 wants to merge 1 commit intoskeeto:masterfrom
Conversation
Requires the Vulkan SDK installed to build. It can be downloaded from: https://vulkan.lunarg.com/
|
A good talk on what to expect regarding Vulkan in llama.cpp: https://fosdem.org/2026/schedule/event/CZSPSC-llama-cpp-vulkan/ I don't love depending on the Vulkan SDK, and nothing it does is really irreplaceable, but upstream expects it, so it's what I used. |
|
to give a bit more overview of what vulkan sdk provides, just in case something is unclear. glslc - compiler for glsl -> spir-v. Vulkan does not support text shaders, it instead consumes spir-v IR at runtime. vulkan library - vulkan-1.lib import lib for vulkan-1.dll Though I have not tried to, these components could all be built and provided separately, in theory (and likely practice). Here are the official vulkan build instructions, for reference. |
Requires the Vulkan SDK installed to build.
It can be downloaded from: https://vulkan.lunarg.com/