]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: Better thread-safety for command pools/buffers (llama/14116)
authorJeff Bolz <redacted>
Wed, 11 Jun 2025 14:48:52 +0000 (09:48 -0500)
committerGeorgi Gerganov <redacted>
Wed, 18 Jun 2025 09:40:34 +0000 (12:40 +0300)
commit40d0d47cf1acf632c8d51c502555e1eb7f74bded
treec98737c5e70c7360f34014adc1a4f3af111d88e1
parent40c6525517bd96a2d527617dd741043952101850
vulkan: Better thread-safety for command pools/buffers (llama/14116)

This change moves the command pool/buffer tracking into a vk_command_pool
structure. There are two instances per context (for compute+transfer) and
two instances per device for operations that don't go through a context.
This should prevent separate contexts from stomping on each other.
ggml/src/ggml-vulkan/ggml-vulkan.cpp