Skip to content

fix a leak in enzyme AD code with stack memory - #239

Merged
ebchin merged 7 commits into
developfrom
bugfix/ebchin/enzyme-leak
Aug 21, 2026
Merged

fix a leak in enzyme AD code with stack memory#239
ebchin merged 7 commits into
developfrom
bugfix/ebchin/enzyme-leak

Conversation

@ebchin

@ebchin ebchin commented Aug 20, 2026

Copy link
Copy Markdown
Member
  • Workaround for leak in Enzyme reverse mode tape when variable is in stack memory

@ebchin
ebchin requested a review from srwopschall August 20, 2026 22:35
@ebchin ebchin self-assigned this Aug 20, 2026

@srwopschall srwopschall left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some naming comments and adding doxygen especially when clarifying what the input args are.

Comment thread src/tribol/physics/EnergyMortar.cpp Outdated
Comment thread src/tribol/physics/EnergyMortar.cpp Outdated
Comment thread src/tribol/physics/EnergyMortar.cpp Outdated
Comment thread src/tribol/physics/EnergyMortar.cpp Outdated
Comment thread src/tribol/physics/EnergyMortar.cpp Outdated
Comment thread src/tribol/physics/EnergyMortar.cpp
@ebchin
ebchin merged commit 91cf380 into develop Aug 21, 2026
14 checks passed
@ebchin
ebchin deleted the bugfix/ebchin/enzyme-leak branch August 21, 2026 21:31
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.

2 participants