Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile eigensumsqdyn-notmp.cpp with Eigen 3.4.0 #1800

Open
GregTheMadMonk opened this issue Mar 21, 2024 · 0 comments
Open

Can't compile eigensumsqdyn-notmp.cpp with Eigen 3.4.0 #1800

GregTheMadMonk opened this issue Mar 21, 2024 · 0 comments

Comments

@GregTheMadMonk
Copy link
Contributor

Hello!

I'm trying to get into Enzyme and use it with Eigen (and potentially some other libraries in the future, but that's not important). To understand what's going on, I tried to build https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/Integration/ReverseMode/eigensumsqdyn-notmp.cpp myself, but it fails. I discovered that the line that causes the problem is line 43:

If I replace diff * diff with just diff here, it works. Storing the result of diff * diff in an intermediate variable doesn't fix the issue.

Did some new releases of Eigen maybe introduce something that Enzyme can't process? Maybe some compile definitions are needed?

P.S. Also, current git version of Eigen doesn't work with Enzyme even on the modified example that works with 3.4.0

Error output for the issue is in the attached text file
enzyme_error.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant