~/talk

Mat2Stencil: A Modular Matrix-Based DSL for Explicit and Implicit Matrix-Free P...

Talkat OOPSLA 2023 · 2023-10-23..10-27· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
name:Bowen Yu
links:none on file
links:none on file
slides:none on file

Mat2Stencil is a Python-embedded DSL that turns structured sparse matrices into matrix-free generalized stencils via type-based multi-stage compilation, emitting C with OpenMP and fine-grained sync. It provides row-function sparse-matrix abstraction and automatic polyhedral dependence analysis to generate deterministic task partitioning and minimal synchronization. Four benchmarks (three NAS pseudo-apps and matrix-free HPCG) compile with 6.3% and 16.4% of original LOC and run up to 1.67× (1.03× on average) of hand-tuned code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Limitations of stencil DSLs
  3. 3:12Stencil as sparse matrices
  4. 4:39Matrix-based DSL for matrix-free
  5. 5:02Matrix construction and arithmetic
  6. 6:27Sparse matrix with row functions
  7. 7:29SADAL-style routines
  8. 8:55Code generation with type-based MSP
  9. 10:43Compile-time unresolved conditions
  10. 11:27Automatic parallelization
  11. 13:18Performance results
  12. 13:46Q&A
~/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.