0Pricing
Mojo Academy · Lesson

Searching the Parameter Space

Evaluate candidates and pick a winner.

The Space of Choices

Every combination of your knobs forms the parameter space. Searching it means trying combinations and finding which one runs fastest.

Enumerate the Candidates

First list the values each knob may take. The set of all pairings of tile and width gives the candidates to evaluate.

alias tiles = (16, 32, 64)
alias widths = (4, 8, 16)

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