News for hackers. Stuff that matters.
Re:I want to talk about WebGPU by Gordonjcp on Wednesday May 03, 2023 @11:15AM (#35803391)
> unless you buy into the Nvidia / CUDA ecosystem

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.

Re:I want to talk about WebGPU by singhrac on Wednesday May 03, 2023 @03:52PM (#35806876)
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.

Re:I want to talk about WebGPU by Gordonjcp on Wednesday May 03, 2023 @04:51PM (#35807622)
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.

Re:I want to talk about WebGPU by fanf2 on Wednesday May 03, 2023 @05:39PM (#35808148)
* * *
Re:I want to talk about WebGPU by pjmlp on Thursday May 04, 2023 @03:09AM (#35812244)
> 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