From de7f00f31239c87d7258001b3be7005c39d05754 Mon Sep 17 00:00:00 2001 From: ligen Date: Fri, 15 Mar 2024 18:33:16 +0800 Subject: [PATCH] ggml:fix finding transfer queue family 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) {