Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering

被引:90
作者
Jakob, Wenzel [1 ]
Speierer, Sebastien [1 ]
Roussel, Nicolas [1 ]
Vicini, Delio [1 ]
机构
[1] Ecole Polytech Fed Lausanne EPFL, Lausanne, Switzerland
来源
ACM TRANSACTIONS ON GRAPHICS | 2022年 / 41卷 / 04期
基金
瑞士国家科学基金会;
关键词
differentiable rendering; just-in-time compilation; automatic differentiation; megakernel; GPU rendering;
D O I
10.1145/3528223.3530099
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dr.Jit is a new just-in-time compiler for physically based rendering and its derivative. Dr.Jit expedites research on these topics in two ways: first, it traces high-level simulation code (e.g., written in Python) and aggressively simplifies and specializes the resulting program representation, producing data-parallel kernels with state-of-the-art performance on CPUs and GPUs. Second, it simplifies the development of differentiable rendering algorithms. Efficient methods in this area turn the derivative of a simulation into a simulation of the derivative. Dr.Jit provides fine-grained control over the process of automatic differentiation to help with this transformation. Specialization is particularly helpful in the context of differentiation, since large parts of the simulation ultimately do not influence the computed gradients. Dr.Jit tracks data dependencies globally to find and remove redundant computation.
引用
收藏
页数:19
相关论文
共 60 条
[1]  
[Anonymous], 1989, MATH PROGRAMMING REC
[2]  
[Anonymous], 1986, P ANN C COMP GRAPH I
[3]   Unbiased Warped-Area Sampling for Differentiable Rendering [J].
Bangaru, Sai Praveen ;
Li, Tzu-Mao ;
Durand, Fredo .
ACM TRANSACTIONS ON GRAPHICS, 2020, 39 (06)
[4]  
Baydin AG, 2018, J MACH LEARN RES, V18
[5]  
Benedikt Bitterli, 2016, Rendering resources
[6]  
Bischof C., 1992, SCI PROGRAMMING-NETH, V1, P11
[7]  
Bradbury J., 2018, JAX COMPOSABLE TRANS
[8]   Brook for GPUs: Stream computing on graphics hardware [J].
Buck, I ;
Foley, T ;
Horn, D ;
Sugerman, J ;
Fatahalian, K ;
Houston, M ;
Hanrahan, P .
ACM TRANSACTIONS ON GRAPHICS, 2004, 23 (03) :777-786
[9]  
Burley B., 2012, Acm Siggraph
[10]  
Burley B., 2015, PHYS BASED SHADING T