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

add tracing for cl_intel_create_buffer_with_properties #365

Merged

Conversation

bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Jun 7, 2024

Description of Changes

Add tracing for clCreateBufferWithPropertiesINTEL, which is part of cl_intel_create_buffer_with_properties.

Most applications should be using the core clCreateBufferWithProperties instead, but some applications are still using the Intel extension, so we may as well trace it also.

Testing Done

Tested with an application that calls clCreateBufferWithPropertiesINTEL. Without these changes, LeakChecking was reported unexpected counts, because the extra allocations were not being traced even though the calls to clReleaseMemObject were. With this change the calls to clCreateBufferWithPropertiesINTEL are properly traced and LeakChecking works, as expected.

@bashbaug bashbaug merged commit ffc213a into intel:main Jun 7, 2024
7 checks passed
@bashbaug bashbaug deleted the cl_intel_create_buffer_with_properties branch June 7, 2024 22:01
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