Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Implement basic leak checker in validation layer #264

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
Jan 24, 2025

Conversation

igchor
Copy link
Member

@igchor igchor commented Jan 22, 2025

It is based on the ZeCallCount from UR. There are 2 main reasons for moving the leak checker to level-zero:

  1. Some calls to L0 are done through UMF (not by UR directly) which means those calls would not be checked.
  2. If an application using UR calls L0 directly, those calls will also not be checked. This happens for example in SYCL tests, where special cases need to be made for direct L0 calls.

It is based on the ZeCallCount from UR. There are 2 main reasons
for moving the leak checker to level-zero:
1. Some calls to L0 are done through UMF (not by UR directly) which
   means those calls would not be checked.
2. If an application using UR calls L0 directly, those calls will
   also not be checked. This happens for example in SYCL tests,
   where special cases need to be made for direct L0 calls.

Signed-off-by: Igor Chorazewicz <[email protected]>
@nrspruit nrspruit merged commit 1c0320b into oneapi-src:master Jan 24, 2025
26 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.

2 participants