Explain the Tensor Memory Accelerator (TMA) on Hopper GPUs and when it helps

Quick Overview

A GPU architecture question on the Tensor Memory Accelerator introduced with NVIDIA Hopper: what it does, how it differs from thread-issued loads and asynchronous copies on earlier GPUs, and how a kernel uses it. It tests knowledge of tensor descriptors, barrier-based completion, swizzling, multicast, and pipelined kernels.

Explain the Tensor Memory Accelerator (TMA) on Hopper GPUs and when it helps

Company: NVIDIA

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

You are asked about the Tensor Memory Accelerator (TMA) introduced with NVIDIA's Hopper GPU architecture: what it is, what problem it solves compared with the way earlier GPUs moved data into shared memory, and how a kernel uses it. It comes up in a short block of GPU architecture questions near the end of a technical interview. ```hint Who does the address work Compare which threads compute addresses and issue the copies for one tile before Hopper and with TMA. ``` ```hint How the consumers find out Think about how the threads that need a tile learn that an asynchronous copy into shared memory has finished. ``` ### Clarifying Questions - Should the answer cover only loads from global to shared memory, or also stores and reductions back to global memory? - Is the interviewer looking for the hardware picture and its benefits, or for the programming steps in CUDA C++ or PTX? - Should the answer compare TMA with the asynchronous copies available on Ampere and Ada GPUs? ### What a Strong Answer Covers - What TMA is, where it sits in the GPU, and which transfers it performs - How it differs from thread-issued loads and from per-thread asynchronous copies on earlier architectures - How a kernel uses it: the tensor descriptor, a single issuing thread, and barrier-based completion - Features such as multi-dimensional tiles, out-of-bounds handling, shared-memory swizzling and multicast within a cluster - Where it pays off, such as pipelined matrix-multiply and attention kernels with warp specialization, and where it does not ### Follow-up Questions - How would a kernel overlap TMA loads with tensor core computation using several shared-memory buffers? - Why does the shared-memory layout that TMA writes matter for bank conflicts and for the matrix instructions that read it? - What does multicast within a thread block cluster save, and when would you use it? - How would you use TMA to load a paged KV cache whose pages are scattered across global memory?

Overview: A GPU architecture question on the Tensor Memory Accelerator introduced with NVIDIA Hopper: what it does, how it differs from thread-issued loads and asynchronous copies on earlier GPUs, and how a kernel uses it. It tests knowledge of tensor descriptors, barrier-based completion, swizzling, multicast, and pipelined kernels.

Read the full NVIDIA Software Engineer interview experience this question came from

NVIDIA logo
NVIDIA
Nov 5, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
0
0

You are asked about the Tensor Memory Accelerator (TMA) introduced with NVIDIA's Hopper GPU architecture: what it is, what problem it solves compared with the way earlier GPUs moved data into shared memory, and how a kernel uses it. It comes up in a short block of GPU architecture questions near the end of a technical interview.

Clarifying Questions Guidance

  • Should the answer cover only loads from global to shared memory, or also stores and reductions back to global memory?
  • Is the interviewer looking for the hardware picture and its benefits, or for the programming steps in CUDA C++ or PTX?
  • Should the answer compare TMA with the asynchronous copies available on Ampere and Ada GPUs?

What a Strong Answer Covers Guidance

  • What TMA is, where it sits in the GPU, and which transfers it performs
  • How it differs from thread-issued loads and from per-thread asynchronous copies on earlier architectures
  • How a kernel uses it: the tensor descriptor, a single issuing thread, and barrier-based completion
  • Features such as multi-dimensional tiles, out-of-bounds handling, shared-memory swizzling and multicast within a cluster
  • Where it pays off, such as pipelined matrix-multiply and attention kernels with warp specialization, and where it does not

Follow-up Questions Guidance

  • How would a kernel overlap TMA loads with tensor core computation using several shared-memory buffers?
  • Why does the shared-memory layout that TMA writes matter for bank conflicts and for the matrix instructions that read it?
  • What does multicast within a thread block cluster save, and when would you use it?
  • How would you use TMA to load a paged KV cache whose pages are scattered across global memory?