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

feat: bump jll version and add opt pass #400

Merged
merged 3 commits into from
Dec 19, 2024
Merged

feat: bump jll version and add opt pass #400

merged 3 commits into from
Dec 19, 2024

Conversation

avik-pal
Copy link
Collaborator

No description provided.

@avik-pal
Copy link
Collaborator Author

@wsmoses
Copy link
Member

wsmoses commented Dec 19, 2024

Oh excellent. Yeah I added a better error message for us accidentally segfaulting sometimes due to asking enzyme to return the wrong number of args from an autodiff call

@@ -283,7 +283,7 @@ function overload_autodiff(
end
end
for (i, act) in enumerate(activity)
if act == enzyme_out || (reverse && (act == enzyme_dup || act == enzyme_dupnoneed))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not 100% sure if this is the right fix, but it fixes the tests

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think it is

@avik-pal avik-pal requested a review from wsmoses December 19, 2024 05:59
@wsmoses wsmoses merged commit f0d93d1 into main Dec 19, 2024
39 checks passed
@wsmoses wsmoses deleted the ap/dyngather_opt branch December 19, 2024 17:32
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

Successfully merging this pull request may close these issues.

2 participants