Show simple item record

dc.contributor.authorHu, Yuanming
dc.contributor.authorLiu, Jiafeng
dc.contributor.authorYang, Xuanda
dc.contributor.authorXu, Mingkuan
dc.contributor.authorKuang, Ye
dc.contributor.authorXu, Weiwei
dc.contributor.authorDai, Qiang
dc.contributor.authorFreeman, William T
dc.contributor.authorDurand, Frédo
dc.date.accessioned2022-06-17T17:57:51Z
dc.date.available2022-06-17T17:57:51Z
dc.date.issued2021
dc.identifier.urihttps://hdl.handle.net/1721.1/143474
dc.description.abstract<jats:p> 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 <jats:italic>quantization.</jats:italic> 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 <jats:italic>Taichi</jats:italic> , 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 <jats:italic>single</jats:italic> GPU, we can simulate a Game of Life with 20 billion cells (8× compression per pixel), an Eulerian fluid system with 421 million active voxels (1.6× compression per voxel), and a hybrid Eulerian-Lagrangian elastic object simulation with 235 million particles (1.7× compression per particle). At the same time, quantized simulations create physically plausible results. Our quantization techniques are <jats:italic>complementary</jats:italic> 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. </jats:p>en_US
dc.language.isoen
dc.publisherAssociation for Computing Machinery (ACM)en_US
dc.relation.isversionof10.1145/3450626.3459671en_US
dc.rightsCreative Commons Attribution 4.0 International licenseen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceACMen_US
dc.titleQuanTaichi: a compiler for quantized simulationsen_US
dc.typeArticleen_US
dc.identifier.citationHu, Yuanming, Liu, Jiafeng, Yang, Xuanda, Xu, Mingkuan, Kuang, Ye et al. 2021. "QuanTaichi: a compiler for quantized simulations." ACM Transactions on Graphics, 40 (4).
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
dc.relation.journalACM Transactions on Graphicsen_US
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/JournalArticleen_US
eprint.statushttp://purl.org/eprint/status/PeerRevieweden_US
dc.date.updated2022-06-17T17:36:00Z
dspace.orderedauthorsHu, Y; Liu, J; Yang, X; Xu, M; Kuang, Y; Xu, W; Dai, Q; Freeman, WT; Durand, Fen_US
dspace.date.submission2022-06-17T17:36:06Z
mit.journal.volume40en_US
mit.journal.issue4en_US
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record