I've never once regretted my decision to write GPU code in CUDA... I mean, I wish there were alternatives because being locked into Nvidia isn't fun, but CUDA is a great developer experience.
Re:I want to talk about WebGPU
by garbagecoder on Wednesday May 03, 2023 @03:55PM
(#35806915)
>the Dunning-Krugerrand
Stolen. Genius. You made my day.
I stole it from someone else first, and I'm sorry to say I can't remember who.
Credit where it's due, though, it's an awesome term.
* * *
> If you write your project in CUDA, you'll wish you'd used OpenCL.
Only if one is stuck in a C for GPGPUs mindset.
Re:I want to talk about WebGPU
by MobiusHorizons on Thursday May 04, 2023 @11:54AM
(#35817441)
spir-v seems to be a real option anywhere with vulkan available
Coming at it from a graphics processing perspective, working on a lot of video editing, it's annoying that just as GPUs start to become affordable as people turn their back on cryptobro idiocy and stop chasing the Dunning-Krugerrand, they've started to get expensive again because people want hardware-accelerated Eliza chatbots.
Anyway your choices for GPU computing are OpenCL and CUDA.
If you write your project in CUDA, you'll wish you'd used OpenCL.
If you write your project in OpenCL, you'll wish you'd used CUDA.