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.
翻译:Jit博士是一个用于物理成像及其衍生物的即时新编译者。Jit博士以两种方式加快了对这些专题的研究:首先,它跟踪高级模拟代码(例如用Python书写的),并积极简化和专门由此产生的程序表述,产生数据平行内核,在CPU和GPU上产生最先进的性能。第二,它简化了可区分成像算法的开发。在这方面,有效的方法将模拟的衍生物转化为衍生物的模拟。Jit博士对自动区分过程提供了精细的控制权,以帮助这一转变。在差异方面,专业化特别有用,因为模拟的大部分最终不会影响计算出的梯度。Jit博士跟踪全球数据依赖查找和删除冗余计算。