ArticleslgStudy

computer science

Graphics Core Next

Graphics Core Next 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 Core Next rather than just read about it. In short: GCN (also known as Graphics Core Next) is a series of graphics processor architectures developed by AMD. GCN was introduced in 2012 as a non-VLIW redesign of AMD's TeraScale architecture.

Graphics Core Next — main illustration
Graphics Core Next — illustration

Key takeaways

  • Graphics Core Next 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 Core Next to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Graphics Core Next from memory before moving on to harder problems.

Reference excerpt

GCN (also known as Graphics Core Next) is a series of graphics processor architectures developed by AMD. GCN was introduced in 2012 as a non-VLIW redesign of AMD's TeraScale architecture.

Introduction CPUs typically expose programming models architecturally equivalent to the classic RISC pipeline where individual scalar instructions are fetched, decoded, and executed sequentially. In contrast, GPUs typically expose an explicitly data-parallel programming model. In both GCN and TeraScale, programs are organized as parallel threads, where each thread considers different elements of an input data set. Threads are executed in hardware in groups of 64 called a "wavefront". Wavefronts differ from a classic RISC pipeline in that all threads in the wavefront share a single program counter, and execute in parallel and in lock-step. The ability to issue 64 operations per instruction fetch significantly reduces area and power requirements.

History In AMD's previous TeraScale design, vector ALUs executed 16 groups of 4 scalar operations from a single wavefront per cycle. Each operation's placement within a group is determined statically, and correspond to TeraScale VLIW instruction slots. Effective utilization of all available slots in each instruction depends on a compiler's ability to find independent operations within a single wavefront. The GCN architecture removes the instruction slot concept completely: each (non-VLIW) instruction instead encodes a single operation. A single vector unit now executes 16 scalar operations from 4 different wavefronts per cycle. AMD's goal in making this change was to make the performance and occupancy of GCN dependent on wavefront-parallelism, contrast to TeraScale which is dependent on a compiler's ability to find independent operations within a single wavefront.

Instruction set The GCN instruction set is owned by AMD and was developed specifically for GPUs.

Compiler Support LLVM has code generation support for all GCN variants. Mesa uses the Mesa-internal ACO compiler for GCN code generation. GCC implements code generation for Vega and Vega 7nm. Older versions of GCC previously included code generation support for Fiji (Volcanic Islands), though this was removed in GCC 15. All other GCN variants are unsupported. GCC 10 introduced offloading via OpenMP and OpenACC.

Architecture

Command processing

Graphics Command Processor The Graphics Command Processor (GCP) is a functional unit of the GCN microarchitecture. Among other tasks, it is responsible for the handling of asynchronous shaders.

Asynchronous Compute Engine The Asynchronous Compute Engine (ACE) is a distinct functional block serving computing purposes, whose purpose is similar to that of the Graphics Command Processor.

Schedulers Since the third iteration of GCN, the hardware contains two schedulers: one to schedule "wavefronts" during shader execution (the CU Scheduler, or Compute Unit Scheduler) and the other to schedule execution of draw and compute queues. The latter helps performance by executing compute operations when the compute units (CUs) are underutilized due to graphics commands limited by fixed function pipeline speed or bandwidth. This functionality is known as Async Compute. For a given shader, the GPU drivers may also schedule instructions on the CPU to minimize latency.

Geometric processor

The geometry processor contains a Geometry Assembler, a Tesselator, and a Vertex Assembler. The Tesselator is capable of doing tessellation in hardware as defined by Direct3D 11 and OpenGL 4.6.

Compute units One compute unit (CU) combines 64 shader processors with 4 texture mapping units (TMUs). The compute units are separate from, but feed into, the render output units (ROPs). Each compute unit consists of the following:

a CU scheduler a Branch & Message Unit 4 16-lane-wide SIMD Vector Units (SIMD-VUs) 4 64 KiB vector general-purpose register (VGPR) files 1 scalar unit (SU) a 8 KiB scalar GPR file a local data share of 64 KiB 4 Texture Filter Units 16 Texture Fetch Load/Store Units a 16 KiB level 1 (L1) cache Four Compute units are wired to share a 16KiB L1 instruction cache and a 32KiB L1 data cache, both of which are read-only. A SIMD-VU operates on 16 elements at a time (per cycle), while a SU can operate on one a time (one/cycle). In addition, the SU handles some other operations, such as branching. Every SIMD-VU has some private memory where it stores its registers. There are two types of registers: scalar registers (S0, S1, etc.), which hold 4 bytes number each, and vector registers (V0, V1, etc.), which each represent a set of 64 4-byte numbers. On the vector registers, every operation is done in parallel on the 64 numbers. which correspond to 64 inputs. For example, it may work on 64 different pixels at a time (for each of them the inputs are slightly different, and thus you get slightly different color at the end). Every SIMD-VU has room for 512 scalar registers and 256 vector registers. AMD has claimed that each GCN compute unit (CU) has 64 KiB Local Data Share (LDS).

CU scheduler The CU scheduler is the hardware functional block, choosing which wavefronts the SIMD-VU executes. It picks one SIMD-VU per cycle for scheduling. This is not to be confused with other hardware or software schedulers.

… excerpt ends here. Continue reading the full article.

Illustrations

Graphics Core Next illustration
Graphics Core Next: GCN command processing: Each Asynchronous Compute Engines (ACE) can parse incoming commands and dispatch work to the Compute Units (CUs). Each ACE can manage up to 8 independent queues. The ACEs can operate in parallel with the graphics command processor and two DMA engines. The graphics command processor handles graphics queues, the ACEs handle compute queues, and the DMA engines handle copy queues. Each queue can dispatch work items without waiting for other tasks to complete, allowing independent command streams to be interleaved on the GPU's Shader.
GCN command processing: Each Asynchronous Compute Engines (ACE) can parse incoming commands and dispatch work to the Compute Units (CUs). Each ACE can manage up to 8 independent queues. The ACEs can operate in parallel with the graphics command processor and two DMA engines. The graphics command processor handles graphics queues, the ACEs handle compute queues, and the DMA engines handle copy queues. Each queue can dispatch work items without waiting for other tasks to complete, allowing independent command streams to be interleaved on the GPU's Shader.
Graphics Core Next: Geometry processor
Geometry processor
Graphics Core Next illustration
Graphics Core Next illustration

Worked examples

Example 1 — a first encounter with Graphics Core Next

Start with the simplest possible case. Write down what Graphics Core Next 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 Core Next 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 Core Next 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 Core Next

In research
Graphics Core Next 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 Core Next 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 Core Next is common in secondary-school and first-year university syllabi. It links to neighbouring topics AMD microarchitectures, Computer-related introductions in 2012, GPGPU, so understanding it makes those chapters shorter.
In everyday life
Look for Graphics Core Next 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 Core Next” →

How to study Graphics Core Next in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Graphics Core Next 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 Core Next out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Graphics Core Next in simple terms?

GCN (also known as Graphics Core Next) is a series of graphics processor architectures developed by AMD. GCN was introduced in 2012 as a non-VLIW redesign of AMD's TeraScale architecture.

Why does Graphics Core Next 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 Core Next?

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 Core Next.

Tags

  • AMD microarchitectures
  • Computer-related introductions in 2012
  • GPGPU
  • Graphics microarchitectures
  • Parallel computing

Keep exploring