Simple example of using Vulkan for GPGPU computing
Simple (but complete) example of Vulkan use for GPGPU computing. Saxpy kernel computation on 2d arrays.
Features covered:
This was an attempt to structure the Vulkan compute code in a way that would be easy to modify for each particular use case. I think I failed here so this example still sucks. But I learned while doing this and as a result there is a vuh Vulkan compute library which enables you to do the same but in (literally) 10 lines of code. You're cordially invited to use that instead.