Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Vulkan! Compute! Shaders!

I hate compute-specific APIs so much. Use Vulkan!



Could you provide some pointers to where someone who's moderately familar with OpenCL should start looking to learn to do compute with Vulkan? I find the documentation quite fractured.


Don't try to use it directly, you need a higher level library.

https://github.com/KomputeProject/kompute seems like what's taking off. There are also smaller ones like https://github.com/Glavnokoman/vuh etc.


Does this mean that OpenCL is being phased out without any serious Vulkan-based replacements being actively worked on?


> I find the documentation quite fractured.

This has been my experience as well: the few Vulkan Hello, World I've seen all have a mile and half boilerplate code before you can open a window and draw an effing pixel in it.

Also, from an admittedly quick glance at Vulkan ... I haven't really seen specs for a full-fledged CUDA / OpenCL modern replacement.

Did I miss something?


It's even worse if you don't wanna draw a pixel, but rather want the compute world's equivalent of hello world (i.e. inner product)!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: