diff options
| author | kapitche <kapitche@users.noreply.github.com> | 2026-11-21 22:45:31 -0500 |
|---|---|---|
| committer | kapitche <kapitche@users.noreply.github.com> | 2026-11-21 22:45:31 -0500 |
| commit | c4459ae235cd95614de8273c525b72b8c10adbb0 (patch) | |
| tree | 62db8df3494a38727be95203b9675164da073a7f /runtime/src/thread_stacks.cpp | |
| parent | 4a36bb19979b611f525d027f92e0fefad1626546 (diff) | |
vk_descriptor_bench: skip a ReBAR placement the driver won't allocate, and say why any allocation fails
On an RTX 4080 SUPER (Windows 617.14) the host_device_local placement's memory type 4
(DEVICE_LOCAL | HOST_VISIBLE | HOST_COHERENT) refuses a 160 KiB allocation with
VK_ERROR_OUT_OF_DEVICE_MEMORY. alloc_buffer_mt returned false without a word and the
placement loop exited 1, so a default run measured only the 1k table.
alloc_buffer_mt now reports the failing call and its VkResult. The optional ReBAR placement
is skipped with a note, as when no such memory type exists; a device_local or host_visible
allocation that fails is still an error, now with its reason.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions