Commit ff45dbd
Unwrap AutoSpecializeCallable for Enzyme in JacobianOperator path
The previous commit only unwrapped for the concrete Jacobian path
(DI.prepare_jacobian/DI.jacobian). This extends the fix to the
JacobianOperator path used by Krylov solvers (GMRES, etc.) and
backslash with concrete_jac=false.
When Enzyme is used for JVP/VJP autodiff, create a modified problem
with the raw user function so SciMLJacobianOperators' DI.pushforward!/
DI.pullback! calls don't go through FunctionWrappers' llvmcall.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b6917fb commit ff45dbd
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
| |||
0 commit comments