Sparsity-Specific Code Optimization using Expression Trees
Not on the map. Why?
Abstract (arXiv)
We introduce a code generator that converts unoptimized C++ code operating on sparse data into vectorized and parallel CPU or GPU kernels. Our approach unrolls the computation into a massive expression graph, performs redundant expression elimination, grouping, and then generates an architecture-specific kernel to solve the same problem, assuming that the sparsity pattern is fixed, which is a common scenario in many applications in computer graphics and scientific computing. We show that our approach scales to large problems and can achieve speedups of two orders of magnitude on CPUs and three orders of magnitude on GPUs, compared to a set of manually optimized CPU baselines. To demonstrate the practical applicability of our approach, we employ it to optimize popular algorithms with applications to physical simulation and interactive mesh deformation.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 15 Oct 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Iskra: A System for Inverse Geometry Processingcited by 0
- 2026Iskra: A System for Inverse Geometry Processing12 Feb 2026