]> git.djapps.eu Git - pkg/ggml/sources/ggml/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 07:21:15 +0000 (10:21 +0300)
commitc2d529a54b24aedfd4a99160bbe111c3b8ed72b2
tree9f989ae3772d74e12cf29a0be2a2ec9fe6ed873a
parentaed45ec02df4dd6839970e8faa77059f2430aa13
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.
src/ggml-vulkan/ggml-vulkan.cpp