jgbit / vuda

VUDA is a header-only library based on Vulkan that provides a CUDA Runtime API interface for writing GPU-accelerated applications.
MIT License
865 stars 35 forks source link

Use `VK_KHR_buffer_device_address` extensions? #19

Open ghost opened 3 years ago

ghost commented 3 years ago

I suggest using the real device buffer address for pointers. And use the extension VK_KHR_buffer_device_address. For passing in device, I suggest using inline uniform or push constant.

Also, I suggest using VK_KHR_workgroup_memory_explicit_layout extensions.