Back to Topic 1.1 — Hardware and operation
1.1.3Computer Science5 flashcards

CPU vs GPU

Practice Flashcards

Flip to reveal answers
Card 1 of 51.1.3
1.1.3
Question

What is the core difference between a CPU and a GPU?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — CPU vs GPU

Sign up free to track progress and get spaced-repetition review schedules.

Card 1comparison

Question

What is the core difference between a CPU and a GPU?

Answer

A **CPU** has a few powerful cores optimised for **latency** on one stream. A **GPU** has thousands of simple cores optimised for **throughput** on many values at once.

Card 2concept

Question

Why is a GPU poor at branching?

Answer

Its cores run in **lockstep** on the same instruction, so a branch forces some to idle while the others proceed.

Card 3concept

Question

What is the test for whether a GPU will help?

Answer

**Are the operations independent?** Can they run in any order, simultaneously, without needing each other's results?

Card 4example

Question

Why does training need a GPU but inference often not?

Answer

Training is enormous **parallel matrix arithmetic** over a whole dataset. Inference is one input, one pass — small enough for a CPU or a phone.

Card 5concept

Question

Why can moving a program to a GPU make it slower?

Answer

If the work is sequential or branch-heavy it cannot parallelise, each GPU core is slower than a CPU core, and the data must be **copied there and back**.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free