Skip to content

Update the gradient algorithm to return the jacobian if the callable#1681

Closed
lsawade wants to merge 1 commit intodevelfrom
gradient-returns-point-jacobian
Closed

Update the gradient algorithm to return the jacobian if the callable#1681
lsawade wants to merge 1 commit intodevelfrom
gradient-returns-point-jacobian

Conversation

@lsawade
Copy link
Copy Markdown
Collaborator

@lsawade lsawade commented Mar 2, 2026

Description

Reopening, since performance is definitely improved by this. I isolated this changed. So, maybe the Jacobian is not kept in L1 Cache. Improvement is 3.8 to 3.6 seconds in fluid-solid-interface run.

Putting it here again for proper benchmarking.

Issue Number

-/-

Checklist

Please make sure to check developer documentation on specfem docs.

  • I ran the code through pre-commit to check style
  • THE DOCUMENTATION BUILDS WITHOUT WARNINGS/ERRORS
  • I have added labels to the PR (see right hand side of the PR page)
  • My code passes all the integration tests
  • I have added sufficient unittests to test my changes
  • I have added/updated documentation for the changes I am proposing
  • I have updated CMakeLists to ensure my code builds
  • My code builds across all platforms

@lsawade lsawade requested review from Rohit-Kakodkar and icui March 2, 2026 21:45
@lsawade
Copy link
Copy Markdown
Collaborator Author

lsawade commented Mar 5, 2026

Will be addressed differently: See #1710

@lsawade lsawade closed this Mar 5, 2026
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.

1 participant