Replies: 1 comment 3 replies
-
The Vulkan synchronization is currently suboptimal, since (as you noticed) each dispatch incurs a host wait via |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am porting a CUDA app to Vulkan using bgfx. I noticed (using Nsight Graphics) that there are long gaps between dispatched compute kernels. It seems that vkQueueWaitIdle is called between every compute dispatch. I am not that familiar with Vulkan but is vkQueueWaitIdle similar to cudaStreamSynchronize? In CUDA, you call cudaStreamSynchronize once at the end after dispatching multiple kernels into the stream. Could Vulkan (and bgfx) work in the same way?
Beta Was this translation helpful? Give feedback.
All reactions