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

extend LeakChecking to track SVM and USM allocations #388

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

bashbaug
Copy link
Contributor

Description of Changes

Extends LeakChecking to track SVM and USM allocations in addition to OpenCL objects.

The handling for SVM and USM allocations is a little different than the handling of OpenCL objects because you explicitly allocate and free them vs. allocating (creating) and releasing them, and there is no way to "retain" them. Therefore, pointers are handled specifically, different from OpenCL objects.

Testing Done

Tested with SVM and USM sample applications.

@bashbaug bashbaug merged commit 39cb7dc into intel:main Oct 30, 2024
7 checks passed
@bashbaug bashbaug deleted the usm-leak-checking branch October 30, 2024 23:46
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