6 ms·
Vulkan! Compute! Shaders! I hate compute-specific APIs so much. Use Vulkan!
by floatboth 5y ago
Vulkan! Compute! Shaders!
I hate compute-specific APIs so much. Use Vulkan!
- gspr 5y agoCould 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.
- ur-whale 5y ago> 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?
- gspr 5y agoIt'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)!
- floatboth 5y agoDon't try to use it directly, you need a higher level library. https://github.com/KomputeProject/kompute https://github.com/KomputeProject/kompute seems like what's taking off. There are also smaller ones like https://github.com/Glavnokoman/vuh https://github.com/Glavnokoman/vuh etc.
- gspr 5y agoDoes this mean that OpenCL is being phased out without any serious Vulkan-based replacements being actively worked on?