]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: Track descriptor pools/sets per-context (#14109)
authorJeff Bolz <redacted>
Wed, 11 Jun 2025 05:19:25 +0000 (00:19 -0500)
committerGitHub <redacted>
Wed, 11 Jun 2025 05:19:25 +0000 (07:19 +0200)
commit1f7d50b2936023b26eb218e944e62834b80a2ce0
treef4a9683982a866bd2cace8d2e07dada6db3c59e0
parent4c763c8d1b4d4de20bf364ec1837430783cba984
vulkan: Track descriptor pools/sets per-context (#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