Skip to content
Discussion options

You must be logged in to vote

Hi @lesphere

This happens deep within Dr.Jit's AD system. This is the relevant piece of code: https://github.com/mitsuba-renderer/drjit/blob/master/src/autodiff/autodiff.cpp#L237-L350. As you'll see there are two sections that handle the reduction when the source has size N and the sink has size 1.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lesphere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants