duminică, 8 mai 2011

CPU vs GPU

You may have, or may not have, noticed that sometimes, we come across the "word" "GPU". yes, it is GPU not CPU. I know the 2 latter look very similar, but the abbreviations define very different components.

CPU stands for Central Processing Unit. This guy is the one who solves all the mathematical instruction, permutations, checklists and other stuff related to math.

GPU stands for Graphical Processing Unit. This guy stays cozy on your video card. And, as you may have guessed, is  responsible for graphics generation.

Most software that require interaction with humans have a graphical interface.
This interface is generated by the GPU.
Behind that shiny looking interface lies the instructions that "make it happen". Almost every software out there is based on code that is pure mathematics. Not too complicated mathematics, basic mathematics.

Some programming languages have support for graphics. Other don't.
For instance, C and C++ are languages that speak only and only with the CPU.
others like visual C++ or C# have instructions that go to the GPU and can create a graphical interface.
Some languages talk mostly with the GPU (like HTML).

I know this isn't very detailed. But it is supposed to help you avoid the confusion between the two.
the actual job of the CPU and GPU is far, far more complicated, and probably no one is able to describe it in a single blog post. However, as time goes by, we will stumble in other functionality of these 2 again.

Niciun comentariu:

Trimiteți un comentariu