Skip to content

Enable sim.data buffer donation - #110

Merged
ratheron merged 1 commit into
mainfrom
feat.donation
Sep 10, 2026
Merged

Enable sim.data buffer donation#110
ratheron merged 1 commit into
mainfrom
feat.donation

Conversation

@amacati

@amacati amacati commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

We currently alias buffers by accident during creation of the data objects for the sim. This does not matter using the default jit rules, but if we want to donate buffers to avoid copies, it will raise errors. This PR removes accidental aliasing from the data objects to enable XLA buffer donations.

@amacati amacati added the enhancement New feature or request label Sep 10, 2026
@ratheron
ratheron merged commit af22178 into main Sep 10, 2026
6 checks passed
@ratheron
ratheron deleted the feat.donation branch September 10, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants