Skip to content

[AutoDiff] Generate transparent ossa reabstraction thunks. #33854

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

Merged

Conversation

dan-zheng
Copy link
Contributor

Make the differentiation transform generate transparent, ossa
reabstraction thunks.

This enables these thunks to be inlined into other ossa functions (e.g.
generated VJP and pullback functions) during mandatory inlining.

Resolves TF-989.
Unblocks further autodiff-related optimizations: SR-13390.

Make the differentiation transform generate transparent, ossa
reabstraction thunks.

This enables these thunks to be inlined into other ossa functions (e.g.
generated VJP and pullback functions) during mandatory inlining.

Resolves TF-989.
Unblocks further autodiff-related optimizations: SR-13390.
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test

@dan-zheng
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Sep 8, 2020

Build failed
Swift Test Linux Platform
Git Sha - 5a20a8c

@swift-ci
Copy link
Contributor

swift-ci commented Sep 8, 2020

Build failed
Swift Test OS X Platform
Git Sha - 5a20a8c

@dan-zheng
Copy link
Contributor Author

@swift-ci Please test macOS

@swift-ci
Copy link
Contributor

swift-ci commented Sep 8, 2020

Build failed
Swift Test OS X Platform
Git Sha - 5c96b12

@dan-zheng
Copy link
Contributor Author

macOS CI flaked again.
@swift-ci Please test macOS

@dan-zheng dan-zheng merged commit 14e6338 into swiftlang:master Sep 9, 2020
@dan-zheng dan-zheng deleted the autodiff-ossa-reabstraction-thunks branch September 9, 2020 01:04
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.

3 participants