Skip to content

Commit 40d0d47

Browse files
jeffbolznvggerganov
authored andcommitted
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.
1 parent 40c6525 commit 40d0d47

File tree

1 file changed

+135
-78
lines changed

1 file changed

+135
-78
lines changed

0 commit comments

Comments
 (0)