Commit 11d112f
vulkan: Better thread-safety for command pools/buffers (ggml-org#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.1 parent 3539498 commit 11d112f
1 file changed
+135
-78
lines changed
0 commit comments