News for hackers. Stuff that matters.
Re:Intel CEO: 'The entire industry is motivated to eliminate... by rbanffy on Thursday December 14, 2023 @01:54PM (#38645477)
I am unfamiliar with the implementation, but why would it be difficult to implement a Cuda-compatible software layer on top of other platforms?

This would be the first step. Then, if we want to move away from Cuda into hardware that's as ubiquitous and performant as Nvidia's (or better), someone would need to write an abstraction layer that's more convenient to use than Cuda. I did play a little bit with Cuda and OpenCL, but not enough to hate either.

Re:Intel CEO: 'The entire industry is motivated to eliminate... by pjmlp on Thursday December 14, 2023 @02:21PM (#38645929)
Because that is an herculean task, given the hardware semantics, the amount of languages that target PTX, the graphical debugging tools that expose every little detail of the cards like debugging on the CPU, and the libraries ecosystem.

Any Cuda-compatible software layer only has two options, be a second class CUDA implementation by being compatible with a subset like AMD ROCm and HIP effforts, or be compatible with everything always playing catchup.

The only way is to use middleware that just like in 3D APIs, abstract the actual compute API being used, as man language bindings are doing nowadays.

Re:Intel CEO: 'The entire industry is motivated to eliminate... by JonChesterfield on Thursday December 14, 2023 @05:34PM (#38648308)
Worth noting that cuda seems prone to using inline ptx assembly and that latter is really obnoxious to deal with on other platforms.

Implementing programming languages and runtimes is pretty difficult in general. Note that cuda doesn't have the same semantics as c++ despite looking kind of similar. Wherever you differ from expected behaviour people consider it a bug, and implementing based on cuda's docs wouldn't get you the behaviour people expect.

Pretty horrendous task overall. It would be much better for people to stop developing programs that only run on a gnarly proprietary language.

Re:Intel CEO: 'The entire industry is motivated to eliminate... by pjmlp on Friday December 15, 2023 @01:44AM (#38651656)
CUDA was redesigned to follow C++'s memory model introduced in C++11, yet another compatibility pain point with other hardware vendors.