ArticleslgStudy

computer science

Graphics processing unit

Graphics processing unit is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Graphics processing unit rather than just read about it. In short: A graphics processing unit (GPU) is a specialized electronic circuit designed for digital image processing and to accelerate computer graphics, being present either as a component on a discrete graphics card or embedded on motherboards, mobile phones, personal computers, workstations, and game consoles. GPUs are also increasingly being used for artificial intelligence (AI) processing and model training due to linear…

Graphics processing unit — main illustration
Graphics processing unit — illustration

Key takeaways

  • Graphics processing unit belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Graphics processing unit to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Graphics processing unit from memory before moving on to harder problems.

Reference excerpt

A graphics processing unit (GPU) is a specialized electronic circuit designed for digital image processing and to accelerate computer graphics, being present either as a component on a discrete graphics card or embedded on motherboards, mobile phones, personal computers, workstations, and game consoles. GPUs are also increasingly being used for artificial intelligence (AI) processing and model training due to linear algebra acceleration, which is also used extensively in graphics processing. Although there is no single definition of the term, and it may be used to describe any video display system, in modern use a GPU includes the ability to internally perform the calculations needed for various graphics tasks, like rotating and scaling 3D images, and often the additional ability to run custom programs known as shaders. This contrasts with earlier graphics controllers known as video display controllers which had no internal calculation capabilities, or blitters, which performed only basic memory movement operations. The modern GPU emerged during the 1990s, adding the ability to perform operations like drawing lines and text without CPU help, and later adding 3D functionality. Graphics functions are generally independent and this lends these tasks to being implemented on separate calculation engines. Modern GPUs include hundreds, or thousands, of calculation units. This made them useful for non-graphic calculations involving embarrassingly parallel problems due to their parallel structure. The ability of GPUs to rapidly perform vast numbers of calculations has led to their adoption in diverse fields including artificial intelligence (AI) where they excel at handling data-intensive and computationally demanding tasks. Other non-graphical uses include the training of neural networks and cryptocurrency mining.

GPU companies

Many companies have produced GPUs under a number of brand names. In 2009, Intel, Nvidia, and AMD/ATI were the market share leaders, with 49.4%, 27.8%, and 20.6% market share respectively. In addition, Matrox while originally producing custom solutions, now customizes GPUs from Intel and AMD for workstation usage. Chinese companies such as Jingjia Micro have also produced GPUs for the domestic market although in terms of worldwide sales, they lag behind market leaders.

Computational functions

Several factors of GPU construction affect the performance of the card for real-time rendering, such as the size of the connector pathways in the semiconductor device fabrication, the clock signal frequency, and the number and size of various on-chip memory caches. Performance is also affected by the number of streaming multiprocessors (SM) for NVidia GPUs, or compute units (CU) for AMD GPUs, or Xe cores for Intel Xe-based GPUs, which describe the number of on-silicon processor core units within the GPU chip that perform the core calculations, typically working in parallel with other SM/CUs on the GPU. GPU performance is typically measured in floating point operations per second (FLOPS); Modern GPUs typically deliver performance measured in teraflops (TFLOPS). This is an estimated performance measure, and should not be treated as fact, as other factors can affect actual performance. Modern GPUs also include dedicated hardware blocks for ray tracing, video encoding, and AI acceleration.

GPU forms In personal computers, there are two main forms of GPUs: dedicated graphics (also called discrete graphics) and integrated graphics (also called shared graphics solutions, integrated graphics processors (IGP), or unified memory architecture (UMA).

Dedicated graphics processing unit

Dedicated graphics processing units use on board RAM that is dedicated to the GPU rather than relying on the computer's main system memory. This RAM is usually specially selected for the expected serial workload of the graphics card, such as GDDR SDRAM. This has massive performance benefits, but the caveat of "choking" when running out of dedicated memory, worsening performance. Technologies such as Scalable Link Interface (SLI), NVLink, and CrossFire allow multiple GPUs to draw images simultaneously for a single screen, increasing the processing power available for graphics. These technologies, however, are increasingly uncommon; most games do not fully use multiple GPUs, as most users cannot afford them. Multiple GPUs are still used on supercomputers (such as in Summit); on workstations to accelerate video (processing multiple videos at once) and 3D rendering; for visual effects (VFX); general purpose graphics processing unit (GPGPU) workloads and for simulations, and in AI to expedite training, as is the case with Nvidia's lineup of DGX workstations and servers.

Integrated graphics processing unit

… excerpt ends here. Continue reading the full article.

Illustrations

Graphics processing unit: The components of a GPU.
The components of a GPU.
Graphics processing unit: The ATI HD5470 GPU (above, with copper heatpipe attached) features UVD 2.1 which enables it to decode AVC and VC-1 video formats.
The ATI HD5470 GPU (above, with copper heatpipe attached) features UVD 2.1 which enables it to decode AVC and VC-1 video formats.
Graphics processing unit: The position of an integrated GPU in a northbridge/southbridge system layout.
The position of an integrated GPU in a northbridge/southbridge system layout.
Graphics processing unit: An ASRock motherboard with integrated graphics, which has HDMI, VGA and DVI-out ports.
An ASRock motherboard with integrated graphics, which has HDMI, VGA and DVI-out ports.
Graphics processing unit: Adage Graphics terminal from 1968 brochure
Adage Graphics terminal from 1968 brochure

Worked examples

Example 1 — a first encounter with Graphics processing unit

Start with the simplest possible case. Write down what Graphics processing unit claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Graphics processing unit before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Graphics processing unit ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Graphics processing unit

In research
Graphics processing unit appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Graphics processing unit in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Graphics processing unit is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application-specific integrated circuits, Artificial intelligence, Digital electronics, so understanding it makes those chapters shorter.
In everyday life
Look for Graphics processing unit outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Graphics processing unit” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Graphics processing unit in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Graphics processing unit means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Graphics processing unit out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Graphics processing unit in simple terms?

A graphics processing unit (GPU) is a specialized electronic circuit designed for digital image processing and to accelerate computer graphics, being present either as a component on a discrete graphics card or embedded on motherboards, mobile phones, personal computers, workstations, and game cons…

Why does Graphics processing unit matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Graphics processing unit?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Graphics processing unit.

Tags

  • Application-specific integrated circuits
  • Artificial intelligence
  • Digital electronics
  • Electronic design
  • Electronic design automation
  • GPGPU libraries
  • Graphics hardware
  • Graphics processing units
  • Hardware acceleration
  • OpenCL compute devices
  • Virtual reality

Keep exploring