News for hackers. Stuff that matters.
Re:Wayland in 2021 by MaxBarraclough on Sunday March 14, 2021 @07:39AM (#26454513)
Is this due to CUDA being a technically superior product, or is it just that it's entrenched?

OpenCL/AMD is a usable and mature platform, right?

Re:Wayland in 2021 by my123 on Sunday March 14, 2021 @08:27AM (#26454754)
OpenCL as implemented by AMD is definitely not very usable.

AMD themselves aren’t really committed to OpenCL given the state of their OCL 2.x drivers and went to their own AMD-only path (ROCm/HIP), which is broken... (and only supported on a single gen of customer GPUs today, Vega) It doesn’t even work on RDNA or RDNA2 officially today.

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.