arrow
返回

QuanTaichi: A Compiler for Quantized Simulations

delete2021-07-19
delete21
delete
OA
AI
Y
Yuanming Hu *
J
Jiafeng Liu
X
Xuanda Yang
M
Mingkuan Xu
Y
Ye Chow Kuang
W
Weiwei Xu
W
William T. Freeman
F
Frédo Durand
DOI:10.1145/3450626.3459671delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
High-resolution simulations can deliver great visual quality, but they are often limited by available memory, especially on GPUs. We present a compiler for physical simulation that can achieve both high performance and significantly reduced memory costs, by enabling flexible and aggressive quantization. Low-precision (quantized) numerical data types are used and packed to represent simulation states, leading to reduced memory space and bandwidth consumption. Quantized simulation allows higher resolution simulation with less memory, which is especially attractive on GPUs. Implementing a quantized simulator that has high performance and packs the data tightly for aggressive storage reduction would be extremely labor-intensive and error-prone using a traditional programming language. To make the creation of quantized simulation practical, we have developed a new set of language abstractions and a compilation system. A suite of tailored domain-specific optimizations ensure quantized simulators often run as fast as the full-precision simulators, despite the overhead of encoding-decoding the packed quantized data types. Our programming language and compiler, based on Taichi, allow developers to effortlessly switch between different full-precision and quantized simulators, to explore the full design space of quantization schemes, and ultimately to achieve a good balance between space and precision. The creation of quantized simulation with our system has large benefits in terms of memory consumption and performance, on a variety of hardware, from mobile devices to workstations with high-end GPUs. We can simulate with levels of resolution that were previously only achievable on systems with much more memory, such as multiple GPUs. For example, on a single GPU, we can simulate a Game of Life with 20 billion cells (8x compression per pixel), an Eulerian fluid system with 421 million active voxels (1.6x compression per voxel), and a hybrid Eulerian-Lagrangian elastic object simulation with 235 million particles (1.7x compression per particle). At the same time, quantized simulations create physically plausible results. Our quantization techniques are complementary to existing acceleration approaches of physical simulation: they can be used in combination with these existing approaches, such as sparse data structures, for even higher scalability and performance.
Keyword:
Domain-specific languages
GPU computing
Quantized computation
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

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

机构

T
tsinghua university
学者数:
11.9W
论文数: 10.0W
被引数: 137
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
引用论文

引用论文

A Moving Least Squares Material Point Method with Displacement Discontinuity and Two-Way Rigid Body Coupling
err2018-07-30
err181
PREAI
errHu, Yuanming; Fang, Yu; Ge, Ziheng; Qu, Ziyin; Zhu, Yixin; Pradhana, Andre; Jiang, Chenfanfu
err分享
err收藏
err分享
err收藏
Algorithm 64: Quicksort
err1961-07-01
err0
PREAI
errC. A. R. Hoare
err分享
err收藏
Multi-species simulation of porous sand and water mixtures
err2017-07-20
err78
errOAAI
errTampubolon, Andre Pradhana; Gast, Theodore; Klar, Gergely; Fu, Chuyuan; Teran, Joseph; Jiang, Chenfanfu; Museth, Ken
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收藏
An Advection-Reflection Solver for Detail-Preserving Fluid Simulation
err2018-07-30
err51
PREAI
errZehnder, Jonas; Narain, Rahul; Thomaszewski, Bernhard
err分享
err收藏
err分享
err收藏
A Massively Parallel and Scalable Multi-GPU Material Point Method一种大规模并行可扩展的多GPU材料点方法
err2020-08-12
err29
errOAAI
errWang, Xinlei; Qiu, Yuxing; Slattery, Stuart R.; Fang, Yu; Li, Minchen; Zhu, Song-Chun; Zhu, Yixin; Tang, Min; Manocha, Dinesh; Jiang, Chenfanfu
err分享
err收藏
Decoupling Algorithms from Schedules for Easy Optimization of Image Processing Pipelines
err2012-07-01
err141
errOAAI
errRagan-Kelley, Jonathan; Adams, Andrew; Paris, Sylvain; Levoy, Marc; Amarasinghe, Saman; Durand, Fredo
err分享
err收藏
学者 查看更多内容