-
Notifications
You must be signed in to change notification settings - Fork 51
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
Revert Enzyme hack #620
Comments
Not fully up to speed here, but my hope is #582 will help with these situations. For C++ we solve this by using Enzyme as a plugin, via a magic function, instead of using it as a frontend driver, So the Idea would be to write:
Instead of #599, but then schedule a custom pass that recognizes |
What about a ScopedValue allowing a third-party app to customize the GPUCompiler pipeline? We could do something like LLVM, with different extension points that allow Enzyme to insert passes where needed. |
That would be wicked, but currently
And so we never enter on the CPU an Enzyme scope. |
#619
The text was updated successfully, but these errors were encountered: