Parallelizing and Tuning the Core
Add threads and autotune for the machine.
From Fast to Faster
Your kernel already beats Python on one core. Now spread it across all your cores and let Mojo tune it for the machine. ⚡
Why Go Parallel
Modern CPUs have many cores sitting idle. Parallelism lets each core work on part of the data at the same time for a big speedup.
All lessons in this course
- Profiling the Python Baseline
- Rewriting the Hot Path in Mojo
- Parallelizing and Tuning the Core
- Shipping the Accelerated Project