0Pricing
Mojo Academy · Lesson

Combining Parallel and Vector

Stack threading on top of SIMD.

Two Kinds of Speed

SIMD packs many values into one core's instruction. Threads spread work across cores. Stacking both gives you the most. ⚡

Outer Layer: Threads

Use parallelize on the outer level so each core owns a chunk of the data. That is the coarse split across cores.

parallelize[do_chunk](workers)

All lessons in this course

  1. The parallelize Function
  2. Splitting Work into Chunks
  3. Combining Parallel and Vector
  4. Avoiding Data Races
← Back to Mojo Academy