Remix.run Logo
▲ cortesoft 4 hours ago

Isn't the only reason GPUs exist is because they are better at doing parallel math?

▲cowlevel an hour ago | parent | next [-]

They were task-specific accelerators, hard-wired for 3D rendering. Limited programmability was added to reduce the insane explosion of feature-flag bits for things like lighting - instead of setting a bunch of control registers to enable say Phong shading, and requiring your card to have that specific feature, you'd write the equation for Phong shading in a handful of instructions, and it was obviously a lot more flexible.

The first years of GPGPU, when people figured out this could do maths as fast as the CPU or faster, were weird.

▲rcxdude 2 hours ago | parent | prev [-]

Yes, but for early GPUs this was very specific math: they were essentially hardware implementations of rastering algorithms and couldn't do much else. It was only a bit later in their evolution that they became programmable, and it took a while before they resembled fully programmable parallel processors instead of a graphics rendering pipeline with a few programmable bits.