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

[WIP][QNN EP] Simplify QnnBackendManager resource management #23451

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

edgchen1
Copy link
Contributor

Description

Simplify QnnBackendManager resource management by using RAII to manage freeing of the QNN resources.
The QNN handles are void* so we can use std::unique_ptrs with custom deleters to manage them.

Motivation and Context

Free resources more reliably and simplify the code.

@edgchen1 edgchen1 changed the title [QNN EP] Simplify QnnBackendManager resource management [WIP][QNN EP] Simplify QnnBackendManager resource management Jan 22, 2025
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