~/talk

Vulkan Multi Threading

Talkat Khronos DevU - Korea 2016 · on Friday, 2016-10-21· [concurrency]
name:Jiho Choi
links:none on file
slides:none on file

Vulkan provides explicit thread safety in the spec and lets multiple threads build command buffers in parallel while the queue submission path remains a single, explicit Q object. Practical pattern: use per-thread command pools (one pool per thread or per thread+frame), create command buffers concurrently, then submit handles on main thread with an optional fence so the fence signals when all buffers finish and buffers can be reused. Reset pools to free memory fast, prefer round-robin reuse of buffers, avoid idle waits, and use descriptor pools per-thread or per-level for fast bulk allocation and deletion.

AI-written summary · about

  1. 0:00Introduction to presenter
  2. 1:06Single-threaded graphics API limitations
  3. 2:31Vulkan's explicit threading support
  4. 3:35Recommended threading practices
  5. 5:21Command buffer usage in Vulkan
  6. 6:27Queue object simplicity
  7. 7:11Synchronization with fences and events
  8. 7:55Multi-threaded command buffer generation
  9. 9:22Thread safety with command pools
  10. 11:50Resetting command pools efficiently
  11. 12:51Descriptor pool management
  12. 13:56Closing multi-threading session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.