Skip to content

Fix umfPoolDestroy to destroy providers in the right order #794

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

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

vinser52
Copy link
Contributor

@vinser52 vinser52 commented Oct 13, 2024

Description

Our current implementation of the umfPoolDestroy destroys tracking and the upstream memory providers in the wrong order. The tracking memory provider is a wrapper on top of the upstream memory provider and as a result the trackingFinalize function might use upstream memory provider. I found this issue while working on the #736.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@vinser52 vinser52 requested a review from a team as a code owner October 13, 2024 00:13
@bratpiorka bratpiorka requested a review from ldorau October 14, 2024 09:09
@ldorau ldorau merged commit d6470fc into oneapi-src:main Oct 14, 2024
72 checks passed
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.

3 participants