Skip to content
Discussion options

You must be logged in to vote

Hello @woAIxuexiSR,

You did not give much information so I am assuming that you are trying to run the latest version in JIT mode (cuda_* or llvm_* variants).
By default, Mitsuba integrators run in symbolic mode, meaning that the path tracing loop gets executed in a single kernel. A great advantage is that intermediate values can be kept in registers, without constantly writing state out to global memory & reading it back in at each bounce.
But it also means that you cannot break out of the loop mid-way to start executing PyTorch code.

You can switch from symbolic mode to wavefront mode with the following flag (I think), but you should expect a big slow-down and increased memory usage:

dr.s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by woAIxuexiSR
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