mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
prevent crash if we ever want to build without coopmat
This commit is contained in:
parent
8fb7a1c21e
commit
d3d7dae82b
1 changed files with 4 additions and 0 deletions
|
@ -2188,6 +2188,10 @@ static vk_device ggml_vk_get_device(size_t idx) {
|
||||||
device->coopmat_support = false;
|
device->coopmat_support = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(GGML_VULKAN_COOPMAT_GLSLC_SUPPORT) //prevent crash if we do a non-coopmat build
|
||||||
|
device->coopmat_support = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
std::vector<vk::QueueFamilyProperties> queue_family_props = device->physical_device.getQueueFamilyProperties();
|
std::vector<vk::QueueFamilyProperties> queue_family_props = device->physical_device.getQueueFamilyProperties();
|
||||||
|
|
||||||
// Try to find a non-graphics compute queue and transfer-focused queues
|
// Try to find a non-graphics compute queue and transfer-focused queues
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue