0Pricing
Mojo Academy · Lesson

Tiling for Cache Locality

Block work to fit in cache.

The Cache Idea

The CPU keeps recently used data in a small, fast cache. Hits are quick; misses force a slow trip to main memory.

What Is Locality?

Cache locality means reusing data that is already nearby in the cache before it gets evicted to make room.

All lessons in this course

  1. Anatomy of a Compute Kernel
  2. Combining SIMD with Loops
  3. Reducing Memory Traffic
  4. Tiling for Cache Locality
← Back to Mojo Academy