]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: Track descriptor pools/sets per-context (llama/14109)
authorJeff Bolz <redacted>
Wed, 11 Jun 2025 05:19:25 +0000 (00:19 -0500)
committerGeorgi Gerganov <redacted>
Wed, 18 Jun 2025 09:40:34 +0000 (12:40 +0300)
commit40c6525517bd96a2d527617dd741043952101850
treece1e611b1416c85eb99a7d5b9ec26c0b21fae7f7
parent74c68067dcf4f0492a9971085c3a1d42e6cd1dc6
vulkan: Track descriptor pools/sets per-context (llama/14109)

Use the same descriptor set layout for all pipelines (MAX_PARAMETER_COUNT == 8)
and move it to the vk_device. Move all the descriptor pool and set tracking to
the context - none of it is specific to pipelines anymore. It has a single vector
of pools and vector of sets, and a single counter to track requests and a single
counter to track use.
ggml/src/ggml-vulkan/ggml-vulkan.cpp