Skip to content

[AutoDiff] Mark SILGen derivative function thunks as "always inline". #27754

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

SILGen derivative function thunks must be publicly exposed and cannot be
[transparent]. Instead, mark them as "always inline" for optimization.

Resolves TF-925.


Depends on #27752; rebase after it is merged.

@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Oct 17, 2019
@dan-zheng dan-zheng requested a review from rxwei October 17, 2019 10:38
@dan-zheng dan-zheng force-pushed the autodiff-thunk-always-inline branch from 4c1cb80 to 175745b Compare October 17, 2019 10:39
@dan-zheng dan-zheng force-pushed the autodiff-thunk-always-inline branch from 175745b to 0e7f03f Compare October 17, 2019 17:10
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

SILGen derivative function thunks must be publicly exposed and cannot be
`[transparent]`. Instead, mark them as "always inline" for optimization.
@dan-zheng dan-zheng force-pushed the autodiff-thunk-always-inline branch from 5084eaa to a6b9730 Compare October 17, 2019 21:02
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng dan-zheng merged commit 0848df8 into swiftlang:tensorflow Oct 20, 2019
@dan-zheng dan-zheng deleted the autodiff-thunk-always-inline branch October 20, 2019 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants