From 5536360816920d69b41e87f0fd50fcf6971ff0ba Mon Sep 17 00:00:00 2001 From: GainLee Date: Sat, 16 Mar 2024 09:46:45 +0800 Subject: [PATCH] ggml:fix finding transfer queue family index error --- ggml-vulkan.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ggml-vulkan.cpp b/ggml-vulkan.cpp index 7cce616ba..698b31496 100644 --- a/ggml-vulkan.cpp +++ b/ggml-vulkan.cpp @@ -710,6 +710,12 @@ static uint32_t ggml_vk_find_queue_family_index(std::vector= 0) { + return compute_index; + } + std::cerr << "ggml_vulkan: No suitable queue family index found." << std::endl; for(auto &q_family : queue_family_props) {