You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looking at the generated assembly, it shows that enzyme::autodiff is returning the value of the function in your example (not the derivative w.r.t. x):
The issue is probably due to my own inexperience.
The following snippet returns the value of the function rather than its derivative:
In contrast, the old interface behaves correctly
Any help would be appreciated ! @samuelpmish ?
P.S.
enzyme::autodiff<::enzyme::Forward>
works fine for scalar valuated functions.The text was updated successfully, but these errors were encountered: