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

Add allocation benchmarks on StaticArrays #580

Closed
wants to merge 7 commits into from
Closed

Conversation

gdalle
Copy link
Member

@gdalle gdalle commented Oct 15, 2024

DI extensions

  • ForwardDiff: Don't reuse preallocated vector of Duals in pushforward for out-of-place functions

Warning

This would cause loss of performance in other cases. The right solution would be to distinguish based on whether or not x allows setindex, but I don't want ArrayInterface.jl as a dependency.

DI tests

  • ForwardDiff: Start testing absence of allocations on static scenarios

@gdalle gdalle marked this pull request as draft October 15, 2024 15:09
@gdalle gdalle changed the base branch from main to gd/static October 15, 2024 15:14
@gdalle gdalle added the skipci Don't run CI tests and docs label Oct 15, 2024
Base automatically changed from gd/static to main October 16, 2024 07:29
@gdalle
Copy link
Member Author

gdalle commented Nov 6, 2024

Closing because outdated, follow up in #616

@gdalle gdalle closed this Nov 6, 2024
@gdalle gdalle deleted the gd/static_test branch November 6, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skipci Don't run CI tests and docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant