Memory Management in Vulkan
summary
Explains Vulkan memory types and heaps, shows why you must not hardcode memory type indices, and recommends allocating large suballocation blocks (rule of thumb 256 MB blocks) to avoid fragmentation. Advises using the asynchronous transfer queue for host→device uploads when latency allows, notes device→device copies trade throughput for GPU contention, and warns OOM behavior varies by driver with no residency query. Presents AMD’s open source allocator VMA (MIT, single-header) and cites real-world aliasing savings of over 50%.
AI-written summary · about
