Commit Graph

3 Commits

Author SHA1 Message Date
Alex Lorenz
0f9a69c712 android test fixes 2024-05-28 12:59:26 -07:00
Kshitij
993f7c3ed9 [Autodiff] Fixes breaking VJP and pullback inlining tests on Linux
The inlining benefit for VJPs and pullbacks seems to be a bit different on
macos and linux. This difference seems to be arising due to certain
function calls such as, `sin`, `cos` etc. always being inlined on macos
but not on linux.

Until I figure out a better way, I'm modifying these tests to avoid matching
the exact value of the inlining benefit, which causes them to fail on
Linux.
2024-05-21 16:05:17 -07:00
Kshitij
12faf79911 [Autodiff] Adds logic to rewrite call-sites using functions specialized by the closure-spec optimization 2024-05-21 12:02:28 -07:00