Live data from Hacker News

A CPU that runs entirely on GPU

github.com

121–130 of 144 posts

Re: A CPU that runs entirely on GPU

#121

Earlier quoted context omitted.

> I wonder how many out there seriously think we could ever completely rid ourselves of the CPU. How do you class systems like the PS5 that have an APU plugged into GDDR instead of regular RAM? The primary remaining issue is the limited memory capacity. I wonder if we might see a system with GPU class HBM on the package in lieu of VRAM coupled with regular RAM on the board for the CPU portion?

I don’t think the remaining issue is memory capacity. CPUs are designed to handle nonlinear memory access and that is how all modern software targeting a CPU is written. GPUs are designed for linear memory access. These are fundamentally different access patterns the optimal solution is to have 2 distinct processing units

people say this a lot, but with little technical justification.

gpus have had cache for a long time. cpus have had simd for a long time.

it's not even true that the cpu memory interface is somehow optimized for latency - it's got bursts, for instance, a large non-sequential and out-of-page latency, and has gotten wider over time.

mostly people are just comparing the wrong things. if you want to compare a mid-hi discrete gpu with a cpu, you can't use a desktop cpu. instead use a ~100-core server chip that also has 12x64b memory interface. similar chip area, power dissipation, cost.

not the same, of course, but recognizably similar.

none of the fundamental techniques or architecture differ. just that cpus normally try to optimize for legacy code, but gpus have never done much ISA-level back-compatibility.

Re: A CPU that runs entirely on GPU

#122
post #25

Why do we call them GPUs these days? Most GPUs, sitting in racks in datacenters, aren't "processing graphics" anyhow.

General Processing Units Gross-Parallelization Units Generative Procedure Units Gratuitously Profiteering Unscrupulously

General Parallel Units

Re: A CPU that runs entirely on GPU

#124

“A CPU that runs entirely on the GPU” I imagine a carefully crafted set of programming primitives used to build up the abstraction of a CPU… “Every ALU operation is a trained neural network.” Oh… oh. Fun. Just not the type of “interesting” I was hoping for.

Get used to it. The modern day solution for everything right now is to throw AI at it. Hmmm... I need to measure this piece of wood for cutting, let me take a picture of it and see what the ai says its measurement is instead of using a measuring tape because it is faster to use the AI.

That honestly sounds great! If it works...

Re: A CPU that runs entirely on GPU

#125
The bit about multiplication being ~12x faster than addition is worth pausing on. In silicon, addition is the "easy" operation — but here the complexity hierarchy completely inverts. Makes sense once you think about it: multiplication decomposes into parallel byte-pair lookups (which neural nets handle trivially as table approximation), while addition has a sequential carry chain you can't fully parallelize away.

Funny enough, analog computing had the same inversion — a Gilbert cell does multiplication cheaply, while addition needs more complex summing circuits. Completely different path to the same result.

What I haven't seen discussed: if the whole CPU is neural nets, the execution pipeline is differentiable end-to-end. You could backprop through program execution. Useless for booting Linux, but potentially interesting for program synthesis — learning instruction sequences via gradient descent instead of search. Feels like that's the more promising research direction here than trying to make it fast.

Re: A CPU that runs entirely on GPU

#126
post #94

Earlier quoted context omitted.

> CPUs now dedicate a ton of silicon to decoding the CISC stream into RISC-y microcode. In absolute terms, this is true. But in relative terms, you're talking less than 1% of the die area on a modern, heavily cached, heavily speculative, heavily predictive CPU.

Didn't there use to be a joke about Intel being the biggest RAM manufacturer (given the amount of physical space caches take on a CPU)?

I hadn't heard that, but certainly, there must have been many times when Intel held the crown of "biggest working hunk of silicon area devoted to RAM."

Re: A CPU that runs entirely on GPU

#128
post #124

Earlier quoted context omitted.

Get used to it. The modern day solution for everything right now is to throw AI at it. Hmmm... I need to measure this piece of wood for cutting, let me take a picture of it and see what the ai says its measurement is instead of using a measuring tape because it is faster to use the AI.

That honestly sounds great! If it works...

[dead]

Re: A CPU that runs entirely on GPU

#129
post #124

Earlier quoted context omitted.

Get used to it. The modern day solution for everything right now is to throw AI at it. Hmmm... I need to measure this piece of wood for cutting, let me take a picture of it and see what the ai says its measurement is instead of using a measuring tape because it is faster to use the AI.

That honestly sounds great! If it works...

Of course it works. Make a video with the tape measure, call yourself a Creator, then you can hire real carpenters.

Re: A CPU that runs entirely on GPU

#130
post #124

Earlier quoted context omitted.

Get used to it. The modern day solution for everything right now is to throw AI at it. Hmmm... I need to measure this piece of wood for cutting, let me take a picture of it and see what the ai says its measurement is instead of using a measuring tape because it is faster to use the AI.

That honestly sounds great! If it works...

We already have this on our phones without AI. What could AI possibly bring to this?
Post reply on HN