arrow
返回

Sparsity-Specific Code Optimization using Expression Trees

delete2022-05-13
delete4
delete
OA
AI
P
Philipp Herholz *
X
Xuan Tang
T
Teseo Schneider
S
Shoaib Kamil
D
Daniele Panozzo
O
Olga Sorkine‐Hornung
DOI:10.1145/3520484delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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 showthat 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.
Keyword:
Code optimisation
sparse computation

期刊

ACM Transactions on Graphics 封面图
ACM Transactions on Graphics
IF:
9.5
论文数:
4.8K
被引数:
3.6W

机构

N
New York University
学者数:
4.4W
论文数: 3.9W
被引数: 5.8W
U
University of Victoria
学者数:
1.0W
论文数: 1.0W
被引数: 1.5W
E
ETH Zurich
学者数:
3.0W
论文数: 2.4W
被引数: 8.4W
S
swiss federal institutes of technology domain
学者数:
9.0W
论文数: 8.0W
被引数: 163
学者 查看更多机构
引用论文

引用论文

High-field ENDOR and the sign of the hyperfine coupling
err2001-12-01
err0
PREAI
errB. Epel; P. Manikandan; P. M. H. Kroneck; D. Goldfarb
err分享
err收藏
Stereospecific synthesis of secondary allylic alcohols: selenoxide chemistry
err2002-05-01
err0
PREAI
errPhillip A. Zoretic; Robert J. Chambers; Gordon Marbury; Anthony A. Riebiro
err分享
err收藏
err分享
err收藏
Nonlinear vibration of full-filled fluid corrugated sandwich functionally graded cylindrical shells
err2020-06-17
err0
PREAI
errThi Phuong Nguyen; Trung Nguyen-Thoi; Duy Kien Tran; Duc Tuan Ho; Hoai Nam Vu
err分享
err收藏
Intra‐individual cytokine profile in peri‐implantitis and periodontitis: A cross‐sectional study
err2021-03-05
err0
errOAAI
errLeif Jansson; Anna Lundmark; Carolina Modin; Denise Abadji; Tülay Yucel‐Lindberg
err分享
err收藏
RXMesh: A GPU Mesh Data StructureRXMesh: 一种GPU网格数据结构
err2021-07-19
err9
errOAAI
errMahmoud, Ahmed H.; Porumbescu, Serban D.; Owens, John D.
err分享
err收藏
Forced Injection of a Spanwise-Inclined Jet in Supersonic Crossflow
err2024-01-01
err0
PREAI
errRobin Sebastian; Anne-Marie Schreyer
err分享
err收藏
Ebb: A DSL for Physical Simulation on CPUs and GPUs
err2016-05-02
err32
PREAI
errBernstein, Gilbert Louis; Shah, Chinmayee; Lemire, Crystal; Devito, Zachary; Fisher, Matthew; Levis, Philip; Hanrahan, Pat
err分享
err收藏
学者 查看更多内容