Skip to content

[AutoDiff] Generalize handling of semantic result parameters #67230

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
merged 5 commits into from
Aug 3, 2023

Conversation

asl
Copy link
Contributor

@asl asl commented Jul 11, 2023

Introduce "semantic result parameters" abstraction and treat inouts via this abstraction only.
Do not consider non-wrt semantic result parameters as semantic results

Fixes #67174

@asl asl requested a review from rxwei July 11, 2023 21:09
@asl asl requested review from hborla, slavapestov and xedin as code owners July 11, 2023 21:09
@asl
Copy link
Contributor Author

asl commented Jul 11, 2023

@swift-ci please test

@asl
Copy link
Contributor Author

asl commented Jul 26, 2023

@rxwei gentle ping :)

@xedin xedin removed their request for review July 31, 2023 17:32
@asl asl force-pushed the diff-sem-results branch from 47f88f6 to 927947c Compare July 31, 2023 20:22
@asl
Copy link
Contributor Author

asl commented Jul 31, 2023

@rxwei I renamed the methods outside of autodiff code. Also added 2 related commits from WIP class differentiation branch that are relevant for semantic result parameters. PTAL

Thanks!

@asl asl requested a review from rxwei July 31, 2023 20:24
@asl
Copy link
Contributor Author

asl commented Aug 1, 2023

@swift-ci please test

@asl asl merged commit 03334a8 into main Aug 3, 2023
@asl asl deleted the diff-sem-results branch August 3, 2023 16:33
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.

Refine the implicit wrt logic for @differentiable attribute
2 participants