llama.cpp
vulkan: Refactor vk_queue to use per-instance mutexes and unique handles
#23570
Merged

vulkan: Refactor vk_queue to use per-instance mutexes and unique handles #23570

winstonma
winstonma winstonma requested a review 196 days ago
github-actions github-actions added Vulkan
github-actions github-actions added ggml
jeffbolznv
winstonma
jeffbolznv
winstonma
jeffbolznv
winstonma
jeffbolznv
jeffbolznv commented on 2026-05-25
winstonma
jeffbolznv
jeffbolznv commented on 2026-05-26
winstonma
jeffbolznv
jeffbolznv commented on 2026-05-26
jeffbolznv
jeffbolznv commented on 2026-05-27
winstonma
jeffbolznv
winstonma
winstonma
jeffbolznv
jeffbolznv approved these changes on 2026-05-27
0cc4m
0cc4m commented on 2026-05-28
0cc4m
winstonma Refactor vk_queue to use per-instance mutexes and unique handles
0e6ea0f3
winstonma integrates VK_KHR_internally_synchronized_queues, abstracting the que…
6b44bfc9
winstonma fix compilation error
f45ce25e
winstonma fix duplicate pNext chain for VkPhysicalDeviceInternallySynchronizedQ…
4dd64ab2
winstonma add fallback defines for VK_KHR_internally_synchronized_queues
af7183f2
winstonma add null checks for queues in vk_device_struct destructor
0bf45e71
winstonma use unique_ptr for outer queues to enforce exclusive ownership and op…
343db0ae
winstonma use static constexpr for eInternallySynchronizedKHR
8d99722d
winstonma add lock guard to ggml_vk_create_aliased_queue for thread safety
42b53a26
winstonma initialize sync_query_features.internallySynchronizedQueues to VK_FALSE
64fc46ec
winstonma reuse sync_query_features for internallySynchronizedQueues and simpli…
a7124d5b
winstonma refactor internallySynchronizedQueues detection
aa41e5ad
winstonma fix internallySynchronizedQueues query guard
1076bdc3
winstonma use eInternallySynchronizedKHR constant
3e2d539e
winstonma fix self-referential alias for eInternallySynchronizedKHR
ad6b84df
winstonma use macro for eInternallySynchronizedKHR fallback
e079bcce
winstonma fix internallySynchronizedQueues query timing in ggml-vulkan.cpp to p…
287974ec
winstonma reset sync_query_features.pNext before reusing in device creation cha…
6f2bed05
winstonma refactor internally synchronized queues detection to use chained feat…
062e5036
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
df29150e
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
81b62728
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
51159324
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
a5af5a1b
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
3124935c
winstonma Update ggml/src/ggml-vulkan/ggml-vulkan.cpp
7c21e087
winstonma rename sync_enable_features to internally_synchronized_queues_features
979c3229
winstonma queue_flags is still computed before has_internally_synchronized_queu…
1331acec
winstonma fix trailing whitespace
ca1dab17
winstonma replace eInternallySynchronizedKHR macro with static constexpr
1c9f934f
winstonma preserve source queue semantics in single-queue aliased transfer queue
445b741f
winstonma vulkan: fix cmd_pool access via pointer for compute_queue unique_ptr
83e68f61
winstonma winstonma force pushed to 83e68f61 141 days ago
winstonma vulkan: lock queue during debug label emission when not internally sy…
d5280d46
0cc4m
0cc4m approved these changes on 2026-07-21
0cc4m 0cc4m merged f0480101 into master 137 days ago
winstonma winstonma deleted the fix-vk-queue-sharing branch 136 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone