KhronosGroup / Vulkan-Docs

The Vulkan API Specification and related tools
Other
2.8k stars 468 forks source link

VK_AMD_device_coherent_memory atomic operations. #2172

Open dorian-apanel-intel opened 1 year ago

dorian-apanel-intel commented 1 year ago

[VK_AMD_device_coherent_memory] @tobski

Currently I only see AMD supporting VK_AMD_device_coherent_memory extension. Is there any known limitation regarding atomic operations and hangs/pagefaults?

I'm trying to use this extension to use uncached buffer in Debug Printf to help in debugging hangs. Debug Printf uses atomics to avoid overwriting messages in buffer.

My observation on older AMD drivers was that final result was not written to memory, but it no longer appeared after driver update. However, @Tony-LunarG on the same driver is observing that final result is not written and even messages overwrite each other.

Tobski commented 1 year ago

Hi @dorian-apanel-intel - there's no known issues for it, but generally we're not going to be able to debug driver issues here. The extension is theoretically very simple in its implementation so there shouldn't be anything weird going on. I suggest raising an issue via our bug report tool, but I will see if I can get someone to look at the VVL issue you've pointed to. There are a couple of expected things that could be happening, depending on what you're doing.