Closed andyyankai closed 1 year ago
Hi @andyyankai
Using the @wrap_ad
decorator inside a recorded loop is not (and most likely never will be) supported. In order to pass data to/form other frameworks we need to evaluate variables which breaks the entire purpose of the recorded loop where we just want to record the graph of computations.
I tried to convert a Vector3fD into TensorXf under drjit loop. However, it failed under megakernal Is there anyway I can do that(I am trying to converge to TensorXf and call warp_ad function) Here is how to reproduce
error message: Critical Dr.Jit compiler failure: jit_var_gather(): operand r40 remains dirty following evaluation!