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
Auto merge of rust-lang#136428 - EnzymeAD:enable-autodiff, r=<try>
test building enzyme in CI
1) This PR fixes a significant compile-time regression, by only running the expensive autodiff pipeline, if the users pass the newly introduced Enable value to the `-Zautodiff=` flag. It updates the test(s) accordingly. It gives a nice error if users forget that.
2) It fixes macos support by explicitly linking against the Enzyme build folder. This doesn't cover CI macos yet.
3) After the next enzyme rebase it will also fix the issue that setting ENZYME_RUNPASS was ignored by enzyme and in fact did not schedule enzyme's opt pass.
4) It also re-enables support for various other values for the autodiff flag, which were ignored since the refactor.
TODO: Verify that the ENZYME_RUNPASS variable does what it should (we got a unused warning from CMAKE).
~Done: Fix some of the flags to make sure they do what they promise.~
~Done: Make sure that ad user make use of the Enable flag~
try-job: x86_64-gnu
r? `@oli-obk`
Tracking:
- rust-lang#124509
0 commit comments