Skip to content

Issues porting existing code to 3.6.0 #1425

Answered by rtabbara
tomas16 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tomas16 ,

An update on this — the latest Mitsuba master should have incorporated fixes to support multiple scatter calls to the same target within a symbolic loop. If you have a chance to pull the latest and try it out that would be great.

As an aside, just to highlight a potential pitfall, in evaluated mode, Dr.Jit tries to be conservative with respect to sequences of scatters to the same target to avoid write conflicts. So in particular, by default, it will evaluate the target prior to a subsequent scatter (which is why you initially encountered this bug in the symbolic scope). If you know that your write indices are independent across scatters, you use the argument mode=drjit.Reduc…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rtabbara
Comment options

rtabbara Dec 4, 2024
Collaborator

Comment options

You must be logged in to vote
4 replies
@tomas16
Comment options

@rtabbara
Comment options

@tomas16
Comment options

@rtabbara
Comment options

Answer selected by rtabbara
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