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.