News for hackers. Stuff that matters.
Re:Wayland in 2021 by solarkraft on Sunday March 14, 2021 @09:31AM (#26455245)
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?

Re:Wayland in 2021 by MaxBarraclough on Sunday March 14, 2021 @11:08AM (#26456007)
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.

Re:Wayland in 2021 by my123 on Sunday March 14, 2021 @10:55AM (#26455913)
Using Vulkan for compute is still a much worse developer experience, it isn't really a reasonable alternative.