~/talk

Efficient Automatic Scheduling of Imaging & Vision Pipelines for the GPU

Talkat OOPSLA 2021 · 2021-10-17..10-22· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
name:Tian Jin
links:none on file
links:none on file
slides:none on file

An autoscheduler generates GPU code from Halide algorithm code by combining a two-phase search that freezes low-cost stages, hierarchical sampling that groups loop-nest structures and evaluates representatives, and memoization of partial schedules to avoid repeated work. A hybrid cost model (small neural net producing weights for hand-designed cost terms) predicts runtimes and guides a beam search over stage-by-stage scheduling. On real imaging pipelines this reduces compile/search time dramatically (average 49x, up to 530x) and finds schedules about 1.7x faster than prior automatic methods, often matching expert-tuned results.

AI-written summary · about

  1. 0:00Halide - Separate Algorithm from Schedule
  2. 1:03Halide Algorithm: 3x3 Box Blur
  3. 1:30Algorithm + Schedule = Loop Nest
  4. 1:55Different Schedule = Different Loop Nest
  5. 2:20Large Space of Schedules
  6. 2:33Key Challenges
  7. 3:16Nested Parallelism: Blocks and Threads
  8. 3:40Prior Work Doesn't Address These Challenges
  9. 3:57Key Ideas to Address Scalability
  10. 4:47Basic Overview
  11. 5:30Overview of Autoscheduler
  12. 5:40Tree Search Over Space of Schedules
  13. 5:55Learned Cost Model Guides Search
  14. 6:08Retrain Cost Model and Repeat
  15. 7:06Step 1: Where Should blury Be Computed?
  16. 7:32Step 2: How Should blury be Parallelized?
  17. 7:43Take the Best Option
  18. 7:57Take Best Option
  19. 8:09Run Cost Model
  20. 8:56Structural Similarity
  21. 9:43Freezing Unimportant Decisions
  22. 10:14Memoization
  23. 10:48Predicting Run Time
  24. 12:03Cost Model Network: Algorithm Embedding
  25. 12:14Cost Model Network: Output Coefficients
  26. 12:24Benchmark and Retrain
  27. 13:05Results - Freezing and Hierarchical Sampling
  28. 13:42Results - Applications - Geomean Speedup
  29. 14:33Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.