arrow
返回

SLANG.D: Fast, Modular and Differentiable Shader Programming

delete2023-12-05
delete6
delete
OA
AI
S
Sai Praveen Bangaru *
L
Lifan Wu
J
Jacob Munkberg
G
Gilbert Bernstein
J
Jonathan Ragan‐Kelley
F
Frédo Durand
A
Aaron Lefohn
贺
贺勇 (Yong He)
DOI:10.1145/3618353delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
We introduce SLANG.D, an extension to the Slang shading language that incorporates first-class automatic differentiation support. The new shading language allows us to transform a Direct3D-based path tracer to be fully differentiable with minor modifications to existing code. SLANG.D enables a shared ecosystem between machine learning frameworks and pre-existing graphics hardware API-based rendering systems, promoting the interchange of components and ideas across these two domains. Our contributions include a differentiable type system designed to ensure type safety and semantic clarity in codebases that blend differentiable and non-differentiable code, language primitives that automatically generate both forward and reverse gradient propagation methods, and a compiler architecture that generates efficient derivative propagation shader code for graphics pipelines. Our compiler supports differentiating code that involves arbitrary control-flow, dynamic dispatch, generics and higher-order differentiation, while providing developers flexible control of checkpointing and gradient aggregation strategies for best performance. Our system allows us to differentiate an existing real-time path tracer, Falcor, with minimal change to its shader code. We show that the compiler-generated derivative kernels perform as efficiently as handwritten ones. In several benchmarks, the SLANG.D code achieves significant speedup when compared to prior automatic differentiation systems.
Keyword:
Automatic differentiation
differentiable graphics
differentiable rendering
shading language

期刊

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

机构

U
University of Washington
学者数:
8.0W
论文数: 7.0W
被引数: 12.5W
N
nvidia corporation
学者数:
767
论文数: 439
被引数: 1
University of California System 封面图
University of California System
学者数:
37.7W
论文数: 33.8W
被引数: 6.6K
U
University of California San Diego
学者数:
4.6W
论文数: 3.5W
被引数: 924
学者 查看更多机构
引用论文

引用论文

Cell recognition molecule L1 promotes embryonic stem cell differentiation through the regulation of cell surface glycosylation
err2013-10-01
err0
PREAI
errYing Li; Xiaohua Huang; Yue An; Feng Ren; Zara Zhuyun Yang; Hongmei Zhu; Lei Zhou; Xiaowen He; Melitta Schachner; Zhicheng Xiao; Keli Ma; Yali Li
err分享
err收藏
Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering
err2022-07-22
err61
errOAAI
errJakob, Wenzel; Speierer, Sebastien; Roussel, Nicolas; Vicini, Delio
err分享
err收藏
SLP2 and MIC13 synergistically coordinate MICOS assembly and crista junction formation
err2024-12-01
err0
errOAAI
errRitam Naha; Rebecca Strohm; Yulia Schaumkessel; Jennifer Urbach; Ilka Wittig; Andreas S. Reichert; Arun Kumar Kondadi; Ruchika Anand
err分享
err收藏
Rodent: Generating Renderers without Writing a Generator
err2019-07-12
err13
PREAI
errPerard-Gayot, Arsene; Membarth, Richard; Leissa, Roland; Hack, Sebastian; Slusallek, Philipp
err分享
err收藏
err分享
err收藏
Studies of enantiomerization of chiral 3,4-dihydro-1,2,4-benzothiadiazine 1,1-dioxide type compounds
err2001-01-01
err0
PREAI
errGiuseppe Cannazza; Daniela Braghiroli; Annalisa Tait; Mario Baraldi; Carlo Parenti; Wolfgang Lindner
err分享
err收藏
On the horizon of aging and physical activity research
err2020-02-01
err0
PREAI
errJennifer M. Jakobi; Jerome A. Dempsey; Ylva Hellsten; Richard Monette; Jayne M. Kalmar
err分享
err收藏
学者 查看更多内容