Live data from Hacker News

A CPU that runs entirely on GPU

github.com

61–70 of 144 posts

Re: A CPU that runs entirely on GPU

#62
post #28

A fun experiment but I wonder how many out there seriously think we could ever completely rid ourselves of the CPU. It seems to be a rising sentiment. The cost of communicating information through space is dealt with in fundamentally different ways here. On the CPU it is addressed directly. The actual latency is minimized as much as possible, usually by predicting the future in various ways and keeping the spatial ex…

[deleted]

Re: A CPU that runs entirely on GPU

#63

Every clueless person who suggest that we move to GPUs entirely have zero idea how things work and basically are suggesting using lambos to plow fields and tractors to race in nascar

Bad comparison. Lambos are regularly plowing fields and they're quite good at it. https://www.lamborghini-tractors.com/en-eu/

Re: A CPU that runs entirely on GPU

#66

“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.

Please tell me what you had in mind so I can try something different!

Re: A CPU that runs entirely on GPU

#68

“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.

Please tell me what you had in mind so I can try something different!

Begin reimplementing a subleq/muxleq VM with GPU primitive commands:

https://github.com/howerj/muxleq (it has both, muxleq (multiplexed subleq, which is the same but mux'ing instructions being much faster) and subleq. As you can see the implementation it's trivial. Once it's compiled, you can run eforth, altough I run a tweked one with floats and some beter commands, edit muxleq.fth, set the float to 1 in that file with this example:

     1 constant opt.float 
The same with the classic do..loop structure from Forth, which is not enabled by default, just the weird for..next one from EForth:

     1 constant opt.control

and recompile:

     ./muxleq ./muxleq.dec  new.dec
run:

       ./muxleq new.dec
Once you have a new.dec image, you can just use that from now on.

Re: A CPU that runs entirely on GPU

#70

“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.

Is it emulating a Pentium processor? :)
Post reply on HN