Lecture 6

Learning objectives

After this class, you should be able to:

  1. Explain the different types of memories in the CUDA memory model, and how they map to a real NVIDIA GPU.
  2. Give typical latencies for each of the memories, their scope, their lifetime, and explain which ones are cached and which ones are read only.
  3. Use shared memory to write efficient code.

Reading assignment

  1. Read Chapter 4 of Kirk and Hwu's GPU book (GPU-4 on Blackboard -- course library).

Exercises and review questions


Last modified: 29 Jan 2010