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

Enzyme >= 0.12 compatibility #169

Merged
merged 5 commits into from
Oct 9, 2024
Merged

Enzyme >= 0.12 compatibility #169

merged 5 commits into from
Oct 9, 2024

Conversation

aelligp
Copy link
Contributor

@aelligp aelligp commented Oct 9, 2024

With Enzyme v0.12 a few changes have been made to autodiff which are partly exposed to ParallelStencil. In this PR we wrap the necessary args to Const, add the necessary arg that checks if there is a returned value (in the test case there is Nothing -> Const).

Co-authored by Valentin Churavy during the Hackathon

@aelligp aelligp mentioned this pull request Oct 9, 2024
@omlins
Copy link
Owner

omlins commented Oct 9, 2024

Thanks for the PR! Indeed, the CI for another reason: JuliaGPU/AMDGPU.jl#685
I will merge and therefore anyways.

@omlins omlins merged commit 489252e into omlins:main Oct 9, 2024
2 of 4 checks passed
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