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
@wsmoses , this is on the origin/gsl branch which I am attempting to verify with the following test case.
Note: this is likely to be "operator error" in that I am using Enzyme incorrectly, but I am still reporting it as a "bug" in that it should refuse to compile rather than cause a crash at runtime.
Removing the __enzyme_autodiff call makes the code work as expected (obviously without the wanted results 🤣 )
Running the print option with make debug provides the following, which I am not fluent enough yet to understand deeply enough to grasp what the problem might be.
@wsmoses , this is on the
origin/gsl
branch which I am attempting to verify with the following test case.Note: this is likely to be "operator error" in that I am using Enzyme incorrectly, but I am still reporting it as a "bug" in that it should refuse to compile rather than cause a crash at runtime.
following the footsteps of #792 (comment)
To compile, I use the following Makefile
Running the test code prints everything, but segfaults (and hence finishes with exit code 139, despite the "return 0")
Removing the
__enzyme_autodiff
call makes the code work as expected (obviously without the wanted results 🤣 )Running the print option with
make debug
provides the following, which I am not fluent enough yet to understand deeply enough to grasp what the problem might be.Replacing
print
withprint-activity
yields:The text was updated successfully, but these errors were encountered: