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