News for hackers. Stuff that matters.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by Miraste on Tuesday August 09, 2022 @03:37PM (#32403057)
It's unfortunate, but the reality is it would take an act of god to unseat CUDA at this point.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by bobajeff on Tuesday August 09, 2022 @04:09PM (#32403557)
That or they could just open their GPU cores to direct programming instead of locking it behind some API.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by amluto on Tuesday August 09, 2022 @04:12PM (#32403592)
This depends on the degree to which the underlying hardware remains compatible across generations. nVidia can sell monster GPU systems today to run 5-year-old CUDA code faster without any recompilation or other mandatory engineering work. I don’t know whether this is possible with direct hardware access.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by PaulHoule on Tuesday August 09, 2022 @04:23PM (#32403745)
Intel's OneAPI (rebranded OpenCL) can allegedly do this.

It also claims to do this across radically different architectures like FPGA and all I can say to that is "I find that very hard to believe"

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by buildbot on Tuesday August 09, 2022 @05:56PM (#32404909)
Yeah it is in practice not really true. Maybe after hacking the code you can watch it compile for _days_ and then perform probably worse than a GPU without extreme tuning, which removes the point anyway.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by pjmlp on Wednesday August 10, 2022 @02:12AM (#32408316)
Rebranded SYCL, if it was rebranded OpenCL, it wouldn't even be worth a 2nd look.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by greenknight on Tuesday August 09, 2022 @11:51PM (#32407665)
Depends... sometimes its built specifically to kernels.

One common instance is, blender's Cycles renderer. Every time there is a new NVIDIA GPU. It needs to be recompiled to support it. Sometimes that also requires a new CUDA version to be able to do it. CUDA versions over the years have deprecated different operations and what not.

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by wmf on Tuesday August 09, 2022 @04:15PM (#32403627)
That's a "did you just tell me to go fuck myself?" solution. It didn't work for AMD and it won't work for anyone else. Developing a CUDA-to-GPU compiler and runtime stack is an immense amount of work and customers or "the community" can't afford it.

Although for completeness I'll note that Intel's GPU architecture is documented: https://01.org/linuxgraphics/documentation/hardware-specific...

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by VHRanger on Tuesday August 09, 2022 @06:45PM (#32405543)
Vulkan compute might, over time, take root.

The fact that a similar API can be used for training on servers, inference from laptops to phones, is an appealing proposition

Best part: most devices have decent vulkan drivers. Unlike openCL.

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by pjmlp on Wednesday August 10, 2022 @02:13AM (#32408323)
Only on Khronos dreams, its experience is even worse than OpenCL.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by nicoburns on Tuesday August 09, 2022 @04:22PM (#32403735)
Could Intel just implement CUDA support? That would certainly be a huge task, but Intel aren’t have the resources for that.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by Aromasin on Tuesday August 09, 2022 @06:14PM (#32405148)
Intel doesn't implement CUDA, but they're working on a CUDA to DPC++ (their parallel programming language) migration tool to make the jump less painful. I've tested some of the NVIDIA samples with it and it seems to do the vast majority of the grunt work, but there are still some sections where refactoring is required. You can find it in the OneAPI base toolkit.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by paulmd on Tuesday August 09, 2022 @04:44PM (#32404033)
The GPU Ocelot project did exactly that at one point. It's probably a legal minefield for an organized corporate entity though.

https://gpuocelot.gatech.edu/

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by TomVDB on Tuesday August 09, 2022 @06:00PM (#32404958)
One of the big attractions of CUDA is not just the core (programming, API, compiler, development tool) but also the libraries (cuDNN, FFT, cuSignal, … It’s a very long list). These libraries are usually not open source, and can thus not be recompiled even if you have core CUDA support.
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by doppioandante on Tuesday August 09, 2022 @07:12PM (#32405838)
There is ZLUDA, based on oneAPI if I recall correctly: https://github.com/vosen/ZLUDA
Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by tambourine_man on Tuesday August 09, 2022 @05:56PM (#32404910)
Unless someone beats them in the hardware front. GPUs that are 30-50% faster (or just as fast but 30-50% cheaper).

I could see Apple and AMD, working with TSMCs latest node, stepping up to the challenge.

Re:Will Intel's AXG division survive Pat Gelsinger’s axe? by ceeplusplus on Tuesday August 09, 2022 @06:13PM (#32405134)
No way 30-50% is enough. You need 2x at least, if not more. There is a deep rooted ecosystem of CUDA apps. You would need to have at least 2-3 generations of 2x lead to get people to switch.