0Pricing
Mojo Academy · Lesson

Locking In the Best Config

Specialize on the chosen parameters.

From Search to Setting

Once the search names a winner, you commit to it. Locking in means specializing your kernel on that exact configuration for real use.

Bake In the Values

Set the winning numbers as compile-time aliases so the compiler builds one optimized version instead of searching again at runtime.

alias best_tile = 32
alias best_width = 8

All lessons in this course

  1. What Autotuning Solves
  2. Parameterizing Tile and Width
  3. Searching the Parameter Space
  4. Locking In the Best Config
← Back to Mojo Academy