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

Externally-managed memory lifetime #1294

Merged
merged 4 commits into from Jul 4, 2023
Merged

Externally-managed memory lifetime #1294

merged 4 commits into from Jul 4, 2023

Conversation

tbennun
Copy link
Collaborator

@tbennun tbennun commented Jul 4, 2023

This PR is important for interoperability with other frameworks, whose memory management is external. It provides an allocation lifetime and generates two functions to get required sizes and set pointers externally.

@tbennun tbennun requested a review from acalotoiu July 4, 2023 07:06
Copy link
Contributor

Choose a reason for hiding this comment

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

This requires more explanation IMO.

Copy link
Contributor

@acalotoiu acalotoiu left a comment

Choose a reason for hiding this comment

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

LGTM, only one small instance where more explanation is necessary. Can be merged directly after adding it.

@tbennun tbennun merged commit 36cb24e into master Jul 4, 2023
9 checks passed
@tbennun tbennun deleted the external-mem branch July 4, 2023 21:10
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.

None yet

2 participants