Hacker News new | ask | show | jobs
by solarkraft 1925 days ago
I've been told that OpenCL is in a whole different league than CUDA due to a worse API and much smaller ecosystem.

I have, however, seen attempts to use Vulkan for compute. Could that be a viable way forward?

2 comments

I'd say OpenCL is a pretty good API, it's just that because it's in C and it allows for quite fine-grain control, it takes a bit of orchestration to get anything off the ground. If you want more convenience, there are a few wrappers for it, in various languages.

It's true that its ecosystem is sadly lacking.

Using Vulkan for compute is still a much worse developer experience, it isn't really a reasonable alternative.