From: GainLee Date: Sun, 17 Mar 2024 17:12:22 +0000 (+0800) Subject: ggml:fix finding transfer queue family index error (#6094) X-Git-Tag: upstream/0.0.4488~2039 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=dc0f6125487dcfbff913360f9d877bc0ccf6aa57;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml:fix finding transfer queue family index error (#6094) Co-authored-by: GainLee --- diff --git a/ggml-vulkan.cpp b/ggml-vulkan.cpp index 7cce616b..698b3149 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) {