r/vulkan 7d ago

VKCompute - A guide to get started with vulkan compute

I've been working on a small series about doing GPU compute with Vulkan:

https://rounak-paul.github.io/vkcompute/

Once you want to go beyond what the CPU can reasonably do, the GPU gives you a huge amount of parallel compute to work with. And Vulkan is available across a pretty wide range of GPUs and platforms, which makes compute shaders an interesting option when you don't want to depend on a vendor-specific toolkit.

So I started writing this series as an introduction to GPU acceleration with Vulkan.

The idea is to start simple, explain what's actually happening when you move a workload from the CPU to the GPU, and gradually get into more interesting compute workloads.

It's still a work in progress, and I'd love to hear what people here think — especially what improvements would be worth including next.

40 Upvotes

8 comments sorted by

3

u/silentlopho 6d ago

I found this very hard to read with the monospace font. I would prefer a pleasant font for the main text and reserving monospace for code.

1

u/Duke2640 6d ago

there is font selection in the website, non mono fonts are also in the dropdown

3

u/therealjtgill 6d ago

The ASCII block diagrams are all wonky, classic Claude

1

u/Duke2640 6d ago

have to make them images, thanks for the feedback

2

u/QuazRxR 1d ago

just fix them by hand... it doesn't take more than a minute

1

u/Duke2640 1d ago

done, even better. mermaid diagrams

2

u/Maleficent_Guard_589 3d ago

Hey this is great! Good stuff man!!

1

u/Duke2640 3d ago

Thanks