Skip to content
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

What is the use of DuplicatedNoNeed now that ReturnPrimal is in the mode? #1892

Closed
gdalle opened this issue Sep 26, 2024 · 3 comments
Closed

Comments

@gdalle
Copy link
Contributor

gdalle commented Sep 26, 2024

Is it just redundant information? If so, which one takes precedence?

@wsmoses
Copy link
Member

wsmoses commented Sep 27, 2024

See docs https://enzyme.mit.edu/julia/stable/api/#EnzymeCore.DuplicatedNoNeed it now exclusively is for arguments.

@wsmoses wsmoses closed this as completed Sep 27, 2024
@gdalle
Copy link
Contributor Author

gdalle commented Sep 27, 2024

Thanks for the pointer but the docstring is still unclear to me. What would be the purpose of a variable to which we write but from which we never read again?

@wsmoses
Copy link
Member

wsmoses commented Sep 27, 2024

this help? #1904

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

No branches or pull requests

2 participants